Skip to content

Commit

Permalink
Remove runtime-config from kubeadm if empty (#6311)
Browse files Browse the repository at this point in the history
  • Loading branch information
floryut authored Jun 30, 2020
1 parent 16ec593 commit 2a82dff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2a82dff

Please sign in to comment.