|
@@ -11,8 +11,7 @@ Trademarks: This software listing is packaged by Bitnami. The respective tradema
|
|
|
## TL;DR
|
|
|
|
|
|
```console
|
|
|
-helm repo add my-repo https://charts.bitnami.com/bitnami
|
|
|
-helm install my-release my-repo/drupal
|
|
|
+helm install my-release oci://registry-1.docker.io/bitnamicharts/drupal
|
|
|
```
|
|
|
|
|
|
## Introduction
|
|
@@ -35,8 +34,7 @@ Bitnami charts can be used with [Kubeapps](https://kubeapps.dev/) for deployment
|
|
|
To install the chart with the release name `my-release`:
|
|
|
|
|
|
```console
|
|
|
-helm repo add my-repo https://charts.bitnami.com/bitnami
|
|
|
-helm install my-release my-repo/drupal
|
|
|
+helm install my-release oci://registry-1.docker.io/bitnamicharts/drupal
|
|
|
```
|
|
|
|
|
|
The command deploys Drupal on the Kubernetes cluster in the default configuration. The [Parameters](#parameters) section lists the parameters that can be configured during installation.
|
|
@@ -319,7 +317,7 @@ Specify each parameter using the `--set key=value[,key=value]` argument to `helm
|
|
|
```console
|
|
|
helm install my-release \
|
|
|
--set drupalUsername=admin,drupalPassword=password,mariadb.auth.rootPassword=secretpassword \
|
|
|
- my-repo/drupal
|
|
|
+ oci://registry-1.docker.io/bitnamicharts/drupal
|
|
|
```
|
|
|
|
|
|
The above command sets the Drupal administrator account username and password to `admin` and `password` respectively. Additionally, it sets the MariaDB `root` user password to `secretpassword`.
|
|
@@ -329,7 +327,7 @@ The above command sets the Drupal administrator account username and password to
|
|
|
Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart. For example,
|
|
|
|
|
|
```console
|
|
|
-helm install my-release -f values.yaml my-repo/drupal
|
|
|
+helm install my-release -f values.yaml oci://registry-1.docker.io/bitnamicharts/drupal
|
|
|
```
|
|
|
|
|
|
> **Tip**: You can use the default [values.yaml](values.yaml)
|
|
@@ -380,7 +378,7 @@ See the [Parameters](#parameters) section to configure the PVC or to disable per
|
|
|
3. Install the chart
|
|
|
|
|
|
```console
|
|
|
-helm install my-release --set persistence.existingClaim=PVC_NAME my-repo/drupal
|
|
|
+helm install my-release --set persistence.existingClaim=PVC_NAME oci://registry-1.docker.io/bitnamicharts/drupal
|
|
|
```
|
|
|
|
|
|
### Host path
|
|
@@ -396,7 +394,7 @@ helm install my-release --set persistence.existingClaim=PVC_NAME my-repo/drupal
|
|
|
2. Install the chart
|
|
|
|
|
|
```console
|
|
|
- helm install my-release --set persistence.hostPath=/PATH/TO/HOST/MOUNT my-repo/drupal
|
|
|
+ helm install my-release --set persistence.hostPath=/PATH/TO/HOST/MOUNT oci://registry-1.docker.io/bitnamicharts/drupal
|
|
|
```
|
|
|
|
|
|
This will mount the `drupal-data` volume into the `hostPath` directory. The site data will be persisted if the mount path contains valid data, else the site data will be initialized at first launch.
|
|
@@ -470,13 +468,13 @@ export MARIADB_PVC=$(kubectl get pvc -l app=mariadb,component=master,release=dru
|
|
|
Upgrade your release (maintaining the version) disabling MariaDB and scaling Drupal replicas to 0:
|
|
|
|
|
|
```console
|
|
|
-helm upgrade drupal my-repo/drupal --set drupalPassword=$DRUPAL_PASSWORD --set replicaCount=0 --set mariadb.enabled=false --version 8.2.1
|
|
|
+helm upgrade drupal oci://registry-1.docker.io/bitnamicharts/drupal --set drupalPassword=$DRUPAL_PASSWORD --set replicaCount=0 --set mariadb.enabled=false --version 8.2.1
|
|
|
```
|
|
|
|
|
|
Finally, upgrade you release to 9.0.0 reusing the existing PVC, and enabling back MariaDB:
|
|
|
|
|
|
```console
|
|
|
-helm upgrade drupal my-repo/drupal --set mariadb.primary.persistence.existingClaim=$MARIADB_PVC --set mariadb.auth.rootPassword=$MARIADB_ROOT_PASSWORD --set mariadb.auth.password=$MARIADB_PASSWORD --set drupalPassword=$DRUPAL_PASSWORD
|
|
|
+helm upgrade drupal oci://registry-1.docker.io/bitnamicharts/drupal --set mariadb.primary.persistence.existingClaim=$MARIADB_PVC --set mariadb.auth.rootPassword=$MARIADB_ROOT_PASSWORD --set mariadb.auth.password=$MARIADB_PASSWORD --set drupalPassword=$DRUPAL_PASSWORD
|
|
|
```
|
|
|
|
|
|
You should see the lines below in MariaDB container logs:
|