Author: Javier Suarez
Deploying Wordpress example in Kubernetes.
-
Create namespace
kubectl create ns wordpress
-
Create BBDD secret
PASSWORD=mysecretpassword
NAMESPACE=wordpress
kubectl -n $NAMESPACE create secret generic credentials --from-literal=MYSQL_ROOT_PASSWORD=$PASSWORD
-
kubectl apply -f .