New 🌊 wave for @helm

Commit 839a7d69

839a7d6986b5Merged

zhilyaev <[email protected]> Β· 6 years ago Β· 1 file Β· ~1 modified

Description

0.2.0 Store Feature

Details

Commit
839a7d6986b5
Parent
eb6c2d953679

README.mdmodifiedView file

@@ -15,29 +15,34 @@
1515
1616 > Inspired by the [helmfile](https://github.com/roboll/helmfile)
1717
18-## Π‘omparison
19- item | 🌊 HelmWave | helmfile
20--------------| ------------| -----------
21-Docker image | 23 mb | 190 mb
18+
19+## Comparison
20+ πŸš€ Features | 🌊 HelmWave | helmfile
21+-------------| :------------:|:-----------:
22+Docker image | 23 mb | 190 mb
2223 Without helm binary |βœ…|❌
23-All options helm|βœ…| partially
24-Helm version | only 3 | 2 and 3
25-Parallel helm install/upgarde |βœ…|❌
24+All options helm|βœ…|partially
25+Helm 3 |βœ…|βœ…
26+Helm 2 |❌|βœ…
27+Parallel helm install/upgrade |βœ…|❌
2628 Repository Skipping|βœ…|❌
2729 Install only needs repositories|βœ…|❌
28-Tags|βœ…| labels
30+Tags|βœ…| You can use labels
31+Store|βœ…| You can use labels
2932 Planfile|βœ…|❌
3033 Sprig | βœ…|βœ…
31-Call helm | via Golang Module | shell executor
34+Call helm | via Golang Module | Shell Executor
35+Speed of deploy <sup>[*]</sup> | 10 sec | 2 min
3236
37+`*` - WIP
3338
3439 ## πŸ“₯ Installation
3540
3641 - Download one of [releases](https://github.com/zhilyaev/helmwave/releases)
37- - `$ wget -c https://github.com/zhilyaev/helmwave/releases/download/0.1.6/helmwave-0.1.6-linux-amd64.tar.gz -O - | tar -xz && cp -f helmwave /usr/local/bin/`
42+ - `$ wget -c https://github.com/zhilyaev/helmwave/releases/download/0.2.0/helmwave-0.2.0-linux-amd64.tar.gz -O - | tar -xz && cp -f helmwave /usr/local/bin/`
3843 - Run as a container
39- - `$ docker run diamon/helmwave:0.1.6`
40- - `$ docker run --entrypoint=ash -it --rm --name helmwave diamon/helmwave:0.1.6`
44+ - `$ docker run diamon/helmwave:0.2.0`
45+ - `$ docker run --entrypoint=ash -it --rm --name helmwave diamon/helmwave:0.2.0`
4146
4247 ### Build
4348
@@ -59,7 +64,7 @@
5964
6065 ```yaml
6166 project: my-project
62-version: 0.1.6
67+version: 0.2.0
6368
6469
6570 repositories:
@@ -111,7 +116,7 @@
111116
112117 ```yaml
113118 project: my-project
114-version: 0.1.6
119+version: 0.2.0
115120
116121
117122 repositories:
@@ -174,6 +179,47 @@
174179 $ helmwave -t redis,b deploy
175180 ```
176181
182+
183+## πŸ”° Store
184+It allows pass you custom values to render release.
185+
186+`helmwave.yml`:
187+
188+```yaml
189+project: my-project
190+version: 0.2.0
191+
192+releases:
193+ - name: backend
194+ chart: my/backend
195+ options:
196+ install: true
197+ store:
198+ secret:
199+ type: vault
200+ path: secret/my/frontend
201+ values:
202+ - my-custom-values.yml
203+
204+ - name: frontend
205+ chart: my/frontend
206+ options:
207+ install: true
208+ store:
209+ secret:
210+ type: vault
211+ path: secret/my/frontend
212+ values:
213+ - my-custom-values.yml
214+```
215+
216+`my-custom-values.yml`:
217+```yaml
218+secretForApp:
219+ kind: {{ .Release.Store.secret.type }}
220+ path: {{ .Release.Store.secret.path | quote }}
221+```
222+
177223 ## πŸ›  CLI Reference
178224
179225 ```console
@@ -184,7 +230,7 @@
184230 helmwave [global options] command [command options] [arguments...]
185231
186232 VERSION:
187- 0.1.6
233+ 0.2.0
188234
189235 DESCRIPTION:
190236 πŸ– This tool helps you compose your helm releases!
@@ -217,7 +263,7 @@
217263
218264 ```yaml
219265 project: {{ env "CI_PROJECT_NAME" }}
220-version: 0.1.6
266+version: 0.2.0
221267
222268
223269 repositories:
@@ -249,7 +295,7 @@
249295
250296 ```yaml
251297 project: my-project
252-version: 0.1.6
298+version: 0.2.0
253299
254300
255301 repositories:
@@ -280,7 +326,7 @@
280326
281327 ```yaml
282328 project: my-project
283- version: 0.1.6
329+ version: 0.2.0
284330 repositories:
285331 - name: bitnami
286332 url: https://charts.bitnami.com/bitnami
@@ -398,7 +444,7 @@
398444
399445 ```yaml
400446 project: my
401- version: 0.1.6
447+ version: 0.2.0
402448
403449
404450 repositories:
@@ -432,7 +478,7 @@
432478
433479 ```yaml
434480 project: my
435- version: 0.1.6
481+ version: 0.2.0
436482
437483 repositories:
438484 - name: bitnami
@@ -456,16 +502,6 @@
456502
457503
458504
459-## πŸš€ Features
460-
461-- [x] Helm release is working via official golang module [helm](https://github.com/helm/helm/tree/master/pkg)
462-- [x] Minimal docker image without helm binary or another plugins
463-- [x] Support helm repositories
464-- [x] Parallel applying helm releases
465-- [x] Templating helmwave.yml
466-- [x] Templating values
467-
468-
469505 ## πŸ›Έ Coming soon...
470506 - [ ] Dependencies helm release
471507 - [ ] OCI, testing...
@@ -513,7 +549,7 @@
513549 resetvalues: false
514550 reusevalues: false
515551 recreate: false
516- maxhistory: 0 # infinity
552+ maxhistory: 0
517553 atomic: false
518554 cleanuponfail: false
519555 subnotes: false