NLS Lab
← Back to Blog

Install Drupal Site - May 2024

June 2, 2026
  1. Clone the core repo from github.  (https://github.com/williamhdean/drupal-bitnami-whdvalues).

clone git@github.com:williamhdean/drupal-bitnami-whdvalues.git ./{NEW FOLDER NAME}

  1. Create new Github repo
  2. Check files into the new repo

git init

git add *

git status

git commit -m "clone of drupal-template"

git branch -M main

git remote add origin git@github.com:williamhdean/[NEW REPO NAME].git

git push -u origin main

  1. Create new DNS name for site
  2. Open code editor ...

code .

  1. Modify app-manifest.yaml file.  Change to new.values
  2. Rename ingress file to new hostname.
  3. Rename the PVC yaml files to .bak (2 of them)
  4. Update the version of the bitnami image to the latest.

https://hub.docker.com/r/bitnami/drupal/tags

  1. Get the new Values.file for that version.  copy it to folder for new.values
  2. Update the new.values file - drupal user; password; db username and password; change size to 20M;
  3. Copy this new.values file to persistent.values.
  4. Save and commit the change to github.
  5. Use ArgoCD to add the new repo.   (need to past the github2024 private key)
  6. Deploy the app ... App Name = NAME-deployment; create new namespace - drupal-NAME
  7. While the site is running, use kubectl get pv and find the 2 PVCs created.  Edit the pv's

kubectl edit pv [NAME OF PVs}

Change Delete to Retain

  1. Modify the Persistent PVC names in the persistent.values file to match the PVCs.
  2. Change the app-manifest yaml file to use the persistent values.
  3. Rename the .bak files to .yaml (for the 2 PVC yaml files)
  4. Commit the code
  5. Add content to prove persistence.
  6. Delete the deployment (for the helm and app)
  7. Delete the new namespace to rid all services

kubectl delete ns [NAME}

  1. Edit the PVs and remove the ClaimRef section (x2)
  2. Using ARGOCD - redeploy the app.
  3. Login and confirm the site has the prior content.