File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -188,6 +188,9 @@ spec:
188188 {{- if .Values.kcp.authorization.webhook.secretName }}
189189 - --authorization-webhook-config-file=/etc/kcp/authorization/webhook/kubeconfig
190190 {{- end }}
191+ {{- if .Values.kcp.leaderElection.enabled }}
192+ - --enable-leader-election
193+ {{- end }}
191194 {{- range .Values.kcp.extraFlags }}
192195 - {{ . }}
193196 {{- end }}
Original file line number Diff line number Diff line change 6464kcp :
6565 replicas : 1
6666 strategy :
67- type : Recreate
67+ type : RollingUpdate
6868 image : ghcr.io/kcp-dev/kcp
6969 # Set this to override the image tag used for kcp (determined by chart appVersion by default).
7070 tag : " "
7676 # Enabled "batteries" (see kcp start --help for available batteries).
7777 batteries :
7878 - workspace-types
79+ leaderElection :
80+ enabled : true
7981 # Additional flags passed to kcp binary.
8082 extraFlags : []
8183
166168kcpFrontProxy :
167169 replicas : 1
168170 strategy :
169- type : Recreate
171+ type : RollingUpdate
170172 image : ghcr.io/kcp-dev/kcp
171173 # Set this to override the image tag used for kcp-front-proxy (determined by chart appVersion by default).
172174 tag : " "
You can’t perform that action at this time.
0 commit comments