You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
562 B

  1. # clusters refers to the remote service.
  2. clusters:
  3. - name: webhook-token-authz-cluster
  4. cluster:
  5. server: {{ kube_webhook_authorization_url }}
  6. insecure-skip-tls-verify: {{ kube_webhook_authorization_url_skip_tls_verify }}
  7. # users refers to the API server's webhook configuration.
  8. users:
  9. - name: webhook-token-authz-user
  10. # kubeconfig files require a context. Provide one for the API server.
  11. current-context: webhook-token-authz
  12. contexts:
  13. - context:
  14. cluster: webhook-token-authz-cluster
  15. user: webhook-token-authz-user
  16. name: webhook-token-authz