New 🌊 wave for @helm

Commit 6a1a3503

6a1a35034d09Merged

zhilyaev <[email protected]> · 5 years ago · 8 files · +5 added · ~2 modified · -1 deleted

Description

WIP: docs

Details

Commit
6a1a35034d09
Parent
ce4ddff79940

README.mdmodifiedView file

@@ -115,115 +115,23 @@
115115 redis-b-slave-1 1/1 Running 0 51s
116116 ```
117117
118-## 🔰 Tags
118+## [Documentation](https://zhilyaev.github.io/helmwave/)
119119
120-Suppose the `helmwave.yml.tpl` looks like:
121-
122-```yaml
123-project: my-project
124-version: 0.5.0
125120
121+### Examples
122+ - [How to pass `image.tag` to release?](examples/CI_COMMIT_TAG/README.md)
123+ - [How to pass `podAnnotations.gitCommit` to release?](examples/CI_COMMIT_SHORT_SHA/README.md)
124+ - [How to use environments for your release?](examples/CI_ENVIRONMENT_NAME/README.md)
126125
127-repositories:
128- - name: bitnami
129- url: https://charts.bitnami.com/bitnami
130-
131-
132-.options: &options
133- install: true
134- namespace: my-namespace
135-
136-
137-releases:
138- - name: redis-a
139- chart: bitnami/redis
140- tags:
141- - a
142- - redis
143- options:
144- <<: *options
145-
146- - name: redis-b
147- chart: bitnami/redis
148- tags:
149- - b
150- - redis
151- options:
152- <<: *options
153-
154- - name: memcached-a
155- chart: bitnami/memcached
156- tags:
157- - a
158- - memcached
159- options:
160- <<: *options
161-
162- - name: memcached-b
163- chart: bitnami/memcached
164- tags:
165- - b
166- - memcached
167- options:
168- <<: *options
169-```
170-
171-This command will deploy only `redis-a` & `memcached-a`
172-```shell script
173-$ helmwave -t a deploy
174-```
175-
176-This command will deploy only `redis-a` & `redis-b`
177-```shell script
178-$ helmwave -t redis deploy
179-```
180-
181-
182-This command will deploy only `redis-b`
183-```shell script
184-$ helmwave -t redis,b deploy
185-```
186-
187-
188-## 🔰 Store
126+### [🔰 Store](store.md)
189127 It allows pass you custom values to render release.
190128
191-`helmwave.yml`:
192-
193-```yaml
194-project: my-project
195-version: 0.5.0
129+### [🔰 Tags](tags.md)
130+Use tags for choose specific releases
196131
197-releases:
198- - name: backend
199- chart: my/backend
200- options:
201- install: true
202- store:
203- secret:
204- type: vault
205- path: secret/my/frontend
206- values:
207- - my-custom-values.yml
208-
209- - name: frontend
210- chart: my/frontend
211- options:
212- install: true
213- store:
214- secret:
215- type: vault
216- path: secret/my/frontend
217- values:
218- - my-custom-values.yml
219-```
132+### [🧬 Full `helmwave.yml` config](helmwave.yml.md)
133+All Options
220134
221-`my-custom-values.yml`:
222-```yaml
223-secretForApp:
224- kind: {{ .Release.Store.secret.type }}
225- path: {{ .Release.Store.secret.path | quote }}
226-```
227135
228136 ## 🛠 CLI Reference
229137