25 lines
650 B
YAML
25 lines
650 B
YAML
{{- 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 }}
|
|
|
|
{{- end }}
|
|
|
|
|
|
{{- define "aws-efs-csi-driver-argo" }}
|
|
{{- end }}
|
|
|
|
{{ include "kubezero-app.app" . }}
|