Refactor: var kube_override_hostname only reserve in kubespray-defaults
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>pull/11633/head
parent
437026f514
commit
c27cc33bd7
|
@ -140,11 +140,7 @@ kube_proxy_nodeport_addresses: >-
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
# If non-empty, will use this string as identification instead of the actual hostname
|
# If non-empty, will use this string as identification instead of the actual hostname
|
||||||
# kube_override_hostname: >-
|
# kube_override_hostname: {{ inventory_hostname }}
|
||||||
# {%- if cloud_provider is defined -%}
|
|
||||||
# {%- else -%}
|
|
||||||
# {{ inventory_hostname }}
|
|
||||||
# {%- endif -%}
|
|
||||||
|
|
||||||
## Encrypting Secret Data at Rest
|
## Encrypting Secret Data at Rest
|
||||||
kube_encrypt_secret_data: false
|
kube_encrypt_secret_data: false
|
||||||
|
|
|
@ -184,13 +184,6 @@ kube_encryption_algorithm: "secretbox"
|
||||||
# Which kubernetes resources to encrypt
|
# Which kubernetes resources to encrypt
|
||||||
kube_encryption_resources: [secrets]
|
kube_encryption_resources: [secrets]
|
||||||
|
|
||||||
# If non-empty, will use this string as identification instead of the actual hostname
|
|
||||||
kube_override_hostname: >-
|
|
||||||
{%- if cloud_provider is defined -%}
|
|
||||||
{%- else -%}
|
|
||||||
{{ inventory_hostname }}
|
|
||||||
{%- endif -%}
|
|
||||||
|
|
||||||
secrets_encryption_query: "resources[*].providers[0].{{ kube_encryption_algorithm }}.keys[0].secret"
|
secrets_encryption_query: "resources[*].providers[0].{{ kube_encryption_algorithm }}.keys[0].secret"
|
||||||
|
|
||||||
## Support tls min version, Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13.
|
## Support tls min version, Possible values: VersionTLS10, VersionTLS11, VersionTLS12, VersionTLS13.
|
||||||
|
|
|
@ -6,10 +6,3 @@ kubeadm_join_timeout: 120s
|
||||||
|
|
||||||
# Enable kubeadm file discovery if anonymous access has been removed
|
# Enable kubeadm file discovery if anonymous access has been removed
|
||||||
kubeadm_use_file_discovery: "{{ remove_anonymous_access }}"
|
kubeadm_use_file_discovery: "{{ remove_anonymous_access }}"
|
||||||
|
|
||||||
# If non-empty, will use this string as identification instead of the actual hostname
|
|
||||||
kube_override_hostname: >-
|
|
||||||
{%- if cloud_provider is defined -%}
|
|
||||||
{%- else -%}
|
|
||||||
{{ inventory_hostname }}
|
|
||||||
{%- endif -%}
|
|
||||||
|
|
|
@ -134,13 +134,6 @@ kubelet_logfiles_max_size: 10Mi
|
||||||
## Support custom flags to be passed to kubelet
|
## Support custom flags to be passed to kubelet
|
||||||
kubelet_custom_flags: []
|
kubelet_custom_flags: []
|
||||||
|
|
||||||
# If non-empty, will use this string as identification instead of the actual hostname
|
|
||||||
kube_override_hostname: >-
|
|
||||||
{%- if cloud_provider is defined -%}
|
|
||||||
{%- else -%}
|
|
||||||
{{ inventory_hostname }}
|
|
||||||
{%- endif -%}
|
|
||||||
|
|
||||||
# The read-only port for the Kubelet to serve on with no authentication/authorization.
|
# The read-only port for the Kubelet to serve on with no authentication/authorization.
|
||||||
kube_read_only_port: 0
|
kube_read_only_port: 0
|
||||||
|
|
||||||
|
|
|
@ -253,11 +253,7 @@ kube_apiserver_bind_address: 0.0.0.0
|
||||||
kube_apiserver_port: 6443
|
kube_apiserver_port: 6443
|
||||||
|
|
||||||
# If non-empty, will use this string as identification instead of the actual hostname
|
# If non-empty, will use this string as identification instead of the actual hostname
|
||||||
kube_override_hostname: >-
|
kube_override_hostname: "{{ inventory_hostname }}"
|
||||||
{%- if cloud_provider is defined -%}
|
|
||||||
{%- else -%}
|
|
||||||
{{ inventory_hostname }}
|
|
||||||
{%- endif -%}
|
|
||||||
|
|
||||||
# define kubelet config dir for dynamic kubelet
|
# define kubelet config dir for dynamic kubelet
|
||||||
# kubelet_config_dir:
|
# kubelet_config_dir:
|
||||||
|
|
Loading…
Reference in New Issue