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 secretName: {{ include "mailproxy.fullname" . }}-tls
issuerRef: issuerRef:
name: {{ .Values.nginx.certificate.issuer }} name: {{ .Values.nginx.certificate.issuer }}
kind: {{ .Values.nginx.certificate.issuerKind }}
dnsNames: dnsNames:
{{- toYaml .Values.nginx.certificate.dnsNames | nindent 4 }} {{- toYaml .Values.nginx.certificate.dnsNames | nindent 4 }}

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

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

Loading…
Cancel
Save