2020-11-26 13:21:10 +00:00
|
|
|
{{- define "aws-efs-csi-driver-values" }}
|
|
|
|
{{- with index .Values "aws-efs-csi-driver" "nodeSelector" }}
|
|
|
|
aws-efs-csi-driver:
|
|
|
|
nodeSelector:
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- with index .Values "aws-efs-csi-driver" "PersistentVolumes" }}
|
|
|
|
PersistentVolumes:
|
|
|
|
{{- toYaml . | nindent 2 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- if index .Values "aws-efs-csi-driver" "EfsId" }}
|
|
|
|
PersistentVolume:
|
|
|
|
create: true
|
|
|
|
EfsId: {{ index .Values "aws-efs-csi-driver" "EfsId" }}
|
|
|
|
Name: {{ default "kubezero-efs-pv" ( index .Values "aws-efs-csi-driver" "PVName" ) }}
|
2020-07-24 14:40:24 +00:00
|
|
|
{{- end }}
|
2020-11-26 13:21:10 +00:00
|
|
|
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
|
|
|
|
{{- define "aws-efs-csi-driver-argo" }}
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{ include "kubezero-app.app" . }}
|