Added api version in authn and authz example. (#9696)

* Added api version in authn and authz example.

* Fixed comment

* Feedback from neolit123

* Feedback from neolit123
pull/10453/head
Nilekh Chaudhari 2018-10-01 15:59:15 -07:00 committed by k8s-ci-robot
parent 4c2b56625c
commit 8c60d4517e
2 changed files with 8 additions and 0 deletions

View File

@ -408,6 +408,10 @@ file format. Within the file, `clusters` refers to the remote service and
`users` refers to the API server webhook. An example would be:
```yaml
# Kubernetes API version
apiVersion: v1
# kind of the API object
kind: Config
# clusters refers to the remote service.
clusters:
- name: name-of-remote-authn-service

View File

@ -29,6 +29,10 @@ file format. Within the file "users" refers to the API Server webhook and
A configuration example which uses HTTPS client auth:
```yaml
# Kubernetes API version
apiVersion: v1
# kind of the API object
kind: Config
# clusters refers to the remote service.
clusters:
- name: name-of-remote-authz-service