diff --git a/nginx-serve/helm/templates/ingress.yaml b/nginx-serve/helm/templates/ingress.yaml index eb55551f..75d4537f 100644 --- a/nginx-serve/helm/templates/ingress.yaml +++ b/nginx-serve/helm/templates/ingress.yaml @@ -19,3 +19,9 @@ spec: name: {{ template "ifrcgo-web-app.fullname" . }}-svc port: number: 80 + {{- if .Values.ingress.tls }} + tls: + - hosts: + - {{ .Values.ingress.host | quote }} + secretName: {{ .Values.ingress.tls.secretName }} + {{- end }} \ No newline at end of file diff --git a/nginx-serve/helm/values.yaml b/nginx-serve/helm/values.yaml index 300da1dc..771e79dc 100644 --- a/nginx-serve/helm/values.yaml +++ b/nginx-serve/helm/values.yaml @@ -15,6 +15,8 @@ resources: ingress: host: + tls: + secretName: env: APP_TITLE: "Alert hub"