We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf65152 commit fac84ceCopy full SHA for fac84ce
chart/templates/ingress.yaml
@@ -15,6 +15,8 @@ metadata:
15
release: jiaozifs-api
16
spec:
17
ingressClassName: {{.Values.ingress_name}}
18
+ tls:
19
+ - secretName: {{.Values.cert}}
20
rules:
21
- host: api.jiaozifs.com
22
http:
chart/values.yaml
@@ -9,3 +9,4 @@ ingress_name: nginx
9
log_level: info
10
claim_name: jiaozifs-home
11
tag: latest
12
+cert: api-jiaozifs-com-tls
script/cert.yaml
@@ -0,0 +1,11 @@
1
+apiVersion: cert-manager.io/v1
2
+kind: Certificate
3
+metadata:
4
+ name: api-jiaozifs-com-certificate
5
+spec:
6
+ secretName: api-jiaozifs-com-tls
7
+ issuerRef:
8
+ name: letsencrypt-prod
+ kind: ClusterIssuer
+ dnsNames:
+ - api.jiaozifs.com
0 commit comments