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.
18 lines
432 B
YAML
18 lines
432 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: {{ include "audiomanager.fullname" . }}-library
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{- include "audiomanager.labels" . | nindent 4 }}
|
|
data:
|
|
library.yaml: |
|
|
library:
|
|
folders:
|
|
{{- range .Values.library.folders }}
|
|
- id: {{ .id }}
|
|
name: {{ .name | quote }}
|
|
type: {{ .type }}
|
|
path: {{ .path | quote }}
|
|
{{- end }}
|