We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e09057b + a134fd2 commit 324ea0fCopy full SHA for 324ea0f
1 file changed
tools/cloudharness_utilities/deployment-configuration/helm/templates/auto-volumes.yaml
@@ -1,6 +1,5 @@
1
{{- define "deploy_utils.pvolume" }}
2
-{{- $auto_create := printf "%s" (.app.harness.deployment.volume.auto|quote) }}
3
-{{- if or (not (hasKey .app.harness.deployment.volume "auto")) (eq $auto_create "true") }}
+{{- if or (not (hasKey .app.harness.deployment.volume "auto")) .app.harness.deployment.volume.auto }}
4
apiVersion: v1
5
kind: PersistentVolumeClaim
6
metadata:
0 commit comments