added jenkins secret
This commit is contained in:
parent
805b248a19
commit
22a53eca6d
16
molgenis-jenkins/templates/molgenis-nexus-secret.yaml
Normal file
16
molgenis-jenkins/templates/molgenis-nexus-secret.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
# this is the jenkins id.
|
||||||
|
name: "molgenis-nexus-secret"
|
||||||
|
labels:
|
||||||
|
# so we know what type it is.
|
||||||
|
"jenkins.io/credentials-type": "usernamePassword"
|
||||||
|
annotations: {
|
||||||
|
# description - can not be a label as spaces are not allowed
|
||||||
|
"jenkins.io/credentials-description" : "user to authenticate against NEXUS"
|
||||||
|
}
|
||||||
|
type: Opaque
|
||||||
|
data:
|
||||||
|
username: {{ "admin" | b64enc | quote }}
|
||||||
|
password: {{ .Values.PipelineSecrets.Env.NexusPassword | b64enc | quote }}
|
@ -166,6 +166,8 @@ PipelineSecrets:
|
|||||||
GitHubToken: xxxx
|
GitHubToken: xxxx
|
||||||
# Token for sonarcloud.io
|
# Token for sonarcloud.io
|
||||||
SonarToken: xxxx
|
SonarToken: xxxx
|
||||||
|
# Password Local NEXUS
|
||||||
|
NexusPassword: xxxx
|
||||||
File:
|
File:
|
||||||
# Set to false to keep existing secret
|
# Set to false to keep existing secret
|
||||||
Replace: true
|
Replace: true
|
||||||
|
Loading…
Reference in New Issue
Block a user