fix: move drupal configs to modules rather than sites
This commit is contained in:
@@ -21,7 +21,7 @@ spec:
|
|||||||
command: ["/bin/bash", "-c"]
|
command: ["/bin/bash", "-c"]
|
||||||
args:
|
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:
|
volumeMounts:
|
||||||
- mountPath: /web
|
- mountPath: /web
|
||||||
@@ -65,7 +65,10 @@ spec:
|
|||||||
subPath: sites
|
subPath: sites
|
||||||
- mountPath: /opt/drupal/composer.json
|
- mountPath: /opt/drupal/composer.json
|
||||||
name: drupal
|
name: drupal
|
||||||
subPath: sites/default/files/composer.json
|
subPath: modules/composer.json
|
||||||
|
- mountPath: /opt/drupal/patches
|
||||||
|
name: drupal
|
||||||
|
subPath: modules/patches
|
||||||
volumes:
|
volumes:
|
||||||
- name: drupal
|
- name: drupal
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
|||||||
Reference in New Issue
Block a user