Skip to content
Snippets Groups Projects
Unverified Commit 2a82dff3 authored by Florian Ruynat's avatar Florian Ruynat Committed by GitHub
Browse files

Remove runtime-config from kubeadm if empty (#6311)

parent 16ec5939
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,7 @@ apiServer:
encryption-provider-config: {{ kube_cert_dir }}/secrets_encryption.yaml
{% endif %}
storage-backend: {{ kube_apiserver_storage_backend }}
{% if kube_api_runtime_config is defined %}
{% if kube_api_runtime_config|length > 0 %}
runtime-config: {{ kube_api_runtime_config | join(',') }}
{% endif %}
allow-privileged: "true"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment