|
6 | 6 |
|
7 | 7 | {{if ".Values.certGenerate.enabled" -}} |
8 | 8 |
|
9 | | -apiVersion: cert-manager.io/v1alpha2 |
10 | | -kind: Issuer |
11 | | -metadata: |
12 | | - {{- if ne .Values.environment "production" }} |
13 | | - name: {{ .Release.Name }}-letsencrypt-staging |
14 | | - {{- else }} |
15 | | - name: {{ .Release.Name }}-letsencrypt-production |
16 | | - {{- end }} |
17 | | -spec: |
18 | | - acme: |
19 | | - # The ACME server URL |
20 | | - {{- if ne .Values.environment "production" }} |
21 | | - server: https://acme-staging-v02.api.letsencrypt.org/directory |
22 | | - {{- else }} |
23 | | - server: https://acme-v02.api.letsencrypt.org/directory |
24 | | - {{- end }} |
25 | | - # Email address used for ACME registration |
26 | | - email: {{ .Values.certGenerate.email }} |
27 | | - # Name of a secret used to store the ACME account private key |
28 | | - privateKeySecretRef: |
29 | | - name: issuer-letsencrypt-staging-key |
30 | | - # Enable the HTTP-01 challenge provider |
31 | | - solvers: |
32 | | - - http01: |
33 | | - ingress: |
34 | | - class: nginx |
| 9 | +# TODO - temp disable since no requirement for certs for now |
| 10 | +# apiVersion: cert-manager.io/v1 |
| 11 | +# kind: Certificate |
| 12 | +# metadata: |
| 13 | +# {{- if ne .Values.environment "production" }} |
| 14 | +# name: {{ .Release.Name }}-letsencrypt-staging |
| 15 | +# {{- else }} |
| 16 | +# name: {{ .Release.Name }}-letsencrypt-production |
| 17 | +# {{- end }} |
| 18 | +# spec: |
| 19 | +# acme: |
| 20 | +# # The ACME server URL |
| 21 | +# {{- if ne .Values.environment "production" }} |
| 22 | +# server: https://acme-staging-v02.api.letsencrypt.org/directory |
| 23 | +# {{- else }} |
| 24 | +# server: https://acme-v02.api.letsencrypt.org/directory |
| 25 | +# {{- end }} |
| 26 | +# # Email address used for ACME registration |
| 27 | +# email: {{ .Values.certGenerate.email }} |
| 28 | +# # Name of a secret used to store the ACME account private key |
| 29 | +# privateKeySecretRef: |
| 30 | +# name: issuer-letsencrypt-staging-key |
| 31 | +# # Enable the HTTP-01 challenge provider |
| 32 | +# solvers: |
| 33 | +# - http01: |
| 34 | +# ingress: |
| 35 | +# class: nginx |
35 | 36 |
|
36 | 37 | {{- end -}} |
0 commit comments