Merge pull request #45 from BenTheElder/localhost-workaround

add nsswitch work around
This commit is contained in:
k8s-ci-robot
2018-09-27 22:55:41 -07:00
committed by GitHub

View File

@@ -61,6 +61,15 @@ clusterName: {{.ClusterName}}
# to the cluster after rewriting the kubeconfig to point to localhost
apiServerCertSANs: [localhost]
kubernetesVersion: {{.KubernetesVersion}}
# TODO(bentheelder): fix this upstream!
# we need nsswitch.conf so we use /etc/hosts
# https://github.com/kubernetes/kubernetes/issues/69195
apiServerExtraVolumes:
- name: nsswitch
mountPath: /etc/nsswitch.conf
hostPath: /etc/nsswitch.conf
writeable: false
pathType: FileOrCreate
{{if ne .UnifiedControlPlaneImage ""}}
# optionally specify a unified control plane image
unifiedControlPlaneImage: {{.UnifiedControlPlaneImage}}:{{.DockerStableTag}}