Skip to content

Commit

Permalink
fix(pro): Use statefulset with embedded etcd
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasK33 committed Sep 19, 2024
1 parent 3176ae4 commit a83e400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chart/templates/_persistence.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ControlPlane Kind
*/}}
{{- define "vcluster.kind" -}}
{{ if include "vcluster.persistence.volumeClaim.enabled" . }}StatefulSet{{ else }}Deployment{{ end }}
{{ if or (include "vcluster.persistence.volumeClaim.enabled" .) (or (include "vcluster.database.embedded.enabled" .) .Values.controlPlane.backingStore.etcd.embedded.enabled) }}StatefulSet{{ else }}Deployment{{ end }}
{{- end -}}

{{/*
Expand Down

0 comments on commit a83e400

Please sign in to comment.