1
0
Fork 0

Add Replace key for pipeline secrets

This commit is contained in:
Fleur Kelpin 2018-06-28 11:51:51 +02:00
parent c8b1e1965b
commit 03cf1c390b
3 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{{- if .Values.PipelineSecrets.Env }} {{- if .Values.PipelineSecrets.Env.Replace }}
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:

View File

@ -1,4 +1,4 @@
{{- if .Values.PipelineSecrets.File }} {{- if .Values.PipelineSecrets.File.Replace }}
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:

View File

@ -101,6 +101,8 @@ jenkins:
# jenkins-agent: v1 # jenkins-agent: v1
PipelineSecrets: PipelineSecrets:
Env: Env:
# Set to false to keep existing secret
Replace: true
# Passphrase for the pgp private key file # Passphrase for the pgp private key file
pgpPassphrase: xxxx pgpPassphrase: xxxx
# Token for codecov.io service # Token for codecov.io service
@ -110,6 +112,8 @@ PipelineSecrets:
# Token for sonarcloud.io # Token for sonarcloud.io
sonarToken: xxxx sonarToken: xxxx
File: File:
# Set to false to keep existing secret
Replace: true
# PGP Private key in ascii format used to sign artifacts # PGP Private key in ascii format used to sign artifacts
PGPPrivateKeyAsc: |- PGPPrivateKeyAsc: |-
-----BEGIN PGP PRIVATE KEY BLOCK----- -----BEGIN PGP PRIVATE KEY BLOCK-----