mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-26 23:15:42 +08:00
cert change for helm
This commit is contained in:
parent
445df67030
commit
ef029b0713
2 changed files with 5 additions and 3 deletions
|
@ -35,6 +35,7 @@ metadata:
|
|||
{{- end }}
|
||||
{{- if .tls.enabled }}
|
||||
{{- toYaml .annotations.tls | nindent 4 }}
|
||||
cert-manager.io/cluster-issuer: {{ .tls.issuerName }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
@ -89,6 +90,7 @@ metadata:
|
|||
{{- end }}
|
||||
{{- if .tls.enabled }}
|
||||
{{- toYaml .annotations.tls | nindent 4 }}
|
||||
cert-manager.io/cluster-issuer: {{ .tls.issuerName }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
@ -145,6 +147,7 @@ metadata:
|
|||
{{- end }}
|
||||
{{- if .tls.enabled }}
|
||||
{{- toYaml .annotations.tls | nindent 4 }}
|
||||
cert-manager.io/cluster-issuer: {{ .tls.issuerName }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
|
|
|
@ -53,15 +53,14 @@ ingress:
|
|||
enabled: false
|
||||
tls:
|
||||
enabled: true
|
||||
issuerName: "letsencrypt-prod"
|
||||
annotations:
|
||||
base:
|
||||
# -- annotation to generate ACME certs if available
|
||||
kubernetes.io/ingress.allow-http: "false"
|
||||
tls:
|
||||
# -- use acme cert if available
|
||||
kubernetes.io/tls-acme: "true"
|
||||
# -- LE issuer name
|
||||
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||
# -- Block HTTP requests
|
||||
nginx:
|
||||
# -- Redirect http to https
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: 'true'
|
||||
|
|
Loading…
Add table
Reference in a new issue