mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-15 06:14:22 +03:00
hswong3i/kubespray#3: Use {{ cluster_name }} for valid FQDN in REGISTRY_HOST
This commit is contained in:
committed by
Wong Hoi Sing Edison
parent
f8ebd08e75
commit
b0d7115e9b
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user