Skip to content

Commit

Permalink
feat(csi): Correct CSI logic
Browse files Browse the repository at this point in the history
  • Loading branch information
sylus committed Jul 29, 2024
1 parent a92106d commit 1cbcc9d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions charts/drupal/templates/pv/csi-azure-file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ spec:
{{- else if $values.azure.azureFile.storageClass }}
storageClassName: "{{ $values.azure.azureFile.storageClass }}"
{{- end }}
{{- if $values.azure.azureFile.$v.spec }}
{{- toYaml $values.azure.azureFile.$v.spec | nindent 2 }}
{{- with (index $values.azure.azureFile $v) }}
{{- if .spec }}
{{- toYaml .spec | nindent 2 }}
{{- end }}
{{- if $values.azure.azureFile.$v.mountOptions }}
{{- if .mountOptions }}
mountOptions:
{{- toYaml $values.azure.azureFile.$v.mountOptions | nindent 4 }}
{{- toYaml .mountOptions | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit 1cbcc9d

Please sign in to comment.