Moves kubelet-preferred-address-types parameter out of

apiserver_custom_flags and defines a new parameter of the name.
This commit is contained in:
Ayaz Ahmed Khan 2017-07-27 12:51:17 +05:00
parent baf5d5a761
commit 54a6a29b75
2 changed files with 5 additions and 1 deletions

View file

@ -60,7 +60,10 @@ kube_oidc_auth: false
# kube_oidc_groups_claim: groups
##Variables for custom flags
apiserver_custom_flags: ['--kubelet-preferred-address-types=InternalDNS,InternalIP,Hostname,ExternalDNS,ExternalIP']
apiserver_custom_flags: []
# List of the preferred NodeAddressTypes to use for kubelet connections.
kubelet_preferred_address_types: 'InternalDNS,InternalIP,Hostname,ExternalDNS,ExternalIP'
controller_mgr_custom_flags: []

View file

@ -37,6 +37,7 @@ spec:
- --service-cluster-ip-range={{ kube_service_addresses }}
- --service-node-port-range={{ kube_apiserver_node_port_range }}
- --client-ca-file={{ kube_cert_dir }}/ca.pem
- --kubelet-preferred-address-types={{ kubelet_preferred_address_types }}
{% if kube_basic_auth|default(true) %}
- --basic-auth-file={{ kube_users_dir }}/known_users.csv
{% endif %}