Skip to content
Snippets Groups Projects
Commit 7f5951eb authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

deploy correct containers

parent a26fde92
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,28 @@ spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
- name: fpm
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: fpm
containerPort: 9000
protocol: TCP
livenessProbe:
tcpSocket:
port: fpm
readinessProbe:
tcpSocket:
port: fpm
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.fpm.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- end }}
- name: nginx
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
......@@ -50,7 +71,7 @@ spec:
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.volumeMounts }}
{{- with .Values.fpm.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 12 }}
{{- end }}
......
......@@ -85,11 +85,8 @@ volumes: []
# secretName: mysecret
# optional: false
# Additional volumeMounts on the output Deployment definition.
volumeMounts: []
# - name: foo
# mountPath: "/etc/foo"
# readOnly: true
fpm:
volumeMounts: []
nodeSelector: {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment