From 4387d147ed6d604f6673feefaf96abae8e50cf1a Mon Sep 17 00:00:00 2001 From: Jonas Juselius Date: Thu, 11 Dec 2025 18:08:17 +0100 Subject: [PATCH] fix: move drupal configs to modules rather than sites --- values/drupal/manifests/deployment.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/values/drupal/manifests/deployment.yaml b/values/drupal/manifests/deployment.yaml index 9d615873..8ef3eeb6 100644 --- a/values/drupal/manifests/deployment.yaml +++ b/values/drupal/manifests/deployment.yaml @@ -21,7 +21,7 @@ spec: command: ["/bin/bash", "-c"] args: [ - "mkdir -p /web/{modules,profiles,themes,sites/default/files}; chown -R www-data:www-data /web/{sites,modules,profiles,themes}; touch /web/sites/default/files/composer.json; echo done.", + "mkdir -p /web/{modules/patches,profiles,themes,sites/default}; chown -R www-data:www-data /web/{sites,modules,profiles,themes}; touch /web/modules/composer.json; echo done.", ] volumeMounts: - mountPath: /web @@ -65,7 +65,10 @@ spec: subPath: sites - mountPath: /opt/drupal/composer.json name: drupal - subPath: sites/default/files/composer.json + subPath: modules/composer.json + - mountPath: /opt/drupal/patches + name: drupal + subPath: modules/patches volumes: - name: drupal persistentVolumeClaim: