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