update deployment to statefulset
Signed-off-by: Chris Sauer <mr-sour@users.noreply.github.com>
This commit is contained in:
parent
e6babc874b
commit
45eeba3aee
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
{{- $redisHa := (index .Values "redis-ha") -}}
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
name: {{ template "argo-cd.controller.fullname" . }}
|
||||
labels:
|
||||
|
@ -16,6 +16,7 @@ spec:
|
|||
matchLabels:
|
||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-application-controller
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
serviceName: {{ template "argo-cd.controller.fullname" . }}
|
||||
revisionHistoryLimit: 5
|
||||
replicas: {{ .Values.controller.replicas }}
|
||||
template:
|
Loading…
Reference in a new issue