Update templates/deployment.yaml
This commit is contained in:
parent
e83b2d87f4
commit
d5f95c26d1
@ -2,18 +2,21 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ include "stalwart-mail.fullname" . }}
|
||||
labels: { { - include "stalwart-mail.labels" . | nindent 4 } }
|
||||
labels:
|
||||
{{- include "stalwart-mail.labels" . | nindent 4 }}
|
||||
spec:
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
selector:
|
||||
matchLabels: { { - include "stalwart-mail.selectorLabels" . | nindent 6 } }
|
||||
matchLabels:
|
||||
{{- include "stalwart-mail.selectorLabels" . | nindent 6 }}
|
||||
template:
|
||||
metadata:
|
||||
labels: { { - include "stalwart-mail.selectorLabels" . | nindent 8 } }
|
||||
labels:
|
||||
{{- include "stalwart-mail.selectorLabels" . | nindent 8 }}
|
||||
spec:
|
||||
containers:
|
||||
- name: stalwart-mail
|
||||
image: '{{ .Values.image.repository }}:{{ .Values.image.tag }}'
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
|
Loading…
Reference in New Issue
Block a user