diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 285842e..3efb79e 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -2,6 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ .Release.Name }} + namespace: {{ .Release.Namespace }} labels: {{- include "basic-app.labels" . | nindent 4 }} spec: diff --git a/templates/ingress.yaml b/templates/ingress.yaml index 6fed2fc..035e157 100644 --- a/templates/ingress.yaml +++ b/templates/ingress.yaml @@ -3,6 +3,7 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: {{ .Release.Name }} + namespace: {{ .Release.Namespace }} labels: {{- include "basic-app.labels" . | nindent 4 }} {{- with .Values.ingress.annotations }}