Browse Source

Specify issuer kind for certificate

master
Fábio Kaiser Rauber 3 years ago
parent
commit
7c17440c21
  1. 1
      charts/mailproxy/v0.1.0/templates/nginx-certificate.yaml
  2. 1
      charts/mailproxy/v0.1.0/values.yaml

1
charts/mailproxy/v0.1.0/templates/nginx-certificate.yaml

@ -8,5 +8,6 @@ spec:
secretName: {{ include "mailproxy.fullname" . }}-tls
issuerRef:
name: {{ .Values.nginx.certificate.issuer }}
kind: {{ .Values.nginx.certificate.issuerKind }}
dnsNames:
{{- toYaml .Values.nginx.certificate.dnsNames | nindent 4 }}

1
charts/mailproxy/v0.1.0/values.yaml

@ -21,6 +21,7 @@ nginx:
protocol: TCP
certificate:
issuer: letsencrypt-staging
issuerKind: ClusterIssuer
dnsNames:
- mail.com
resources: {}

Loading…
Cancel
Save