Skip to content

Commit

Permalink
Added api version in authn and authz example. (#9696)
Browse files Browse the repository at this point in the history
* Added api version in authn and authz example.

* Fixed comment

* Feedback from neolit123

* Feedback from neolit123
  • Loading branch information
nilekhc authored and k8s-ci-robot committed Oct 1, 2018
1 parent 4c2b566 commit 8c60d45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions content/en/docs/reference/access-authn-authz/webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8c60d45

Please sign in to comment.