Browse Source

Allows tls verify skip on webhook auth url (#6472)

pull/6503/head
Sulochan Acharya 4 years ago
committed by GitHub
parent
commit
bfe143808f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions
  1. 1
      roles/kubernetes/master/defaults/main/main.yml
  2. 1
      roles/kubernetes/master/templates/webhook-token-auth-config.yaml.j2

1
roles/kubernetes/master/defaults/main/main.yml

@ -119,6 +119,7 @@ kube_basic_auth: false
kube_token_auth: false
kube_oidc_auth: false
kube_webhook_token_auth: false
kube_webhook_token_auth_url_skip_tls_verify: false
## Variables for OpenID Connect Configuration https://kubernetes.io/docs/admin/authentication/
## To use OpenID you have to deploy additional an OpenID Provider (e.g Dex, Keycloak, ...)

1
roles/kubernetes/master/templates/webhook-token-auth-config.yaml.j2

@ -3,6 +3,7 @@ clusters:
- name: webhook-token-auth-cluster
cluster:
server: {{ kube_webhook_token_auth_url }}
insecure-skip-tls-verify: {{ kube_webhook_token_auth_url_skip_tls_verify }}
# users refers to the API server's webhook configuration.
users:

Loading…
Cancel
Save