Skip to content

Commit a9dc39f

Browse files
authored
Merge pull request #58 from helmwave/0.27.x
0.27.x
2 parents 899def4 + b0c9e61 commit a9dc39f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+541
-404
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ Temporary Items
3131

3232
.idea/
3333
site/
34+
**/.helmwave/

docs/anno.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,13 @@ metadata:
3434

3535
## [kubedog's annotations](https://github.com/werf/kubedog) 🐶
3636

37-
> Kubedog will track all your resources by default.
37+
!!! danger "Kubedog can't be enabled when there are releases in multiple contexts."
38+
3839

3940
[example](examples/kubedog/README.md)
4041

4142
inspired by [werf annotations](https://werf.io/documentation/reference/deploy_annotations.html)
4243

43-
> First step you need enable kubedog for helmwave.
44-
>
45-
> ```shell
46-
> export HELMWAVE_KUBEDOG_ENABLED=true
47-
> ```
48-
4944
---
5045

5146
### `helmwave.dev/track-termination-mode`

docs/assets/yaml-schema-idea-bar.png

65.7 KB
Loading

docs/assets/yaml-schema-idea-file.png

8.74 KB
Loading

docs/assets/yaml-schema-idea.png

121 KB
Loading

docs/assets/yaml-schema-vscode.png

39.7 KB
Loading

docs/ci.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Let's see how we can get it working on popular CI software.
88

99
## :material-github: GitHub action
1010

11-
- [official github action](https://github.com/marketplace/actions/helmwave-installer)
11+
You can use [official github action](https://github.com/marketplace/actions/helmwave-installer)
1212

1313
```yaml
1414
name: Deploy
@@ -24,7 +24,7 @@ jobs:
2424
- uses: helmwave/[email protected]
2525
name: Install helmwave
2626
with:
27-
version: '0.27.2'
27+
version: '0.27.3'
2828
- name: templating helmwave.yml.tpl
2929
run: helmwave yml
3030
- name: plan
@@ -44,12 +44,12 @@ helmwave:
4444
environment:
4545
name: "ref/$CI_COMMIT_REF_SLUG"
4646
image:
47-
name: diamon/helmwave:0.27.2
47+
name: diamon/helmwave:0.27.3
4848
entrypoint: [""]
4949
before_script:
5050
- printenv | grep HELMWAVE
5151
script:
52-
- helmwave yml # if it needs
52+
- helmwave yml
5353
- helmwave build
5454
- helmwave up
5555
artifacts:
@@ -81,7 +81,7 @@ variables:
8181
after_script:
8282
- ls -la $HELMWAVE_PLAN
8383
image:
84-
name: ghcr.io/helmwave/helmwave:0.27.2
84+
name: ghcr.io/helmwave/helmwave:0.27.3
8585
entrypoint: [ '' ]
8686

8787
############### BUILD ################

docs/cli.md

+145-172
Large diffs are not rendered by default.

docs/examples/apps-per-ns/.gitlab-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ deploy to prod:
77
environment:
88
name: prod
99
image:
10-
name: ghcr.io/helmwave/helmwave:0.17.2
10+
name: ghcr.io/helmwave/helmwave:0.27.3
1111
entrypoint: [""]
1212
before_script:
1313
- printenv | grep HELMWAVE

docs/examples/apps-per-ns/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ If you want to install each application in your own namespace.
66

77
**Project structure**
88

9-
```console
9+
```shell
1010
├── README.md
1111
├── helmwave.yml.tpl
1212
├── values

docs/examples/apps-per-ns/helmwave.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.27.2
1+
version: 0.27.3
22

33
repositories:
44
- name: bitnami

docs/examples/apps-per-ns/helmwave.yml.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.27.2
1+
version: 0.27.3
22

33

44
repositories:

docs/examples/built-in-release/README.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,30 @@
11
# Release object
22

3+
> This an example is demonstrating how to use the `release` object.
4+
35
**Project Structure**
46

5-
```console
7+
```shell
68
.
79
├── README.md
810
├── _.yml
911
└── helmwave.yml
1012

1113
```
1214

15+
**Create `helmwave.yml`**
16+
17+
```yaml
18+
{% include "helmwave.yml" %}
19+
```
20+
21+
22+
**Create `_.yml`**
23+
24+
```yaml
25+
{% include "_.yml" %}
26+
```
27+
1328
**Run build**
1429

1530
```shell

docs/examples/built-in-release/helmwave.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ repositories:
44

55
releases:
66
- name: a
7-
chart:
8-
name: bitnami/nginx
7+
chart: bitnami/nginx
98
namespace: test
109
values:
1110
- _.yml
1211

1312
- name: b
14-
chart:
15-
name: bitnami/nginx
13+
chart: bitnami/nginx
1614
namespace: test
1715
values:
1816
- _.yml

docs/examples/hate-umbrella/README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
1-
# Umbrella chart is evil
1+
# ☂️ Umbrella chart is evil
22

33
> Helmwave is only what you actually need.
44
5-
Why Umbrella chart is evil?
5+
Why is Umbrella chart evil?
66

77
- You must keep extra chart.
88
- You have new layer for conventional values.
99
- Umbrella chart doesn't provide separate your environments.
10-
- When sub-chart modified you need fix it twice.
10+
- When sub-chart is modified, you need to fix it twice.
1111

12-
Suppose that you need to describe next architecture.
12+
Suppose that you need to describe the next architecture.
1313

1414
```mermaid
1515
graph LR
1616
frontend --> api --> rabbitmq & minio_s3
1717
consumer --> rabbitmq & minio_s3 & postgresql
1818
```
19+
*If you don't see a graph, please reload the page.*
1920

20-
**helmwave.yml**
21+
Example of **helmwave.yml** for this architecture.
2122

2223
```yaml
2324
{% include "helmwave.yml" %}

docs/examples/hate-umbrella/helmwave.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.27.2
1+
version: 0.27.3
22

33
repositories:
44
- name: bitnami

docs/examples/kubedog/README.md

+12-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
# Kubedog
1+
# 🐶 Kubedog
22

3-
[full documentation](../../anno/#kubedogs)
3+
!!! info "The first thing you need to do is turn on `kubedog`"
4+
5+
```shell
6+
export HELMWAVE_KUBEDOG_ENABLED=true
7+
```
8+
9+
Kubedog will track all your resources by default.
10+
For more information, see the [annotation's documentation](../../anno/#kubedogs).
411

512
**Project Structure**
613

@@ -28,18 +35,18 @@ We are going to use `commonAnnotations`.
2835
2936
**Run**
3037

31-
```console
38+
```shell
3239
helmwave up --build --kubedog
3340
```
3441

3542
or
3643

37-
```console
44+
```shell
3845
export HELMWAVE_KUBEDOG_ENABLED=true
3946
export HELMWAVE_AUTO_BUILD=true
4047
helmwave up
4148
```
4249

43-
Log with helmwave v0.27.2
50+
**Output**
4451

4552
![img.png](img.png)

docs/examples/kubedog/helmwave.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.27.2
1+
version: 0.27.3
22

33
repositories:
44
- name: bitnami
@@ -13,3 +13,5 @@ releases:
1313
- values.yml
1414
namespace: my-redis
1515
create_namespace: true
16+
wait: true
17+
timeout: 3m

docs/examples/oci-private/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Just add `oci://` to your chart name and define a registry.
44

5-
`cat helmwave.yml`
5+
**`cat helmwave.yml`**
66

77
```yaml
88
{% include "helmwave.yml" %}

docs/examples/oci-private/helmwave.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.24.4
1+
version: 0.27.3
22

33
registries:
44
- host: localhost:5000
@@ -9,4 +9,4 @@ releases:
99
- name: my
1010
chart:
1111
name: oci://localhost:5000/my-chart
12-
version: 0.2.0 # prefer
12+
version: 0.2.0 # best practice

docs/examples/oci-public/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OCI public
22

3-
This example demonstrate how to use public repositories with ghcr.io
3+
This example demonstrates how to use public repositories with `ghcr.io`
44

55
`cat helmwave.yml`
66

docs/examples/oci-public/helmwave.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.24.4
1+
version: 0.27.3
22

33
registries:
44
- host: ghcr.io
@@ -7,4 +7,4 @@ releases:
77
- name: my
88
chart:
99
name: oci://ghcr.io/helmwave/unit-test-oci
10-
version: 0.1.0 # prefer
10+
version: 0.1.0 # best practice

docs/examples/pass-git-commit/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Suppose that `CI_COMMIT_SHORT_SHA` contains commit short sha hash.
3838

3939
**Run**
4040

41-
```console
41+
```shell
4242
helmwave build
4343
helmwave up
4444
```

docs/examples/pass-git-commit/helmwave.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.27.2
1+
version: 0.27.3
22

33
repositories:
44
- name: bitnami

docs/examples/pass-git-tag/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ This values will override default values
4242

4343
**Run**
4444

45-
```console
45+
```shell
4646
helmwave build
4747
helmwave up
4848
```

docs/examples/pass-git-tag/helmwave.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.27.2
1+
version: 0.27.3
22

33
releases:
44
- name: my-release

docs/examples/private-github-repo/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Private GitHub repo
22

3-
```console
3+
```shell
44
.
55
├── README.md
66
├── helmwave.yml

docs/examples/private-github-repo/helmwave.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
version: 0.27.2
1+
version: 0.27.3
22

33
repositories:
44
- name: your-private-git-repo-hosted-charts
5-
url: https://[email protected]/foo/bar/master/
5+
url: https://[email protected]/foo/bar/main/
66

77
.options: &options
88
namespace: ips
99
create_namespace: true
10+
wait: true
1011

1112
releases:
1213
- name: hello

docs/examples/private-github-repo/helmwave.yml.tpl

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
version: 0.27.2
1+
version: 0.27.3
22

33
repositories:
44
- name: your-private-git-repo-hosted-charts
5-
url: https://{{ requiredEnv "GITHUB_TOKEN"}}@raw.githubusercontent.com/foo/bar/master/
5+
url: https://{{ requiredEnv "GITHUB_TOKEN"}}@raw.githubusercontent.com/foo/bar/main/
66

77

88
.options: &options
99
namespace: {{ requiredEnv "NS" }}
1010
create_namespace: true
11+
wait: true
1112

1213

1314
releases:

docs/examples/private-gitlab-repo/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Private GitLab repo
22

3-
Learn more about GitLab Helm Registry: https://docs.gitlab.com/ee/user/packages/helm_repository/
3+
Learn more about GitLab Helm Registry [here](https://docs.gitlab.com/ee/user/packages/helm_repository/)
44

5-
```console
5+
```shell
66
.
77
├── README.md
88
└── helmwave.yml.tpl
@@ -20,7 +20,7 @@ Your `.gitlab-ci.yml`
2020
helmwave:
2121
stage: deploy
2222
image:
23-
name: ghcr.io/helmwave/helmwave:0.27.2
23+
name: ghcr.io/helmwave/helmwave:0.27.3
2424
entrypoint: [""]
2525
before_script:
2626
- printenv | grep HELMWAVE

docs/examples/private-gitlab-repo/helmwave.yml.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 0.27.2
1+
version: 0.27.3
22

33
repositories:
44
# Docs: https://docs.gitlab.com/ee/user/packages/helm_repository/

0 commit comments

Comments
 (0)