Skip to content

Commit 9c02c4f

Browse files
committed
split mage registry and repository
1 parent 1f255e6 commit 9c02c4f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

templates/door.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
spec:
2020
containers:
2121
- name: dcache-door
22-
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
22+
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
2323
imagePullPolicy: {{ .Values.image.pullPolicy }}
2424
command: ["/run.sh", "door-svc" ]
2525
{{- if .Values.readinessProbe.enabled}}

templates/pool.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
fsGroup: 1000
2020
containers:
2121
- name: pool
22-
image: "{{ $.Values.image.repository }}:{{ $.Values.image.tag | default $.Chart.AppVersion }}"
22+
image: "{{ $.Values.image.registry }}/{{ $.Values.image.repository }}:{{ $.Values.image.tag | default $.Chart.AppVersion }}"
2323
imagePullPolicy: {{ $.Values.image.pullPolicy }}
2424
command: ["/run.sh", "pool-{{ . }}-svc"]
2525
{{- if $.Values.readinessProbe.enabled}}

values.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
image:
3-
repository: gitlab.desy.de:5555/dcache/dcache
3+
registry: gitlab.desy.de:5555
4+
repository: dcache/dcache
45
tag: ""
56
## Specify a imagePullPolicy
67
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'

0 commit comments

Comments
 (0)