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
This commit is contained in:
committed by
k8s-ci-robot
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:
|
`users` refers to the API server webhook. An example would be:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
# Kubernetes API version
|
||||||
|
apiVersion: v1
|
||||||
|
# kind of the API object
|
||||||
|
kind: Config
|
||||||
# clusters refers to the remote service.
|
# clusters refers to the remote service.
|
||||||
clusters:
|
clusters:
|
||||||
- name: name-of-remote-authn-service
|
- 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:
|
A configuration example which uses HTTPS client auth:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
# Kubernetes API version
|
||||||
|
apiVersion: v1
|
||||||
|
# kind of the API object
|
||||||
|
kind: Config
|
||||||
# clusters refers to the remote service.
|
# clusters refers to the remote service.
|
||||||
clusters:
|
clusters:
|
||||||
- name: name-of-remote-authz-service
|
- name: name-of-remote-authz-service
|
||||||
|
|||||||
Reference in New Issue
Block a user