Skip to content

Commit

Permalink
Merge pull request #791 from kon-angelo/admission-leader-ns
Browse files Browse the repository at this point in the history
specify leader-election ns
  • Loading branch information
AndreasBurger authored Feb 15, 2024
2 parents 4d071a4 + a42784c commit 5c5b346
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,12 @@ spec:
port: {{ .Values.global.healthPort }}
scheme: HTTP
initialDelaySeconds: 5
{{- if .Values.global.virtualGarden.enabled }}
env:
- name: LEADER_ELECTION_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
{{- if .Values.global.virtualGarden.enabled }}
- name: SOURCE_CLUSTER
value: enabled
{{- end }}
Expand Down

0 comments on commit 5c5b346

Please sign in to comment.