Skip to content

Instantly share code, notes, and snippets.

@salrashid123
Last active March 31, 2018 20:57
Show Gist options
  • Save salrashid123/0e19336f4839a7a9809400c0d486fe1e to your computer and use it in GitHub Desktop.
Save salrashid123/0e19336f4839a7a9809400c0d486fe1e to your computer and use it in GitHub Desktop.
authn.yaml
clusters:
- name: my-authn-service
cluster:
certificate-authority: /var/lib/localkube/certs/webhook_ca.crt
server: https://1-dot-webhook-dot-YOUR_PROJECT.appspot.com/authenticate
users:
- name: my-api-server
user:
client-certificate: /var/lib/localkube/certs/webhook_plugin.crt
client-key: /var/lib/localkube/certs/webhook_plugin.key
current-context: webhook
contexts:
- context:
cluster: my-authn-service
user: my-api-sever
name: webhook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment