Start managing namespaces with Helmfile
(#33)
Reviewed-on: https://git.badhouseplants.net/badhouseplants/k8s-cluster-config/pulls/33
This commit is contained in:
parent
bbefd9ce54
commit
fd22ff01cb
@ -45,3 +45,6 @@ releases:
|
||||
bases:
|
||||
- ../environments.yaml
|
||||
- ../repositories.yaml
|
||||
|
||||
helmfiles:
|
||||
- namespaces.yaml
|
||||
|
10
badhouseplants/namespaces.yaml
Normal file
10
badhouseplants/namespaces.yaml
Normal 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
|
11
badhouseplants/values/values.namespaces.yaml
Normal file
11
badhouseplants/values/values.namespaces.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
ns:
|
||||
- name: monitoring
|
||||
templates:
|
||||
- |
|
||||
{{ range .Values.ns }}
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: {{ .name }}
|
||||
{{ end }}
|
Reference in New Issue
Block a user