mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-07 09:27:38 -02:30
Adds support for webhook token auth. (#3939)
Webhook token auth: https://kubernetes.io/docs/reference/access-authn-authz/authentication/#webhook-token-authentication Fixes #3063.
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
100d972cea
commit
16715adfa0
@@ -7,6 +7,12 @@
|
||||
when:
|
||||
- kube_basic_auth|default(true)
|
||||
|
||||
- name: Create webhook token auth config
|
||||
template:
|
||||
src: webhook-token-auth-config.yaml.j2
|
||||
dest: "{{ kube_config_dir }}/webhook-token-auth-config.yaml"
|
||||
when: kube_webhook_token_auth|default(false)
|
||||
|
||||
- import_tasks: encrypt-at-rest.yml
|
||||
when:
|
||||
- kube_encrypt_secret_data
|
||||
|
||||
Reference in New Issue
Block a user