templates/deployment.yaml を更新
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user