From ba38e3a19d439495bcecab65842b033290876c5d Mon Sep 17 00:00:00 2001 From: Garth Mortensen Date: Thu, 10 Sep 2020 22:30:27 -0600 Subject: [PATCH] fix(helm): apply namespace to Deployment and Service (#471) --- charts/kubernetes-external-secrets/templates/deployment.yaml | 1 + charts/kubernetes-external-secrets/templates/service.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/charts/kubernetes-external-secrets/templates/deployment.yaml b/charts/kubernetes-external-secrets/templates/deployment.yaml index 82851544..d4f28028 100644 --- a/charts/kubernetes-external-secrets/templates/deployment.yaml +++ b/charts/kubernetes-external-secrets/templates/deployment.yaml @@ -2,6 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "kubernetes-external-secrets.fullname" . }} + namespace: {{ .Release.Namespace | quote }} labels: app.kubernetes.io/name: {{ include "kubernetes-external-secrets.name" . }} helm.sh/chart: {{ include "kubernetes-external-secrets.chart" . }} diff --git a/charts/kubernetes-external-secrets/templates/service.yaml b/charts/kubernetes-external-secrets/templates/service.yaml index 12d366b2..50089f6a 100644 --- a/charts/kubernetes-external-secrets/templates/service.yaml +++ b/charts/kubernetes-external-secrets/templates/service.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "kubernetes-external-secrets.fullname" . }} + namespace: {{ .Release.Namespace | quote }} labels: app.kubernetes.io/name: {{ include "kubernetes-external-secrets.name" . }} helm.sh/chart: {{ include "kubernetes-external-secrets.chart" . }}