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 51s116116
```117117
118-
## 🔰 Tags118+
## [Documentation](https://zhilyaev.github.io/helmwave/)119119
120-
Suppose the `helmwave.yml.tpl` looks like:121-
122-
```yaml123-
project: my-project124-
version: 0.5.0125120
121+
### Examples122+
- [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: bitnami129-
url: https://charts.bitnami.com/bitnami130-
131-
132-
.options: &options133-
install: true134-
namespace: my-namespace135-
136-
137-
releases:138-
- name: redis-a139-
chart: bitnami/redis140-
tags:141-
- a142-
- redis143-
options:144-
<<: *options145-
146-
- name: redis-b147-
chart: bitnami/redis148-
tags:149-
- b150-
- redis151-
options:152-
<<: *options153-
154-
- name: memcached-a155-
chart: bitnami/memcached156-
tags:157-
- a158-
- memcached159-
options:160-
<<: *options161-
162-
- name: memcached-b163-
chart: bitnami/memcached164-
tags:165-
- b166-
- memcached167-
options:168-
<<: *options169-
```170-
171-
This command will deploy only `redis-a` & `memcached-a`172-
```shell script173-
$ helmwave -t a deploy174-
```175-
176-
This command will deploy only `redis-a` & `redis-b`177-
```shell script178-
$ helmwave -t redis deploy179-
```180-
181-
182-
This command will deploy only `redis-b`183-
```shell script184-
$ helmwave -t redis,b deploy185-
```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-project195-
version: 0.5.0129+
### [🔰 Tags](tags.md)130+
Use tags for choose specific releases196131
197-
releases:198-
- name: backend199-
chart: my/backend200-
options:201-
install: true202-
store:203-
secret:204-
type: vault205-
path: secret/my/frontend206-
values:207-
- my-custom-values.yml208-
209-
- name: frontend210-
chart: my/frontend211-
options:212-
install: true213-
store:214-
secret:215-
type: vault216-
path: secret/my/frontend217-
values:218-
- my-custom-values.yml219-
```132+
### [🧬 Full `helmwave.yml` config](helmwave.yml.md)133+
All Options220134
221-
`my-custom-values.yml`:222-
```yaml223-
secretForApp:224-
kind: {{ .Release.Store.secret.type }}225-
path: {{ .Release.Store.secret.path | quote }}226-
```227135
228136
## 🛠 CLI Reference229137
docs/examples/CI_COMMIT_SHORT_SHA/README.mdaddedView file
Loading diff…
docs/examples/CI_COMMIT_TAG/README.mdaddedView file
Loading diff…
docs/examples/CI_ENVIRONMENT_NAME/README.mdaddedView file
Loading diff…
docs/examples/CI_ENVIRONMENT_NAME/index.mddeleted
Loading diff…
docs/index.mdmodifiedView file
Loading diff…
docs/store.mdaddedView file
Loading diff…