Skip to content

Commit

Permalink
specify leader-election ns (#792)
Browse files Browse the repository at this point in the history
Co-authored-by: Konstantinos Angelopoulos <[email protected]>
  • Loading branch information
AndreasBurger and kon-angelo authored Feb 15, 2024
1 parent cd7465e commit eac1ce8
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 eac1ce8

Please sign in to comment.