Skip to content

Commit

Permalink
split mage registry and repository
Browse files Browse the repository at this point in the history
  • Loading branch information
kofemann committed Oct 1, 2024
1 parent 1f255e6 commit 9c02c4f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/door.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
spec:
containers:
- name: dcache-door
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: ["/run.sh", "door-svc" ]
{{- if .Values.readinessProbe.enabled}}
Expand Down
2 changes: 1 addition & 1 deletion templates/pool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
fsGroup: 1000
containers:
- name: pool
image: "{{ $.Values.image.repository }}:{{ $.Values.image.tag | default $.Chart.AppVersion }}"
image: "{{ $.Values.image.registry }}/{{ $.Values.image.repository }}:{{ $.Values.image.tag | default $.Chart.AppVersion }}"
imagePullPolicy: {{ $.Values.image.pullPolicy }}
command: ["/run.sh", "pool-{{ . }}-svc"]
{{- if $.Values.readinessProbe.enabled}}
Expand Down
3 changes: 2 additions & 1 deletion values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

image:
repository: gitlab.desy.de:5555/dcache/dcache
registry: gitlab.desy.de:5555
repository: dcache/dcache
tag: ""
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand Down

0 comments on commit 9c02c4f

Please sign in to comment.