🔧(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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user