From 8c60d4517e93356498f665bcaffdfd065907126b Mon Sep 17 00:00:00 2001 From: Nilekh Chaudhari Date: Mon, 1 Oct 2018 15:59:15 -0700 Subject: [PATCH] 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 --- .../en/docs/reference/access-authn-authz/authentication.md | 4 ++++ content/en/docs/reference/access-authn-authz/webhook.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/content/en/docs/reference/access-authn-authz/authentication.md b/content/en/docs/reference/access-authn-authz/authentication.md index bfd4e2c273..9159b7c68d 100644 --- a/content/en/docs/reference/access-authn-authz/authentication.md +++ b/content/en/docs/reference/access-authn-authz/authentication.md @@ -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 diff --git a/content/en/docs/reference/access-authn-authz/webhook.md b/content/en/docs/reference/access-authn-authz/webhook.md index 3989baa724..e4945b1685 100644 --- a/content/en/docs/reference/access-authn-authz/webhook.md +++ b/content/en/docs/reference/access-authn-authz/webhook.md @@ -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