Added api version in authn and authz example. (#9696)
* Added api version in authn and authz example. * Fixed comment * Feedback from neolit123 * Feedback from neolit123pull/10453/head
parent
4c2b56625c
commit
8c60d4517e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue