jenkins: source streaming harbor creds from dedicated vault path
This commit is contained in:
parent
d4112e5a74
commit
71cfdce862
@ -36,6 +36,10 @@ 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" }}
|
||||||
|
HARBOR_STREAMING_ROBOT_USERNAME={{ .Data.data.username }}
|
||||||
|
HARBOR_STREAMING_ROBOT_PASSWORD={{ .Data.data.password }}
|
||||||
|
{{ 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