1
0
Fork 0
molgenis-ops-docker-helm/molgenis-jenkins/templates/molgenis-jenkins-nexus-secr...

16 lines
498 B
YAML
Raw Normal View History

2018-06-29 23:02:57 +02:00
apiVersion: v1
kind: Secret
metadata:
# this is the jenkins id.
2018-06-29 23:48:31 +02:00
name: "molgenis-jenkins-nexus-secret"
2018-06-29 23:02:57 +02:00
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 }}