Skip to content

Commit 761a498

Browse files
author
Florian Lorétan
committed
SLT-17: Rename the reference data folder.
1 parent aebdba7 commit 761a498

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
FROM wunderio/drupal-php-fpm:v0.1
33

44
USER root
5-
RUN mkdir -p /var/backups/db
6-
RUN chown www-data:www-data /var/backups/db
5+
RUN mkdir -p /var/reference-data && chown www-data:www-data /var/reference-data
76

87
COPY --chown=www-data:www-data . /var/www/html
98
USER www-data

chart/templates/_helpers.tpl

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ volumeMounts:
2121
- name: drupal-private-files
2222
mountPath: /var/www/html/private
2323
{{- end }}
24-
- name: drupal-dbdump-volume
25-
mountPath: /var/backups/db
24+
- name: reference-data-volume
25+
mountPath: /var/reference-data
2626
- name: php-conf
2727
mountPath: /etc/php7/php.ini
2828
readOnly: true
@@ -46,9 +46,9 @@ volumeMounts:
4646
persistentVolumeClaim:
4747
claimName: {{ .Release.Name }}-private-files
4848
{{- end }}
49-
- name: drupal-dbdump-volume
49+
- name: reference-data-volume
5050
persistentVolumeClaim:
51-
claimName: {{ .Release.Namespace }}-dbdump
51+
claimName: {{ .Values.referenceEnvironment }}-reference-data
5252
- name: php-conf
5353
configMap:
5454
name: {{ .Release.Name }}-php-conf

0 commit comments

Comments
 (0)