Skip to content

Commit

Permalink
refactor auto volume test auto create
Browse files Browse the repository at this point in the history
  • Loading branch information
zsinnema committed Mar 25, 2022
1 parent 6c5a919 commit 09560dd
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{{- define "deploy_utils.pvolume" }}
{{- $auto_create := printf "%s" (.app.harness.deployment.volume.auto|quote) }}
{{- 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 }}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
Expand Down

0 comments on commit 09560dd

Please sign in to comment.