templates/deployment.yaml を更新

This commit is contained in:
2025-11-26 02:39:32 +00:00
parent 6bdf030bec
commit c225a22498

View File

@@ -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