feat: updated images
This commit is contained in:
@@ -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 }}
|
||||
|
||||
+14
-2
@@ -4,11 +4,23 @@
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
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
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
tag: "1.30"
|
||||
tag: "1.26"
|
||||
|
||||
imagePullSecrets: []
|
||||
nameOverride: ""
|
||||
|
||||
Reference in New Issue
Block a user