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

@@ -30,14 +30,14 @@ spec:
imagePullPolicy: {{ k8s_image_pull_policy }}
env:
- name: REGISTRY_HTTP_ADDR
value: :5000
value: :{{ registry_port }}
- name: REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY
value: /var/lib/registry
volumeMounts:
- name: registry-pvc
mountPath: /var/lib/registry
ports:
- containerPort: 5000
- containerPort: {{ registry_port }}
name: registry
protocol: TCP
volumes: