From 2f6f710258072212ed20fabd781ec9f6651040d4 Mon Sep 17 00:00:00 2001 From: Tomasz Barwicki Date: Wed, 11 Oct 2023 14:30:16 +0200 Subject: [PATCH] fix: ingress enabled option --- charts/app-dashboard/templates/ingress.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/app-dashboard/templates/ingress.yaml b/charts/app-dashboard/templates/ingress.yaml index ba265f4..500abea 100644 --- a/charts/app-dashboard/templates/ingress.yaml +++ b/charts/app-dashboard/templates/ingress.yaml @@ -19,6 +19,7 @@ ############################################################### */}} +{{- if .Values.ingress.enabled -}} {{- $fullName := include "app-dashboard.fullname" . -}} {{- $svcPort := .Values.service.port -}} apiVersion: networking.k8s.io/v1 @@ -47,3 +48,4 @@ spec: name: {{ $fullName }} port: number: {{ $svcPort }} +{{- end }} \ No newline at end of file