18 lines
562 B
Django/Jinja
18 lines
562 B
Django/Jinja
# clusters refers to the remote service.
|
|
clusters:
|
|
- name: webhook-token-authz-cluster
|
|
cluster:
|
|
server: {{ kube_webhook_authorization_url }}
|
|
insecure-skip-tls-verify: {{ kube_webhook_authorization_url_skip_tls_verify }}
|
|
|
|
# users refers to the API server's webhook configuration.
|
|
users:
|
|
- name: webhook-token-authz-user
|
|
|
|
# kubeconfig files require a context. Provide one for the API server.
|
|
current-context: webhook-token-authz
|
|
contexts:
|
|
- context:
|
|
cluster: webhook-token-authz-cluster
|
|
user: webhook-token-authz-user
|
|
name: webhook-token-authz
|