Skip to content

Commit

Permalink
#471 fixes volume creation for volume objects without the auto key
Browse files Browse the repository at this point in the history
  • Loading branch information
zsinnema committed Mar 24, 2022
1 parent 3ee51b4 commit 6c5a919
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{- define "deploy_utils.pvolume" }}
{{- if .app.harness.deployment.volume.auto }}
{{- $auto_create := printf "%s" (.app.harness.deployment.volume.auto|quote) }}
{{- if or (not (hasKey .app.harness.deployment.volume "auto")) (eq $auto_create "true") }}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
Expand Down

0 comments on commit 6c5a919

Please sign in to comment.