Browse Source

update oidc to contain quotes (#5406)

pull/5407/head
Hugo Blom 5 years ago
committed by Kubernetes Prow Robot
parent
commit
f7aea8ed89
1 changed files with 5 additions and 5 deletions
  1. 10
      roles/kubernetes/master/templates/kubeadm-config.v1beta2.yaml.j2

10
roles/kubernetes/master/templates/kubeadm-config.v1beta2.yaml.j2

@ -128,16 +128,16 @@ apiServer:
token-auth-file: {{ kube_token_dir }}/known_tokens.csv
{% endif %}
{% if kube_oidc_auth|default(false) and kube_oidc_url is defined and kube_oidc_client_id is defined %}
oidc-issuer-url: {{ kube_oidc_url }}
oidc-client-id: {{ kube_oidc_client_id }}
oidc-issuer-url: "{{ kube_oidc_url }}"
oidc-client-id: "{{ kube_oidc_client_id }}"
{% if kube_oidc_ca_file is defined %}
oidc-ca-file: {{ kube_oidc_ca_file }}
oidc-ca-file: "{{ kube_oidc_ca_file }}"
{% endif %}
{% if kube_oidc_username_claim is defined %}
oidc-username-claim: {{ kube_oidc_username_claim }}
oidc-username-claim: "{{ kube_oidc_username_claim }}"
{% endif %}
{% if kube_oidc_groups_claim is defined %}
oidc-groups-claim: {{ kube_oidc_groups_claim }}
oidc-groups-claim: "{{ kube_oidc_groups_claim }}"
{% endif %}
{% if kube_oidc_username_prefix is defined %}
oidc-username-prefix: "{{ kube_oidc_username_prefix }}"

Loading…
Cancel
Save