🔧(helm) add namespace to the templates

The goal of adding a namespace in the templates
is to ensure that resources are deployed
in a specific, possibly isolated part of the Kubernetes cluster.
This helps in organizing resources, managing
permissions, and applying configurations or
limits appropriately within the cluster.
This commit is contained in:
Anthony LC
2024-06-03 10:16:29 +02:00
committed by Anthony LC
parent 211d89cae0
commit 4636c611c6
8 changed files with 8 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ $fullName }}
namespace: {{ .Release.Namespace | quote }}
labels:
{{- include "desk.common.labels" (list . $component) | nindent 4 }}
spec: