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

25 lines
602 B
YAML
Raw Normal View History

2020-11-26 13:21:10 +00:00
{{- define "aws-efs-csi-driver-values" }}
{{ with index .Values "aws-efs-csi-driver" "IamArn" }}
2020-11-26 13:21:10 +00:00
aws-efs-csi-driver:
controller:
extraEnv:
- name: AWS_ROLE_ARN
value: "{{ . }}"
- 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
{{- end }}
{{- 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" . }}