14 lines
375 B
YAML
14 lines
375 B
YAML
ext-self-signed-cert:
|
|
templates:
|
|
- |
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ .Values.name }}
|
|
data:
|
|
{{- $ca := genCA .Values.domain 365 -}}
|
|
{{- $cert := genSignedCert .Values.domain nil (list .Values.domain ) 365 $ca }}
|
|
tls.crt: {{ $cert.Cert | b64enc }}
|
|
tls.key: {{ $cert.Key | b64enc }}
|