diff --git a/helm/kubenurse/templates/ingress.yaml b/helm/kubenurse/templates/ingress.yaml index 15abeeda..b444c82a 100644 --- a/helm/kubenurse/templates/ingress.yaml +++ b/helm/kubenurse/templates/ingress.yaml @@ -1,4 +1,5 @@ --- +{{- if .Values.ingress.enabled -}} apiVersion: networking.k8s.io/v1 kind: Ingress metadata: @@ -22,3 +23,4 @@ spec: tls: - hosts: - {{ .Values.ingress.url }} +{{- end -}} \ No newline at end of file