2018-08-02 07:49:15 +02:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
# this is the jenkins id.
|
|
|
|
name: "molgenis-jenkins-saucelabs-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 Saucelabs (saucelabs.com)"
|
|
|
|
}
|
|
|
|
type: Opaque
|
|
|
|
data:
|
2018-08-02 22:31:57 +02:00
|
|
|
username: {{ "molgenis-jenkins" | b64enc | quote }}
|
2018-08-02 07:49:15 +02:00
|
|
|
password: {{ .Values.PipelineSecrets.Env.SauceAccessKey | b64enc | quote }}
|