2018-07-02 20:13:01 +02:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
# this is the jenkins id.
|
|
|
|
name: "molgenis-jenkins-dockerhub-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
|
2018-07-03 23:58:50 +02:00
|
|
|
"jenkins.io/credentials-description" : "user to authenticate against Docker Hub (hub.docker.com)"
|
2018-07-02 20:13:01 +02:00
|
|
|
}
|
|
|
|
type: Opaque
|
|
|
|
data:
|
2018-07-02 20:23:09 +02:00
|
|
|
username: {{ "molgenisci" | b64enc | quote }}
|
2018-07-02 20:13:01 +02:00
|
|
|
password: {{ .Values.PipelineSecrets.Env.DockerHubPassword | b64enc | quote }}
|