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

25 lines
650 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" "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" ) }}
{{- end }}
2020-11-26 13:21:10 +00:00
{{- end }}
{{- define "aws-efs-csi-driver-argo" }}
{{- end }}
{{ include "kubezero-app.app" . }}