Skip to content

Commit

Permalink
fix conditional statement for CRDs
Browse files Browse the repository at this point in the history
  • Loading branch information
navilg authored Jul 14, 2023
1 parent f234a23 commit 37adf07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/latest/csi-driver-nfs/templates/crd-csi-snapshot.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- if .Values.externalSnapshotter.enabled -}}
{{ - if .Values.externalSnapshotter.customResourceDefinitions.volumeSnapshot -}}
{{- if .Values.externalSnapshotter.customResourceDefinitions.volumeSnapshot -}}
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
Expand Down Expand Up @@ -309,7 +309,7 @@ status:
conditions: []
storedVersions: []
{{- end -}}
{{ - if .Values.externalSnapshotter.customResourceDefinitions.volumeSnapshotClass -}}
{{- if .Values.externalSnapshotter.customResourceDefinitions.volumeSnapshotClass -}}
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
Expand Down Expand Up @@ -445,7 +445,7 @@ status:
conditions: []
storedVersions: []
{{- end -}}
{{ - if .Values.externalSnapshotter.customResourceDefinitions.volumeSnapshotContent -}}
{{- if .Values.externalSnapshotter.customResourceDefinitions.volumeSnapshotContent -}}
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
Expand Down

0 comments on commit 37adf07

Please sign in to comment.