fix: move drupal configs to modules rather than sites
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user