chart: render the release namespace on every resource
Set metadata.namespace from .Release.Namespace on the ConfigMap, Service, PVC, Deployment and Ingress. This keeps the chart correct when a consumer does not run Kustomize's namespace transformer, and makes the rendered manifests explicit about where they belong. Bump the chart to 0.1.3.
This commit is contained in:
1 parent
0ac226b011
commit
b86d9feb8b
7 files changed
+9
-4
No files matched your search
@@ -2,6 +2,7 @@ apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ include "audiomanager.fullname" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
{{- include "audiomanager.labels" . | nindent 4 }}
|
||||
spec:
|
||||
|
||||
Reference in new issue
Block a user