blob: 4dc011025d0ac15c079ac8c2be322805cbc44715 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
apiVersion: cert-manager.io/v1
kind: Certificate
{{- with .Values.certificates }}
metadata:
name: {{ .name }}
namespace: {{ .namespace }}
spec:
secretName: {{ .secretName }}
commonName: {{ .commonName }}
renewBefore: {{ .renewBefore }}
{{- if .duration }}
duration: {{ .duration }}
{{- end }}
subject:
organizations:
- {{ .subject.organization }}
countries:
- {{ .subject.country }}
localities:
- {{ .subject.locality }}
provinces:
- {{ .subject.province }}
organizationalUnits:
- {{ .subject.organizationalUnit }}
issuerRef:
group: {{ .issuerRef.group }}
kind: {{ .issuerRef.kind }}
name: {{ .issuerRef.name }}
{{- if .dnsNames }}
dnsNames:
{{- range $.Values.certificates.dnsNames }}
- {{ . }}
{{- end }}
{{- end }}
{{- if .ipAddresses }}
ipAddresses:
- {{ .ipAddresses }}
{{- end }}
keystores:
{{- toYaml .keystores | nindent 4 }}
{{- end }}
|