quote values for kube_oidc_groups_prefix and kube_oidc_username_prefix values to accept colon, e.g oidc: (#4305)

This will fix error: error converting YAML to JSON: yaml: line 36: mapping values are not allowed in this context

Signed-off-by: Abdulaziz AlMalki <almalki.a@gmail.com>
This commit is contained in:
Abdulaziz AlMalki 2019-04-09 15:23:06 +03:00 committed by Kubernetes Prow Robot
parent a4e65c7ceb
commit 7cdf1fd388
4 changed files with 8 additions and 8 deletions

View file

@ -99,10 +99,10 @@ apiServerExtraArgs:
oidc-groups-claim: {{ kube_oidc_groups_claim }} oidc-groups-claim: {{ kube_oidc_groups_claim }}
{% endif %} {% endif %}
{% if kube_oidc_username_prefix is defined %} {% if kube_oidc_username_prefix is defined %}
oidc-username-prefix: {{ kube_oidc_username_prefix }} oidc-username-prefix: "{{ kube_oidc_username_prefix }}"
{% endif %} {% endif %}
{% if kube_oidc_groups_prefix is defined %} {% if kube_oidc_groups_prefix is defined %}
oidc-groups-prefix: {{ kube_oidc_groups_prefix }} oidc-groups-prefix: "{{ kube_oidc_groups_prefix }}"
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if kube_webhook_token_auth|default(false) %} {% if kube_webhook_token_auth|default(false) %}

View file

@ -84,10 +84,10 @@ apiServerExtraArgs:
oidc-groups-claim: {{ kube_oidc_groups_claim }} oidc-groups-claim: {{ kube_oidc_groups_claim }}
{% endif %} {% endif %}
{% if kube_oidc_username_prefix is defined %} {% if kube_oidc_username_prefix is defined %}
oidc-username-prefix: {{ kube_oidc_username_prefix }} oidc-username-prefix: "{{ kube_oidc_username_prefix }}"
{% endif %} {% endif %}
{% if kube_oidc_groups_prefix is defined %} {% if kube_oidc_groups_prefix is defined %}
oidc-groups-prefix: {{ kube_oidc_groups_prefix }} oidc-groups-prefix: "{{ kube_oidc_groups_prefix }}"
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if kube_webhook_token_auth|default(false) %} {% if kube_webhook_token_auth|default(false) %}

View file

@ -94,10 +94,10 @@ apiServerExtraArgs:
oidc-groups-claim: {{ kube_oidc_groups_claim }} oidc-groups-claim: {{ kube_oidc_groups_claim }}
{% endif %} {% endif %}
{% if kube_oidc_username_prefix is defined %} {% if kube_oidc_username_prefix is defined %}
oidc-username-prefix: {{ kube_oidc_username_prefix }} oidc-username-prefix: "{{ kube_oidc_username_prefix }}"
{% endif %} {% endif %}
{% if kube_oidc_groups_prefix is defined %} {% if kube_oidc_groups_prefix is defined %}
oidc-groups-prefix: {{ kube_oidc_groups_prefix }} oidc-groups-prefix: "{{ kube_oidc_groups_prefix }}"
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if kube_webhook_token_auth|default(false) %} {% if kube_webhook_token_auth|default(false) %}

View file

@ -91,10 +91,10 @@ apiServer:
oidc-groups-claim: {{ kube_oidc_groups_claim }} oidc-groups-claim: {{ kube_oidc_groups_claim }}
{% endif %} {% endif %}
{% if kube_oidc_username_prefix is defined %} {% if kube_oidc_username_prefix is defined %}
oidc-username-prefix: {{ kube_oidc_username_prefix }} oidc-username-prefix: "{{ kube_oidc_username_prefix }}"
{% endif %} {% endif %}
{% if kube_oidc_groups_prefix is defined %} {% if kube_oidc_groups_prefix is defined %}
oidc-groups-prefix: {{ kube_oidc_groups_prefix }} oidc-groups-prefix: "{{ kube_oidc_groups_prefix }}"
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if kube_webhook_token_auth|default(false) %} {% if kube_webhook_token_auth|default(false) %}