Install Drupal Site - May 2024
June 2, 2026
- 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}
- Create new Github repo
- 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
- Create new DNS name for site
- Open code editor ...
code .
- Modify app-manifest.yaml file. Change to new.values
- Rename ingress file to new hostname.
- Rename the PVC yaml files to .bak (2 of them)
- Update the version of the bitnami image to the latest.
https://hub.docker.com/r/bitnami/drupal/tags
- Get the new Values.file for that version. copy it to folder for new.values
- Update the new.values file - drupal user; password; db username and password; change size to 20M;
- Copy this new.values file to persistent.values.
- Save and commit the change to github.
- Use ArgoCD to add the new repo. (need to past the github2024 private key)
- Deploy the app ... App Name = NAME-deployment; create new namespace - drupal-NAME
- 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
- Modify the Persistent PVC names in the persistent.values file to match the PVCs.
- Change the app-manifest yaml file to use the persistent values.
- Rename the .bak files to .yaml (for the 2 PVC yaml files)
- Commit the code
- Add content to prove persistence.
- Delete the deployment (for the helm and app)
- Delete the new namespace to rid all services
kubectl delete ns [NAME}
- Edit the PVs and remove the ClaimRef section (x2)
- Using ARGOCD - redeploy the app.
- Login and confirm the site has the prior content.