From 066cb17b63d0795da33f817c1ca14be3253e3ebf Mon Sep 17 00:00:00 2001 From: Puru <5674762+tuladhar@users.noreply.github.com> Date: Mon, 20 Nov 2023 16:23:04 +0545 Subject: [PATCH] Add prefix --- helm/teleport-operator/templates/tbot-configmap.yaml | 2 +- helm/teleport-operator/templates/tbot-deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/helm/teleport-operator/templates/tbot-configmap.yaml b/helm/teleport-operator/templates/tbot-configmap.yaml index bd7bc2ba..e077b005 100644 --- a/helm/teleport-operator/templates/tbot-configmap.yaml +++ b/helm/teleport-operator/templates/tbot-configmap.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: ConfigMap metadata: - name: tbot-config + name: {{ include "resource.default.name" . }}-tbot-config namespace: {{ include "resource.default.namespace" . }} labels: {{- include "labels.common" . | nindent 4 }} diff --git a/helm/teleport-operator/templates/tbot-deployment.yaml b/helm/teleport-operator/templates/tbot-deployment.yaml index e22f344b..09ce19dd 100644 --- a/helm/teleport-operator/templates/tbot-deployment.yaml +++ b/helm/teleport-operator/templates/tbot-deployment.yaml @@ -1,7 +1,7 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: tbot + name: {{ include "resource.default.name" . }}-tbot namespace: {{ include "resource.default.namespace" . }} labels: {{- include "labels.common" . | nindent 4 }} @@ -60,7 +60,7 @@ spec: volumes: - name: config configMap: - name: tbot-config + name: {{ include "resource.default.name" . }}-tbot-config - name: join-sa-token projected: sources: