Skip to content
Snippets Groups Projects

add publish image in values

Merged Pablo Vigo Mas requested to merge wip/pvigo/var-publish-image into collabora/staging
All threads resolved!
Files
2
@@ -39,8 +39,9 @@ spec:
{{- toYaml .Values.api.extraEnvVars | nindent 12 }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- $image_compat := .Values.image | default (dict "repository" "") }}
image: "{{ $image_compat.repository | default .Values.api.image.repository }}:{{ $image_compat.tag | default .Values.api.image.tag | default .Chart.AppVersion }}"
+5
imagePullPolicy: {{ .Values.api.image.pullPolicy }}
args:
- -config=/aptly/config/aptly.conf
{{- if .Values.api.extraArgs }}
@@ -76,8 +77,8 @@ spec:
- name: {{ .Chart.Name }}-publish
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: docker.io/library/httpd:2.4
imagePullPolicy: {{ .Values.image.pullPolicy }}
image: "{{ .Values.publish.image.repository }}:{{ .Values.publish.image.tag }}"
imagePullPolicy: {{ .Values.publish.image.pullPolicy }}
ports:
- name: http
containerPort: 80
Loading