Skip to content

Commit

Permalink
Add optional to secrets.
Browse files Browse the repository at this point in the history
  • Loading branch information
rnc committed Sep 27, 2024
1 parent 0e0cc8f commit fedbfca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/tasks/pre-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ spec:
- name: GIT_TOKEN
valueFrom:
secretKeyRef:
optional: true
name: jvm-build-git-secrets
key: .git-credentials
script: |
Expand Down Expand Up @@ -118,6 +119,7 @@ spec:
- name: GIT_DEPLOY_TOKEN
valueFrom:
secretKeyRef:
optional: true
name: $(params.GIT_DEPLOY_TOKEN)
key: gitdeploytoken
args:
Expand Down

0 comments on commit fedbfca

Please sign in to comment.