Add Jenkins Helm Chart with initial configuration, README, and changelog, using previous values.yaml
This commit is contained in:
14
manifest/jenkins/templates/secret-https-jks.yaml
Normal file
14
manifest/jenkins/templates/secret-https-jks.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
{{- if and .Values.controller.httpsKeyStore.enable ( not .Values.controller.httpsKeyStore.jenkinsHttpsJksSecretName ) (not .Values.controller.httpsKeyStore.disableSecretMount) -}}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ template "jenkins.fullname" . }}-https-jks
|
||||
namespace: {{ template "jenkins.namespace" . }}
|
||||
labels:
|
||||
{{ include "jenkins.labels" . | nindent 4 }}
|
||||
type: Opaque
|
||||
data:
|
||||
jenkins-jks-file: |
|
||||
{{ .Values.controller.httpsKeyStore.jenkinsKeyStoreBase64Encoded | indent 4 }}
|
||||
https-jks-password: {{ .Values.controller.httpsKeyStore.password | b64enc }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user