From ffc19a2399a40747d57ba7b4ccb5a5b767bd48e2 Mon Sep 17 00:00:00 2001 From: Gus Luxton Date: Tue, 22 Mar 2022 11:33:12 -0300 Subject: [PATCH] [v9] Backport: "helm: Adds missing namespaces to ConfigMap (#11032)" --- examples/chart/teleport-cluster/templates/config.yaml | 1 + examples/chart/teleport-kube-agent/templates/config.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/chart/teleport-cluster/templates/config.yaml b/examples/chart/teleport-cluster/templates/config.yaml index 66994522f4ae6..54369e4161af5 100644 --- a/examples/chart/teleport-cluster/templates/config.yaml +++ b/examples/chart/teleport-cluster/templates/config.yaml @@ -4,6 +4,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: {{ .Release.Name }} + namespace: {{ .Release.Namespace }} {{- if .Values.annotations.config }} annotations: {{- toYaml .Values.annotations.config | nindent 4 }} diff --git a/examples/chart/teleport-kube-agent/templates/config.yaml b/examples/chart/teleport-kube-agent/templates/config.yaml index c5aed3dad9ffa..83fa3f9fc161b 100644 --- a/examples/chart/teleport-kube-agent/templates/config.yaml +++ b/examples/chart/teleport-kube-agent/templates/config.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: {{ .Release.Name }} + namespace: {{ .Release.Namespace }} {{- if .Values.annotations.config }} annotations: {{- toYaml .Values.annotations.config | nindent 4 }}