hswong3i/kubespray#3: Use {{ cluster_name }} for valid FQDN in REGISTRY_HOST

This commit is contained in:
Keyvan Hedayati 2018-02-18 11:16:03 +03:30 committed by Wong Hoi Sing Edison
parent f8ebd08e75
commit b0d7115e9b

View file

@ -27,7 +27,7 @@ spec:
imagePullPolicy: {{ k8s_image_pull_policy }} imagePullPolicy: {{ k8s_image_pull_policy }}
env: env:
- name: REGISTRY_HOST - name: REGISTRY_HOST
value: registry.{{ registry_namespace }}.svc.cluster.local value: registry.{{ registry_namespace }}.svc.{{ cluster_name }}
- name: REGISTRY_PORT - name: REGISTRY_PORT
value: "5000" value: "5000"
ports: ports: