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") -}}
|
{{- $redisHa := (index .Values "redis-ha") -}}
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: StatefulSet
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "argo-cd.controller.fullname" . }}
|
name: {{ template "argo-cd.controller.fullname" . }}
|
||||||
labels:
|
labels:
|
||||||
|
@ -16,6 +16,7 @@ spec:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-application-controller
|
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-application-controller
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
serviceName: {{ template "argo-cd.controller.fullname" . }}
|
||||||
revisionHistoryLimit: 5
|
revisionHistoryLimit: 5
|
||||||
replicas: {{ .Values.controller.replicas }}
|
replicas: {{ .Values.controller.replicas }}
|
||||||
template:
|
template:
|
Loading…
Reference in a new issue