You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
484 B
17 lines
484 B
{{- with .Values.ingress.tls }}
|
|
{{- if and .privateKey .certificate }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ template "my-bloody-jenkins.tlsSecretName" $ }}
|
|
labels:
|
|
app: {{ template "my-bloody-jenkins.name" $ }}
|
|
chart: {{ template "my-bloody-jenkins.chart" $ }}
|
|
release: {{ $.Release.Name }}
|
|
heritage: {{ $.Release.Service }}
|
|
type: kubernetes.io/tls
|
|
data:
|
|
tls.crt: {{ .certificate | b64enc }}
|
|
tls.key: {{ .privateKey | b64enc }}
|
|
{{- end }}
|
|
{{- end }}
|
|
|