From dcf0360d8fcd14cfe905569c82d66854cdecb2d9 Mon Sep 17 00:00:00 2001 From: nhaveric Date: Fri, 7 Apr 2017 16:05:23 +0200 Subject: [PATCH] master: removing agressive jinja newline stripping --- .../master/templates/manifests/kube-apiserver.manifest.j2 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 b/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 index e8cd82508..37fd3657c 100644 --- a/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 +++ b/roles/kubernetes/master/templates/manifests/kube-apiserver.manifest.j2 @@ -59,16 +59,14 @@ spec: - --oidc-groups-claim={{ kube_oidc_groups_claim }} {% endif %} {% endif %} +{% if authorization_mode is defined %} + - --authorization-mode={{ authorization_mode }} +{% endif %} - --secure-port={{ kube_apiserver_port }} - --storage-backend={{ kube_apiserver_storage_backend }} {% if kube_api_insecure %} - --insecure-port={{ kube_apiserver_insecure_port }} {% endif %} -{% if kube_api_custum_config is defined %} -{% for conf in kube_api_custom_config %} - - {{ conf }} -{% endfor %} -{% endif %} {% if kube_api_runtime_config is defined %} {% for conf in kube_api_runtime_config %} - --runtime-config={{ conf }}