templates/deployment.yaml を更新
This commit is contained in:
@@ -255,10 +255,10 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: wordpress-persistent
|
- name: wordpress-persistent
|
||||||
mountPath: /var/www/html/wp-content
|
mountPath: /usr/src/wordpress/wp-content
|
||||||
subPath: wp-content
|
subPath: wp-content
|
||||||
- name: wordpress-persistent
|
- name: wordpress-persistent
|
||||||
mountPath: /var/www/html/wp-config.php
|
mountPath: /usr/src/wordpress/wp-config.php
|
||||||
subPath: wp-config.php
|
subPath: wp-config.php
|
||||||
- name: nginx-config
|
- name: nginx-config
|
||||||
mountPath: /etc/nginx/conf.d/default.conf
|
mountPath: /etc/nginx/conf.d/default.conf
|
||||||
@@ -294,10 +294,10 @@ spec:
|
|||||||
value: {{ .Values.wordpress.tablePrefix | quote }}
|
value: {{ .Values.wordpress.tablePrefix | quote }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: wordpress-persistent
|
- name: wordpress-persistent
|
||||||
mountPath: /var/www/html/wp-content
|
mountPath: /usr/src/wordpress/wp-content
|
||||||
subPath: wp-content
|
subPath: wp-content
|
||||||
- name: wordpress-persistent
|
- name: wordpress-persistent
|
||||||
mountPath: /var/www/html/wp-config.php
|
mountPath: /usr/src/wordpress/wp-config.php
|
||||||
subPath: wp-config.php
|
subPath: wp-config.php
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources.wordpress | nindent 12 }}
|
{{- toYaml .Values.resources.wordpress | nindent 12 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user