We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15a4892 commit 2aeb116Copy full SHA for 2aeb116
charts/api-syncagent/templates/deployment.yaml
@@ -28,7 +28,7 @@ spec:
28
- name: agent
29
args:
30
- --namespace=$(POD_NAMESPACE)
31
- - --enable-leader-election
+ - --enable-leader-election={{ .Values.enableLeaderElection }}
32
- --apiexport-ref=$(APIEXPORT_REF)
33
- --agent-name=$(AGENT_NAME)
34
- --platform-kubeconfig=/etc/api-syncagent/platform/kubeconfig
charts/api-syncagent/values.yaml
@@ -28,6 +28,7 @@ image:
tag: ""
replicas: 2
+enableLeaderElection: true
resources:
requests:
0 commit comments