2020-11-26 13:21:10 +00:00
|
|
|
{{- define "aws-efs-csi-driver-values" }}
|
2021-06-30 10:37:05 +00:00
|
|
|
{{ with index .Values "aws-efs-csi-driver" "IamArn" }}
|
2020-11-26 13:21:10 +00:00
|
|
|
aws-efs-csi-driver:
|
2021-06-30 10:37:05 +00:00
|
|
|
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" . }}
|