add helm for kind (#57)

This commit is contained in:
澄潭
2022-11-14 19:34:18 +08:00
committed by GitHub
parent b15604e9aa
commit 8165ea6a99
14 changed files with 86 additions and 8 deletions

View File

@@ -159,12 +159,14 @@ spec:
value: "{{ .Values.global.istiod.enableAnalysis }}"
- name: CLUSTER_ID
value: "{{ $.Values.global.multiCluster.clusterName | default `Kubernetes` }}"
{{- if not .Values.global.kind }}
resources:
{{- if .Values.pilot.resources }}
{{ toYaml .Values.pilot.resources | trim | indent 12 }}
{{- else }}
{{ toYaml .Values.global.defaultResources | trim | indent 12 }}
{{- end }}
{{- end }}
securityContext:
readOnlyRootFilesystem: true
runAsUser: 1337