Add helm-dependency example demonstrating customization of OTS chart
parent
8c06d23268
commit
58594acf36
|
@ -12,5 +12,6 @@ to explore ArgoCD and GitOps!
|
||||||
| [jsonnet-guestbook](jsonnet-guestbook/) | The guestbook application as a raw jsonnet |
|
| [jsonnet-guestbook](jsonnet-guestbook/) | The guestbook application as a raw jsonnet |
|
||||||
| [kustomize-guestbook](kustomize-guestbook/) | The guestbook application as a kustomize app |
|
| [kustomize-guestbook](kustomize-guestbook/) | The guestbook application as a kustomize app |
|
||||||
| [pre-post-sync](pre-post-sync/) | Demonstrates Argo CD PreSync and PostSync hooks |
|
| [pre-post-sync](pre-post-sync/) | Demonstrates Argo CD PreSync and PostSync hooks |
|
||||||
|
| [helm-dependency](helm-dependency/) | Demonstrates how to customize an OTS (off-the-shelf) helm chart from an upstream repo |
|
||||||
| [blue-green-deploy](blue-green-deploy/) | Demonstrates an Argo CD Sync hook which performs a blue/green deployment |
|
| [blue-green-deploy](blue-green-deploy/) | Demonstrates an Argo CD Sync hook which performs a blue/green deployment |
|
||||||
| [sock-shop](sock-shop/) | A microservices demo application (https://microservices-demo.github.io) |
|
| [sock-shop](sock-shop/) | A microservices demo application (https://microservices-demo.github.io) |
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
name: wordpress
|
|
@ -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
|
||||||
|
```
|
|
@ -0,0 +1,4 @@
|
||||||
|
dependencies:
|
||||||
|
- name: wordpress
|
||||||
|
version: 5.0.2
|
||||||
|
repository: https://kubernetes-charts.storage.googleapis.com
|
|
@ -0,0 +1,7 @@
|
||||||
|
wordpress:
|
||||||
|
wordpressPassword: foo
|
||||||
|
mariadb:
|
||||||
|
db:
|
||||||
|
password: bar
|
||||||
|
rootUser:
|
||||||
|
password: baz
|
Loading…
Reference in New Issue