2018-06-28 11:51:51 +02:00
|
|
|
{{- if .Values.PipelineSecrets.Env.Replace }}
|
2018-06-28 09:25:27 +02:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: molgenis-pipeline-env-secret
|
|
|
|
labels:
|
|
|
|
app: {{ template "jenkins.fullname" . }}
|
|
|
|
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
|
|
|
release: "{{ .Release.Name }}"
|
|
|
|
heritage: "{{ .Release.Service }}"
|
|
|
|
type: Opaque
|
|
|
|
data:
|
|
|
|
pgpPassphrase: {{ .Values.PipelineSecrets.Env.PGPPassphrase | b64enc | quote }}
|
|
|
|
codecovToken: {{ .Values.PipelineSecrets.Env.CodecovToken | b64enc | quote }}
|
2018-06-29 12:58:45 +02:00
|
|
|
githubToken: {{ .Values.PipelineSecrets.Env.GitHubToken | b64enc | quote }}
|
2018-06-28 09:25:27 +02:00
|
|
|
sonarToken: {{ .Values.PipelineSecrets.Env.SonarToken | b64enc | quote }}
|
|
|
|
{{- end }}
|