forked from argoproj/argocd-example-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add helm-dependency example demonstrating customization of OTS chart
- Loading branch information
Showing
5 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
name: wordpress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Helm Dependencies | ||
|
||
This example application demonstrates how an OTS (off-the-shelf) helm chart can be retrieved and | ||
pinned to a specific helm sem version from an upstream helm repository, and customized using a custom | ||
values.yaml in the private git repository. | ||
|
||
In this example, the wordpress application is pulled from the stable helm repo, and pinned to v5.0.2: | ||
|
||
```yaml | ||
dependencies: | ||
- name: wordpress | ||
version: 5.0.2 | ||
repository: https://kubernetes-charts.storage.googleapis.com | ||
``` | ||
A custom values.yaml is used to customize the parameters of the wordpress helm chart: | ||
```yaml | ||
wordpress: | ||
wordpressPassword: foo | ||
mariadb: | ||
db: | ||
password: bar | ||
rootUser: | ||
password: baz | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dependencies: | ||
- name: wordpress | ||
version: 5.0.2 | ||
repository: https://kubernetes-charts.storage.googleapis.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
wordpress: | ||
wordpressPassword: foo | ||
mariadb: | ||
db: | ||
password: bar | ||
rootUser: | ||
password: baz |