kube_override_hostname must be in kubernetes/master role defaults (#3647)

This commit is contained in:
Erwan Miran 2018-11-07 21:38:19 +01:00 committed by k8s-ci-robot
parent 1ad1e80ae3
commit 1e22c83f0f

View file

@ -137,3 +137,10 @@ kube_encryption_algorithm: "aescbc"
# You may want to use ca.pem depending on your situation # You may want to use ca.pem depending on your situation
kube_front_proxy_ca: "front-proxy-ca.pem" kube_front_proxy_ca: "front-proxy-ca.pem"
# If non-empty, will use this string as identification instead of the actual hostname
kube_override_hostname: >-
{%- if cloud_provider is defined and cloud_provider in [ 'aws' ] -%}
{%- else -%}
{{ inventory_hostname }}
{%- endif -%}