6 changed files with 1 additions and 80 deletions
@ -1 +0,0 @@ |
|||||
name: wordpress |
|
@ -1,55 +0,0 @@ |
|||||
# 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://charts.helm.sh/stable |
|
||||
``` |
|
||||
|
|
||||
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 |
|
||||
``` |
|
||||
|
|
||||
### Subchart Note |
|
||||
|
|
||||
The wordpress chart referenced in this example contains a subchart for mariadb as specified in the requirements.yaml file of the wordpress chart: |
|
||||
```yaml |
|
||||
- name: mariadb |
|
||||
version: 5.x.x |
|
||||
repository: https://charts.helm.sh/stable |
|
||||
condition: mariadb.enabled |
|
||||
tags: |
|
||||
- wordpress-database |
|
||||
``` |
|
||||
|
|
||||
In order to disable this chart, you must set the value to false for both `mariadb.enabled` and `wordpress.mariadb.enabled`. The first is used by the mariadb subchart condition field, the second is used by the wordpress chart deployment template. An example demonstration is available in the values-nomaria.yaml file: |
|
||||
```yaml |
|
||||
mariadb: |
|
||||
enabled: false |
|
||||
|
|
||||
wordpress: |
|
||||
wordpressPassword: foo |
|
||||
mariadb: |
|
||||
enabled: false |
|
||||
externalDatabase: |
|
||||
host: localhost |
|
||||
user: bn_wordpress |
|
||||
password: "" |
|
||||
database: bitnami_wordpress |
|
||||
port: 3306 |
|
||||
``` |
|
@ -1,4 +0,0 @@ |
|||||
dependencies: |
|
||||
- name: wordpress |
|
||||
version: 5.0.2 |
|
||||
repository: https://charts.helm.sh/stable |
|
@ -1,13 +0,0 @@ |
|||||
mariadb: |
|
||||
enabled: false |
|
||||
|
|
||||
wordpress: |
|
||||
wordpressPassword: foo |
|
||||
mariadb: |
|
||||
enabled: false |
|
||||
externalDatabase: |
|
||||
host: localhost |
|
||||
user: bn_wordpress |
|
||||
password: "" |
|
||||
database: bitnami_wordpress |
|
||||
port: 3306 |
|
@ -1,7 +0,0 @@ |
|||||
wordpress: |
|
||||
wordpressPassword: foo |
|
||||
mariadb: |
|
||||
db: |
|
||||
password: bar |
|
||||
rootUser: |
|
||||
password: baz |
|
@ -1 +1,2 @@ |
|||||
name: guestbook |
name: guestbook |
||||
|
version: 1.0 |
||||
|
Loading…
Reference in new issue