KubeZero/charts/kubezero/templates/aws-efs-csi-driver.yaml

23 lines
584 B
YAML
Raw Normal View History

2020-11-26 13:21:10 +00:00
{{- define "aws-efs-csi-driver-values" }}
aws-efs-csi-driver:
controller:
extraEnv:
- name: AWS_ROLE_ARN
2021-07-14 23:26:25 +00:00
value: {{ index .Values "aws-efs-csi-driver" "IamArn" | quote }}
- name: AWS_WEB_IDENTITY_TOKEN_FILE
value: "/var/run/secrets/sts.amazonaws.com/serviceaccount/token"
- name: AWS_STS_REGIONAL_ENDPOINTS
value: regional
2020-11-26 13:21:10 +00:00
{{- with index .Values "aws-efs-csi-driver" "PersistentVolumes" }}
PersistentVolumes:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
{{- define "aws-efs-csi-driver-argo" }}
{{- end }}
{{ include "kubezero-app.app" . }}