1
0
molgenis-ops-docker-helm/molgenis-jenkins/templates/molgenis-jenkins-dockerhub-secret.yaml

16 lines
586 B
YAML
Raw Normal View History

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
"jenkins.io/credentials-description" : "(deprecated by vault) Account used in pipeline builds to push docker images to Docker Hub (hub.docker.com)"
2018-07-02 20:13:01 +02:00
}
type: Opaque
data:
username: {{ .Values.secret.registry.user | b64enc | quote }}
password: {{ .Values.secret.registry.password | b64enc | quote }}