feat: updated images

This commit is contained in:
domrichardson
2026-05-07 09:55:23 +01:00
parent 1ed36cc0a2
commit 5cc84b9b8b
2 changed files with 42 additions and 8 deletions
+25 -3
View File
@@ -31,11 +31,11 @@ spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: {{ .Chart.Name }}-container1
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
image: "{{ .Values.container1.image.repository }}:{{ .Values.container1.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.container1.image.pullPolicy }}
ports:
- name: http
containerPort: {{ .Values.service.port }}
@@ -50,6 +50,28 @@ spec:
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- end }}
- name: {{ .Chart.Name }}-container2
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.container2.image.repository }}:{{ .Values.container2.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.container2.image.pullPolicy }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- end }}
- name: {{ .Chart.Name }}-container3
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.container3.image.repository }}:{{ .Values.container3.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.container3.image.pullPolicy }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
+17 -5
View File
@@ -4,11 +4,23 @@
replicaCount: 1
image:
repository: nginx
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "1.30"
container1:
image:
repository: nginx-bookworm
pullPolicy: IfNotPresent
tag: "1.28"
container2:
image:
repository: nginx-alpine
pullPolicy: IfNotPresent
tag: "1.27"
container3:
image:
repository: nginx
pullPolicy: IfNotPresent
tag: "1.26"
imagePullSecrets: []
nameOverride: ""