Allow webhook authorization (#6502)

This commit is contained in:
Sulochan Acharya
2020-08-24 14:29:41 +01:00
committed by GitHub
parent 0c80d3d9fa
commit 36924b63dc
5 changed files with 48 additions and 3 deletions

View File

@@ -13,6 +13,12 @@
dest: "{{ kube_config_dir }}/webhook-token-auth-config.yaml"
when: kube_webhook_token_auth|default(false)
- name: Create webhook authorization config
template:
src: webhook-authorization-config.yaml.j2
dest: "{{ kube_config_dir }}/webhook-authorization-config.yaml"
when: kube_webhook_authorization|default(false)
- import_tasks: encrypt-at-rest.yml
when:
- kube_encrypt_secret_data