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-
## Π‘omparison19-
item | π HelmWave | helmfile 20-
-------------| ------------| ----------- 21-
Docker image | 23 mb | 190 mb18+
19+
## Comparison20+
π Features | π HelmWave | helmfile 21+
-------------| :------------:|:-----------:22+
Docker image | 23 mb | 190 mb2223
Without helm binary |β
|β23-
All options helm|β
| partially24-
Helm version | only 3 | 2 and 325-
Parallel helm install/upgarde |β
|β24+
All options helm|β
|partially25+
Helm 3 |β
|β
26+
Helm 2 |β|β
27+
Parallel helm install/upgrade |β
|β2628
Repository Skipping|β
|β2729
Install only needs repositories|β
|β28-
Tags|β
| labels30+
Tags|β
| You can use labels31+
Store|β
| You can use labels2932
Planfile|β
|β3033
Sprig | β
|β
31-
Call helm | via Golang Module | shell executor34+
Call helm | via Golang Module | Shell Executor35+
Speed of deploy <sup>[*]</sup> | 10 sec | 2 min3236
37+
`*` - WIP 3338
3439
## π₯ Installation3540
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 container39-
- `$ 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
### Build4348
@@ -59,7 +64,7 @@
5964
6065
```yaml6166
project: my-project62-
version: 0.1.667+
version: 0.2.06368
6469
6570
repositories:@@ -111,7 +116,7 @@
111116
112117
```yaml113118
project: my-project114-
version: 0.1.6119+
version: 0.2.0115120
116121
117122
repositories:@@ -174,6 +179,47 @@
174179
$ helmwave -t redis,b deploy175180
```176181
182+
183+
## π° Store 184+
It allows pass you custom values to render release. 185+
186+
`helmwave.yml`:187+
188+
```yaml 189+
project: my-project190+
version: 0.2.0191+
192+
releases:193+
- name: backend194+
chart: my/backend195+
options:196+
install: true197+
store:198+
secret:199+
type: vault200+
path: secret/my/frontend201+
values:202+
- my-custom-values.yml203+
204+
- name: frontend205+
chart: my/frontend206+
options:207+
install: true208+
store:209+
secret:210+
type: vault211+
path: secret/my/frontend212+
values:213+
- my-custom-values.yml214+
```215+
216+
`my-custom-values.yml`:217+
```yaml218+
secretForApp:219+
kind: {{ .Release.Store.secret.type }}220+
path: {{ .Release.Store.secret.path | quote }}221+
```222+
177223
## π CLI Reference178224
179225
```console@@ -184,7 +230,7 @@
184230
helmwave [global options] command [command options] [arguments...]185231
186232
VERSION:187-
0.1.6233+
0.2.0188234
189235
DESCRIPTION:190236
π This tool helps you compose your helm releases!@@ -217,7 +263,7 @@
217263
218264
```yaml219265
project: {{ env "CI_PROJECT_NAME" }}220-
version: 0.1.6266+
version: 0.2.0221267
222268
223269
repositories:@@ -249,7 +295,7 @@
249295
250296
```yaml251297
project: my-project252-
version: 0.1.6298+
version: 0.2.0253299
254300
255301
repositories:@@ -280,7 +326,7 @@
280326
281327
```yaml282328
project: my-project283-
version: 0.1.6329+
version: 0.2.0284330
repositories:285331
- name: bitnami286332
url: https://charts.bitnami.com/bitnami@@ -398,7 +444,7 @@
398444
399445
```yaml400446
project: my401-
version: 0.1.6447+
version: 0.2.0402448
403449
404450
repositories:@@ -432,7 +478,7 @@
432478
433479
```yaml434480
project: my435-
version: 0.1.6481+
version: 0.2.0436482
437483
repositories:438484
- name: bitnami@@ -456,16 +502,6 @@
456502
457503
458504
459-
## π Features460-
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 plugins463-
- [x] Support helm repositories464-
- [x] Parallel applying helm releases465-
- [x] Templating helmwave.yml466-
- [x] Templating values467-
468-
469505
## πΈ Coming soon...470506
- [ ] Dependencies helm release471507
- [ ] OCI, testing...@@ -513,7 +549,7 @@
513549
resetvalues: false514550
reusevalues: false515551
recreate: false516-
maxhistory: 0 # infinity552+
maxhistory: 0517553
atomic: false518554
cleanuponfail: false519555
subnotes: false