-
Notifications
You must be signed in to change notification settings - Fork 1
/
Taskfile.yml
39 lines (34 loc) · 1008 Bytes
/
Taskfile.yml
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
version: "3"
tasks:
template:
desc: "Template this chart for a given realm. USAGE: task template"
cmds:
- |
helm template . \
-f values.yaml
release:
desc: "Release this chart to a given realm. USAGE: task release RELEASE_NAME=ot-agent"
cmds:
- |
helm upgrade {{.RELEASE_NAME}} . \
-f values.yaml
dry-run:
desc: "Do a dry run of a release for this chart. USAGE: task release RELEASE_NAME=ot-agent"
cmds:
- |
helm upgrade --dry-run {{.RELEASE_NAME}} . \
-f values.yaml
install:
desc: "Install this chart to a given realm. USAGE: task install RELEASE_NAME=ot-agent"
cmds:
- |
helm install {{.RELEASE_NAME}} . \
-f values.yaml
lint:
desc: Lint Chart
cmds:
- echo "Installing dependencies for OT Agent chart"
- helm dependency update
- echo 'Dependencies installed. Linting'
- echo "Lint Agent Chart"
- helm lint --strict . -f values.yaml