diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 3875357..2f1e71e 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -255,10 +255,10 @@ spec: protocol: TCP volumeMounts: - name: wordpress-persistent - mountPath: /var/www/html/wp-content + mountPath: /usr/src/wordpress/wp-content subPath: wp-content - name: wordpress-persistent - mountPath: /var/www/html/wp-config.php + mountPath: /usr/src/wordpress/wp-config.php subPath: wp-config.php - name: nginx-config mountPath: /etc/nginx/conf.d/default.conf @@ -294,10 +294,10 @@ spec: value: {{ .Values.wordpress.tablePrefix | quote }} volumeMounts: - name: wordpress-persistent - mountPath: /var/www/html/wp-content + mountPath: /usr/src/wordpress/wp-content subPath: wp-content - name: wordpress-persistent - mountPath: /var/www/html/wp-config.php + mountPath: /usr/src/wordpress/wp-config.php subPath: wp-config.php resources: {{- toYaml .Values.resources.wordpress | nindent 12 }}