jenkins: keep streaming creds optional without vault hard dependency
This commit is contained in:
parent
baea38a126
commit
1f75fc5178
@ -36,12 +36,6 @@ spec:
|
||||
HARBOR_STREAMING_ROBOT_USERNAME={{ .Data.data.username }}
|
||||
HARBOR_STREAMING_ROBOT_PASSWORD={{ .Data.data.password }}
|
||||
{{ end }}
|
||||
{{ with secret "kv/data/atlas/jenkins/harbor-streaming-robot-creds" }}
|
||||
{{- if and .Data.data.username .Data.data.password }}
|
||||
HARBOR_STREAMING_ROBOT_USERNAME={{ .Data.data.username }}
|
||||
HARBOR_STREAMING_ROBOT_PASSWORD={{ .Data.data.password }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ with secret "kv/data/atlas/shared/harbor-pull" }}
|
||||
{{- if and .Data.data.username .Data.data.password }}
|
||||
HARBOR_PULL_USERNAME={{ .Data.data.username }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user