Skip to content

Commit 53e28ff

Browse files
authored
feat: update helm samples to use helm3 (argoproj#78)
* helm3 guestbook * helm3 blue-green * helm3 dependencies * helm3 plugin * helm3 plugin * helm3 plugin * helm3 apps * helm3 dependency * helm3 dependency * helm3 dependency * helm3 fix readme
1 parent 466269d commit 53e28ff

File tree

8 files changed

+120
-20
lines changed

8 files changed

+120
-20
lines changed

apps/Chart.yaml

+21-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
1-
apiVersion: v1
2-
appVersion: "1.0"
3-
description: Applications
1+
apiVersion: v2
42
name: applications
3+
description: Applications
4+
5+
# A chart can be either an 'application' or a 'library' chart.
6+
#
7+
# Application charts are a collection of templates that can be packaged into versioned archives
8+
# to be deployed.
9+
#
10+
# Library charts provide useful utilities or functions for the chart developer. They're included as
11+
# a dependency of application charts to inject those utilities and functions into the rendering
12+
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
13+
type: application
14+
15+
# This is the chart version. This version number should be incremented each time you make changes
16+
# to the chart and its templates, including the app version.
17+
# Versions are expected to follow Semantic Versioning (https://semver.org/)
518
version: 0.1.0
19+
20+
# This is the version number of the application being deployed. This version number should be
21+
# incremented each time you make changes to the application. Versions are not expected to
22+
# follow Semantic Versioning. They should reflect the version the application is using.
23+
appVersion: "1.0"

blue-green/Chart.yaml

+21-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
1-
apiVersion: v1
2-
appVersion: "1.0"
3-
description: A Helm chart for Kubernetes
1+
apiVersion: v2
42
name: helm-guestbook
3+
description: A Helm chart for Kubernetes
4+
5+
# A chart can be either an 'application' or a 'library' chart.
6+
#
7+
# Application charts are a collection of templates that can be packaged into versioned archives
8+
# to be deployed.
9+
#
10+
# Library charts provide useful utilities or functions for the chart developer. They're included as
11+
# a dependency of application charts to inject those utilities and functions into the rendering
12+
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
13+
type: application
14+
15+
# This is the chart version. This version number should be incremented each time you make changes
16+
# to the chart and its templates, including the app version.
17+
# Versions are expected to follow Semantic Versioning (https://semver.org/)
518
version: 0.1.0
19+
20+
# This is the version number of the application being deployed. This version number should be
21+
# incremented each time you make changes to the application. Versions are not expected to
22+
# follow Semantic Versioning. They should reflect the version the application is using.
23+
appVersion: "1.0"

helm-dependency/Chart.yaml

+28-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,28 @@
1-
name: wordpress
1+
apiVersion: v2
2+
name: wordpress
3+
description: A Helm chart for Kubernetes
4+
5+
# A chart can be either an 'application' or a 'library' chart.
6+
#
7+
# Application charts are a collection of templates that can be packaged into versioned archives
8+
# to be deployed.
9+
#
10+
# Library charts provide useful utilities or functions for the chart developer. They're included as
11+
# a dependency of application charts to inject those utilities and functions into the rendering
12+
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
13+
type: application
14+
15+
# This is the chart version. This version number should be incremented each time you make changes
16+
# to the chart and its templates, including the app version.
17+
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18+
version: 0.1.0
19+
20+
# This is the version number of the application being deployed. This version number should be
21+
# incremented each time you make changes to the application. Versions are not expected to
22+
# follow Semantic Versioning. They should reflect the version the application is using.
23+
appVersion: "1.0"
24+
25+
dependencies:
26+
- name: wordpress
27+
version: 9.0.3
28+
repository: https://charts.helm.sh/stable

helm-dependency/requirements.yaml

-4
This file was deleted.

helm-guestbook/Chart.yaml

+21-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
1-
apiVersion: v1
2-
appVersion: "1.0"
3-
description: A Helm chart for Kubernetes
1+
apiVersion: v2
42
name: helm-guestbook
3+
description: A Helm chart for Kubernetes
4+
5+
# A chart can be either an 'application' or a 'library' chart.
6+
#
7+
# Application charts are a collection of templates that can be packaged into versioned archives
8+
# to be deployed.
9+
#
10+
# Library charts provide useful utilities or functions for the chart developer. They're included as
11+
# a dependency of application charts to inject those utilities and functions into the rendering
12+
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
13+
type: application
14+
15+
# This is the chart version. This version number should be incremented each time you make changes
16+
# to the chart and its templates, including the app version.
17+
# Versions are expected to follow Semantic Versioning (https://semver.org/)
518
version: 0.1.0
19+
20+
# This is the version number of the application being deployed. This version number should be
21+
# incremented each time you make changes to the application. Versions are not expected to
22+
# follow Semantic Versioning. They should reflect the version the application is using.
23+
appVersion: "1.0"

plugins/kustomized-helm/Chart.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -1 +1,28 @@
1+
apiVersion: v2
12
name: guestbook
3+
description: A Helm chart for Kubernetes
4+
5+
# A chart can be either an 'application' or a 'library' chart.
6+
#
7+
# Application charts are a collection of templates that can be packaged into versioned archives
8+
# to be deployed.
9+
#
10+
# Library charts provide useful utilities or functions for the chart developer. They're included as
11+
# a dependency of application charts to inject those utilities and functions into the rendering
12+
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
13+
type: application
14+
15+
# This is the chart version. This version number should be incremented each time you make changes
16+
# to the chart and its templates, including the app version.
17+
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18+
version: 0.1.0
19+
20+
# This is the version number of the application being deployed. This version number should be
21+
# incremented each time you make changes to the application. Versions are not expected to
22+
# follow Semantic Versioning. They should reflect the version the application is using.
23+
appVersion: "1.0"
24+
25+
dependencies:
26+
- name: helm-guestbook
27+
version: 0.1.0
28+
repository: file://../../helm-guestbook

plugins/kustomized-helm/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Use following steps to try the application:
1212
- name: kustomized-helm
1313
init:
1414
command: ["/bin/sh", "-c"]
15-
args: ["helm init --client-only && helm dependency build"]
15+
args: ["helm dependency build"]
1616
generate:
1717
command: [sh, -c]
18-
args: ["helm template . > all.yaml && kustomize build"]
18+
args: ["helm template --release-name release-name . > all.yaml && kustomize build"]
1919
```
2020
2121
* create application using `kustomized-helm` as a config management plugin name:

plugins/kustomized-helm/requirements.yaml

-4
This file was deleted.

0 commit comments

Comments
 (0)