New 🌊 wave for @helm

Commit 831952ea

831952ea1d45Merged

Π”ΠΌΠΈΡ‚Ρ€ΠΈΠΉ ЖиляСв <[email protected]> Β· 6 years ago Β· 2 files Β· ~2 modified

Description

release 0.1.4

Details

Commit
831952ea1d45
Parent
4cac7f4ceb5d

README.mdmodifiedView file

@@ -11,9 +11,20 @@
1111 - `$ wget -o ...`
1212 - `$ curl -o ...`
1313 - Run as a container
14- - `$ docker run diamon/helmwave:0.1.1`
15- - `$ docker run --entrypoint=ash -it --rm --name helmwave diamon/helmwave:0.1.1`
14+ - `$ docker run diamon/helmwave:0.1.4`
15+ - `$ docker run --entrypoint=ash -it --rm --name helmwave diamon/helmwave:0.1.4`
16+
17+### Build
18+
19+> golang:1.15
1620
21+```bash
22+$ export GO111MODULE=on
23+$ git clone [email protected]:zhilyaev/helmwave.git $GOPATH/src/github.com/zhilyaev/helmwave
24+$ cd $GOPATH/src/github.com/zhilyaev/helmwave
25+$ go build github.com/zhilyaev/helmwave/cmd/helmwave
26+$ mv helmwave /usr/local/bin
27+```
1728
1829 ## πŸ”° Getting Started
1930
@@ -23,7 +34,7 @@
2334
2435 ```yaml
2536 project: my-project
26-version: 0.1.3
37+version: 0.1.4
2738
2839
2940 repositories:
@@ -75,7 +86,7 @@
7586
7687 ```yaml
7788 project: my-project
78-version: 0.1.3
89+version: 0.1.4
7990
8091
8192 repositories:
@@ -148,7 +159,7 @@
148159 helmwave [global options] command [command options] [arguments...]
149160
150161 VERSION:
151- 0.1.3
162+ 0.1.4
152163
153164 DESCRIPTION:
154165 πŸ– This tool helps you compose your helm releases!
@@ -181,7 +192,7 @@
181192
182193 ```yaml
183194 project: {{ env "CI_PROJECT_NAME" }}
184-version: 0.1.1
195+version: 0.1.4
185196
186197
187198 repositories:
@@ -213,7 +224,7 @@
213224
214225 ```yaml
215226 project: my-project
216-version: 0.1.1
227+version: 0.1.4
217228
218229
219230 repositories:
@@ -233,6 +244,104 @@
233244 <<: *options
234245 ```
235246
247+### Planfile, plan
248+
249+This command will generate helmwave.plan.
250+
251+`helmwave.plan` is an object save to yaml.
252+
253+<details>
254+ <summary>helmwave.plan looks like</summary>
255+
256+ ```
257+ project: my-project
258+ version: 0.1.4
259+ repositories:
260+ - name: bitnami
261+ url: https://charts.bitnami.com/bitnami
262+ username: ""
263+ password: ""
264+ certfile: ""
265+ keyfile: ""
266+ cafile: ""
267+ insecureskiptlsverify: false
268+ force: false
269+ releases:
270+ - name: redis-a
271+ chart: bitnami/redis
272+ tags: []
273+ values: []
274+ options:
275+ chartpathoptions:
276+ cafile: ""
277+ certfile: ""
278+ keyfile: ""
279+ insecureskiptlsverify: false
280+ keyring: ""
281+ password: ""
282+ repourl: ""
283+ username: ""
284+ verify: false
285+ version: ""
286+ install: true
287+ devel: false
288+ namespace: my-namespace
289+ skipcrds: false
290+ timeout: 0s
291+ wait: false
292+ disablehooks: false
293+ dryrun: false
294+ force: false
295+ resetvalues: false
296+ reusevalues: false
297+ recreate: false
298+ maxhistory: 0
299+ atomic: false
300+ cleanuponfail: false
301+ subnotes: false
302+ description: ""
303+ postrenderer: null
304+ disableopenapivalidation: false
305+ - name: redis-b
306+ chart: bitnami/redis
307+ tags: []
308+ values: []
309+ options:
310+ chartpathoptions:
311+ cafile: ""
312+ certfile: ""
313+ keyfile: ""
314+ insecureskiptlsverify: false
315+ keyring: ""
316+ password: ""
317+ repourl: ""
318+ username: ""
319+ verify: false
320+ version: ""
321+ install: true
322+ devel: false
323+ namespace: my-namespace
324+ skipcrds: false
325+ timeout: 0s
326+ wait: false
327+ disablehooks: false
328+ dryrun: false
329+ force: false
330+ resetvalues: false
331+ reusevalues: false
332+ recreate: false
333+ maxhistory: 0
334+ atomic: false
335+ cleanuponfail: false
336+ subnotes: false
337+ description: ""
338+ postrenderer: null
339+ disableopenapivalidation: false
340+ ```
341+</details>
342+
343+
344+
236345 ## πŸ“„ Templating
237346 HelmWave uses [Go templates](https://godoc.org/text/template) for templating.
238347
@@ -245,7 +354,7 @@
245354
246355 I am working for added more functions.
247356
248-## Features
357+## πŸš€ Features
249358
250359 - [x] Helm release is working via official golang module [helm](https://github.com/helm/helm/tree/master/pkg)
251360 - [x] Minimal docker image without helm binary or another plugins
@@ -255,18 +364,19 @@
255364 - [x] Templating values
256365
257366
258-## Coming soon...
367+## πŸ›Έ Coming soon...
259368 - [ ] Dependencies helm release
260369 - [ ] OCI, testing...
370+- [ ] Force Update repositories
261371 - [ ] Formatting output
262372 - [ ] Applying from planfile
263373 - [ ] Dependencies helmwave
264374 - [ ] More templating functions
265375
266376
267-## Full Configuration
377+## 🧬 Full Configuration
268378
269-### Repository
379+### πŸ—„ Repository
270380
271381 ```yaml
272382 - name: bitnami
@@ -281,7 +391,7 @@
281391 ```
282392
283393
284-### Release
394+### πŸ›₯ Release
285395
286396 ```yaml
287397 - name: redis
@@ -309,14 +419,14 @@
309419 postrenderer: null
310420 disableopenapivalidation: false
311421 chartpathoptions:
312- cafile: ""
313- certfile: ""
314- keyfile: ""
315- insecureskiptlsverify: false
316- keyring: ""
317- password: ""
318- repourl: ""
319- username: ""
320- verify: false
321- version: ""
422+ cafile: ""
423+ certfile: ""
424+ keyfile: ""
425+ insecureskiptlsverify: false
426+ keyring: ""
427+ password: ""
428+ repourl: ""
429+ username: ""
430+ verify: false
431+ version: ""
322432 ```