diff --git a/templates/door.yaml b/templates/door.yaml index 6772a25..51475bd 100644 --- a/templates/door.yaml +++ b/templates/door.yaml @@ -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}} diff --git a/templates/pool.yaml b/templates/pool.yaml index f548dfe..d0d4b93 100644 --- a/templates/pool.yaml +++ b/templates/pool.yaml @@ -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}} diff --git a/values.yaml b/values.yaml index 6d19d9c..b804300 100644 --- a/values.yaml +++ b/values.yaml @@ -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'