fix: Fix some compatibility issues related to older versions of K8s (#363)

This commit is contained in:
Kent Dong
2023-06-06 18:02:47 +08:00
committed by GitHub
parent 80d6ecfddb
commit 2dbe41324a
5 changed files with 191 additions and 14 deletions

View File

@@ -100,6 +100,10 @@ spec:
fieldPath: spec.serviceAccountName
- name: KUBECONFIG
value: /var/run/secrets/remote/config
- name: PRIORITIZED_LEADER_ELECTION
value: "false"
- name: INJECT_ENABLED
value: "false"
{{- if .Values.pilot.env }}
{{- range $key, $val := .Values.pilot.env }}
- name: {{ $key }}