Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Specification
Directory layout:
```
.
├── base
│ ├── beaver.yml
│ ├── odoo.yml
│ └── postgres.yml
├── prod
│ ├── odoo.yml
│ └── postgres.yml
├── test
│ ├── beaver.yml
│ └── odoo.yml
└── vendir.yml
```
- `beaver.yml`: beaver.cloudcrane.io config file.
- filename is mandatory, cannot use another name (must be uniq per project)
- `<other-files>.yml`: charts (static) values files
Command: `beaver build <namespace>`
Should build charts, exemple:
```sh
helm template postgresql vendor/helm/postgresql \
--namespace <namespace> \
-f /tmp/values-above.yaml \
-f base/postgres.yaml \
(if ./<namespace>/postgres.yaml then -f ./<namespace>/postgres.yaml fi) \
> /tmp/resources.yaml
```
if ./base/ytt then
# TODO: exec ytt patches
fi
if ./<namespace>/beaver.yaml then
# TODO: exec beaver build
fi
if ./<namespace>/ytt then
# TODO: exec ytt patches
fi