From ae2c61e3479c2cdb503f349e70ac7b6c83e95160 Mon Sep 17 00:00:00 2001 From: Gus Luxton Date: Thu, 24 Mar 2022 00:56:55 -0300 Subject: [PATCH] [v9] Backport: "helm: Adds missing namespaces to ConfigMap (#11032)" (#11343) --- 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 }}