diff --git a/deployments/mariadb/all-resources.yml b/deployments/mariadb/all-resources.yml index 3949785..3a33ea6 100644 --- a/deployments/mariadb/all-resources.yml +++ b/deployments/mariadb/all-resources.yml @@ -44,7 +44,7 @@ spec: requests: cpu: "0.1" memory: "100Mi" - env: + env: - name: MYSQL_ROOT_PASSWORD value: ro0tP4sSworD - name: MYSQL_DATABASE @@ -53,9 +53,6 @@ spec: value: wpuser - name: MYSQL_PASSWORD value: W0rd_Pr3sSUs3r. - volumeMounts: - - name: "mariadb-persistent-storage" - mountPath: "/var/lib/mysql/" readinessProbe: tcpSocket: port: 3306 @@ -64,6 +61,9 @@ spec: timeoutSeconds: 5 successThreshold: 1 failureThreshold: 3 + volumeMounts: + - name: "mariadb-persistent-storage" + mountPath: "/var/lib/mysql/" volumes: - name: mariadb-persistent-storage persistentVolumeClaim: