Start managing namespaces with Helmfile #33

Merged
allanger merged 1 commits from refs/pull/33/head into main 2023-03-07 17:34:39 +00:00
3 changed files with 24 additions and 0 deletions

View File

@ -45,3 +45,6 @@ releases:
bases: bases:
- ../environments.yaml - ../environments.yaml
- ../repositories.yaml - ../repositories.yaml
helmfiles:
- namespaces.yaml

View File

@ -0,0 +1,10 @@
---
releases:
- name: namespaces
chart: bedag/raw
version: 2.0.0
values:
- ./values/values.namespaces.yaml
bases:
- ../environments.yaml
- ../repositories.yaml

View File

@ -0,0 +1,11 @@
---
ns:
- name: monitoring
templates:
- |
{{ range .Values.ns }}
apiVersion: v1
kind: Namespace
metadata:
name: {{ .name }}
{{ end }}