c12s-kubespray/roles/kubernetes/master/templates/webhook-token-auth-config.yaml.j2

19 lines
550 B
Text
Raw Normal View History

# clusters refers to the remote service.
clusters:
- name: webhook-token-auth-cluster
cluster:
server: {{ kube_webhook_token_auth_url }}
insecure-skip-tls-verify: {{ kube_webhook_token_auth_url_skip_tls_verify }}
# users refers to the API server's webhook configuration.
users:
- name: webhook-token-auth-user
# kubeconfig files require a context. Provide one for the API server.
current-context: webhook-token-auth
contexts:
- context:
cluster: webhook-token-auth-cluster
user: webhook-token-auth-user
2020-06-29 19:39:59 +00:00
name: webhook-token-auth