Remove runtime-config from kubeadm if empty (#6311)
This commit is contained in:
parent
16ec5939c2
commit
2a82dff3ae
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue