diff --git a/charts/nginx-ingress/templates/ingress.yaml b/charts/nginx-ingress/templates/ingress.yaml index 2fb2bc3..fcb0923 100644 --- a/charts/nginx-ingress/templates/ingress.yaml +++ b/charts/nginx-ingress/templates/ingress.yaml @@ -16,6 +16,7 @@ apiVersion: extensions/v1beta1 kind: Ingress metadata: name: {{ $fullName }} + namespace: {{ .Values.namespace }} labels: {{- include "nginx-ingress.labels" . | nindent 4 }} {{- with .Values.ingress.annotations }} diff --git a/charts/nginx-ingress/values.yaml b/charts/nginx-ingress/values.yaml index b363f5c..b509738 100644 --- a/charts/nginx-ingress/values.yaml +++ b/charts/nginx-ingress/values.yaml @@ -1,3 +1,4 @@ +namespace: default ingress: enabled: true className: ""