2018-06-29 23:30:38 +02:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
# this is the jenkins id.
|
|
|
|
name: "molgenis-jenkins-gogs-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-09-10 17:13:55 +02:00
|
|
|
"jenkins.io/credentials-description" : "Account used to authenticate against RuG Webhosting Gogs."
|
2018-06-29 23:30:38 +02:00
|
|
|
}
|
|
|
|
type: Opaque
|
|
|
|
data:
|
2018-09-10 17:13:55 +02:00
|
|
|
username: {{ .Values.secret.gogs.user | b64enc | quote }}
|
|
|
|
password: {{ .Values.secret.gogs.token | b64enc | quote }}
|