Skip to content

Commit 41f157c

Browse files
authored
chore(chart): job upgrade add passportLocation condition
1 parent 04af300 commit 41f157c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

charts/passport/templates/passport-job-upgrade.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{{- if eq .Values.global.passportLocation "on-cluster" }}
12
apiVersion: batch/v1
23
kind: Job
34
metadata:
@@ -51,3 +52,4 @@ spec:
5152
restartPolicy: Never
5253
backoffLimit: 0
5354
ttlSecondsAfterFinished: 3600
55+
{{- end }}

0 commit comments

Comments
 (0)