Skip to content

Commit

Permalink
Inject leader_election env-var for operator
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Oct 17, 2023
1 parent fb65ba2 commit dbc2aae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chart/openfaas/templates/gateway-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,10 @@ spec:
value: "{{ .Values.operator.kubeClientQPS }}"
- name: kube_client_burst
value: "{{ .Values.operator.kubeClientBurst }}"
{{ if .Values.operator.leaderElection.enabled }}
- name: leader_election
value: "true"
{{- end }}
{{- if .Values.iam.enabled }}
- name: issuer_key_path
value: "/var/secrets/issuer-key/issuer.key"
Expand Down

0 comments on commit dbc2aae

Please sign in to comment.