Skip to content

Commit fedbfca

Browse files
committed
Add optional to secrets.
1 parent 0e0cc8f commit fedbfca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deploy/tasks/pre-build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ spec:
8585
- name: GIT_TOKEN
8686
valueFrom:
8787
secretKeyRef:
88+
optional: true
8889
name: jvm-build-git-secrets
8990
key: .git-credentials
9091
script: |
@@ -118,6 +119,7 @@ spec:
118119
- name: GIT_DEPLOY_TOKEN
119120
valueFrom:
120121
secretKeyRef:
122+
optional: true
121123
name: $(params.GIT_DEPLOY_TOKEN)
122124
key: gitdeploytoken
123125
args:

0 commit comments

Comments
 (0)