Adding new registry_port option (#5779)

New override are added to allow installation of the registry
on different ports than ``5000``. The default port is unchanged
from previous versions
This commit is contained in:
Bjoern Teipel
2020-03-17 07:52:22 -05:00
committed by GitHub
parent 3cefd60c37
commit 820d8e6ce6
5 changed files with 8 additions and 7 deletions

View File

@@ -31,8 +31,8 @@ spec:
- name: REGISTRY_HOST
value: registry.{{ registry_namespace }}.svc.{{ cluster_name }}
- name: REGISTRY_PORT
value: "5000"
value: "{{ registry_port }}"
ports:
- name: registry
containerPort: 80
hostPort: 5000
hostPort: {{ registry_port }}