diff --git a/wordpress-volumes/wordpress-web.yml b/wordpress-volumes/wordpress-web.yml index 8f9d97a..e0fd6a2 100644 --- a/wordpress-volumes/wordpress-web.yml +++ b/wordpress-volumes/wordpress-web.yml @@ -13,7 +13,7 @@ spec: - name: wordpress image: wordpress:4-php7.0 # uncomment to fix perm issue, see also https://github.com/kubernetes/kubernetes/issues/2630 - # command: ['bash', '-c', 'chown', 'www-data:www-data', '/var/www/html/wp-content/upload', '&&', 'apache2', '-DFOREGROUND'] + # command: ['bash', '-c', 'chown www-data:www-data /var/www/html/wp-content/uploads && apache2-foreground'] ports: - name: http-port containerPort: 80