templates/deployment.yaml を更新
This commit is contained in:
@@ -274,7 +274,13 @@ spec:
|
||||
- name: wordpress
|
||||
image: "{{ .Values.image.wordpress.registry }}/{{ .Values.image.wordpress.repository }}:{{ .Values.image.wordpress.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.wordpress.pullPolicy }}
|
||||
command: ["php-fpm"]
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- |
|
||||
# PHP-FPMの設定を確認・修正
|
||||
sed -i 's|chdir = /var/www/html|chdir = /wordpress|g' /usr/local/etc/php-fpm.d/www.conf || true
|
||||
exec php-fpm
|
||||
securityContext:
|
||||
runAsUser: 82
|
||||
runAsGroup: 82
|
||||
|
||||
Reference in New Issue
Block a user