ingress: force ssl for both private and public ingresses (#124)
Co-authored-by: Giorgi Lekveishvili <lekva@gl-mbp-m1-max.local>
diff --git a/charts/ingress/templates/install.yaml b/charts/ingress/templates/install.yaml
index 173186c..3268fc0 100644
--- a/charts/ingress/templates/install.yaml
+++ b/charts/ingress/templates/install.yaml
@@ -7,6 +7,7 @@
annotations:
acme.cert-manager.io/http01-edit-in-place: "true"
cert-manager.io/cluster-issuer: {{ .Values.certificateIssuer }}
+ nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
{{- end }}
spec:
ingressClassName: {{ .Values.ingressClassName }}