-
Notifications
You must be signed in to change notification settings - Fork 0
/
helmfile.yaml
54 lines (51 loc) · 1.13 KB
/
helmfile.yaml
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
49
50
51
52
53
54
environments:
default:
values:
- istio:
enabled: {{ .Values | get "istio.enabled" true }}
---
helmDefaults:
createNamespace: true
repositories:
- name: raw
url: https://bedag.github.io/helm-charts/
releases:
- name: istio-crds
namespace: default
labels:
package-name: istio-crds
chart: raw/raw
version: 2.0.0
condition: istio.enabled
values:
- values/crds.gotmpl
hooks:
- &generate_manifests
events:
- prepare
command: bash
args:
- "-c"
- |
rm -fr values/istio-manifests
istioctl manifest generate -f istiooperator.yaml | kubectl slice -f - -o values/istio-manifests
- name: istio
namespace: istio-system
labels:
package-name: istio
chart: raw/raw
version: 2.0.0
condition: istio.enabled
needs:
- default/istio-crds
values:
- values/not-crds.gotmpl
disableValidation: true
hooks:
- *generate_manifests
- events:
- cleanup
command: bash
args:
- -c
- rm -fr values/istio-manifests