daxio / k8s-lemp

LEMP stack in a Kubernetes cluster
GNU General Public License v3.0
80 stars 44 forks source link

WORDPRESS_DB_PASSWORD env doesn't work with a secretKeyRef and instead #1

Closed chepurko closed 7 years ago

chepurko commented 7 years ago

The WORDPRESS_DB_PASSWORD env doesn't work with a secretKeyRef and instead needs the password entered in plaintext in the YAML file.

Also not sure whether manually creating a database in MariaDB is necessary for initial installation since we don't give WP the MariaDB root password. Have to start out with a new cluster and test the Bring up Wordpress/NGINX step.

chepurko commented 7 years ago

The log of the wp-fpm container throws the error:

sed: -e expression #1, char 70: unterminated `s' command
chepurko commented 7 years ago

This was because newlines were included in the created password file. Added directions to remove newlines before creating MariaDB Secrets from files.