diff --git a/badhouseplants/helmfile.yaml b/badhouseplants/helmfile.yaml index 8186903..604b1c4 100644 --- a/badhouseplants/helmfile.yaml +++ b/badhouseplants/helmfile.yaml @@ -45,3 +45,6 @@ releases: bases: - ../environments.yaml - ../repositories.yaml + +helmfiles: + - namespaces.yaml diff --git a/badhouseplants/namespaces.yaml b/badhouseplants/namespaces.yaml new file mode 100644 index 0000000..5421b9d --- /dev/null +++ b/badhouseplants/namespaces.yaml @@ -0,0 +1,10 @@ +--- +releases: + - name: namespaces + chart: bedag/raw + version: 2.0.0 + values: + - ./values/values.namespaces.yaml +bases: + - ../environments.yaml + - ../repositories.yaml diff --git a/badhouseplants/values/values.namespaces.yaml b/badhouseplants/values/values.namespaces.yaml new file mode 100644 index 0000000..93e1841 --- /dev/null +++ b/badhouseplants/values/values.namespaces.yaml @@ -0,0 +1,11 @@ +--- +ns: + - name: monitoring +templates: + - | + {{ range .Values.ns }} + apiVersion: v1 + kind: Namespace + metadata: + name: {{ .name }} + {{ end }}