@@ -38,7 +38,7 @@ spec:
|
||||
imagePullPolicy: {{ .Values.container1.image.pullPolicy }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: {{ .Values.service.port }}
|
||||
containerPort: {{ .Values.container1.port }}
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
{{- toYaml .Values.livenessProbe | nindent 12 }}
|
||||
@@ -55,6 +55,10 @@ spec:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
image: "{{ .Values.container2.image.repository }}:{{ .Values.container2.image.tag | default .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.container2.image.pullPolicy }}
|
||||
ports:
|
||||
- name: http2
|
||||
containerPort: {{ .Values.container2.port }}
|
||||
protocol: TCP
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
{{- with .Values.volumeMounts }}
|
||||
@@ -66,6 +70,10 @@ spec:
|
||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||
image: "{{ .Values.container3.image.repository }}:{{ .Values.container3.image.tag | default .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.container3.image.pullPolicy }}
|
||||
ports:
|
||||
- name: http3
|
||||
containerPort: {{ .Values.container3.port }}
|
||||
protocol: TCP
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
{{- with .Values.volumeMounts }}
|
||||
|
||||
@@ -9,18 +9,21 @@ container1:
|
||||
repository: nginx
|
||||
pullPolicy: IfNotPresent
|
||||
tag: "1.28-bookworm"
|
||||
port: 80
|
||||
|
||||
container2:
|
||||
image:
|
||||
repository: nginx
|
||||
pullPolicy: IfNotPresent
|
||||
tag: "1.27-alpine"
|
||||
port: 8080
|
||||
|
||||
container3:
|
||||
image:
|
||||
repository: nginx
|
||||
pullPolicy: IfNotPresent
|
||||
tag: "1.26"
|
||||
port: 8081
|
||||
|
||||
imagePullSecrets: []
|
||||
nameOverride: ""
|
||||
|
||||
Reference in New Issue
Block a user