14 lines
414 B
YAML
14 lines
414 B
YAML
{{- if (not .Values.global.existingDindCertsSecret ) -}}
|
|
apiVersion: v1
|
|
type: Opaque
|
|
kind: Secret
|
|
metadata:
|
|
{{/* has to be a constant */}}
|
|
name: codefresh-certs-server
|
|
labels: {{- include "cf-re.labels" . | nindent 4 }}
|
|
data:
|
|
server-cert.pem: {{ .Values.global.keys.serverCert | b64enc }}
|
|
server-key.pem: {{ .Values.global.keys.key | b64enc }}
|
|
ca.pem: {{ .Values.global.keys.ca | b64enc }}
|
|
{{- end -}}
|