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