@@ -12,7 +12,7 @@ spec:
type: NodePort
ports:
- name: phpadmin
- nodePort: 30088
+ nodePort: 30087
port: 80
targetPort: phpmyadm
---
@@ -53,5 +53,5 @@ spec:
- name: MYSQL_ROOT_PASSWORD
valueFrom:
secretKeyRef:
- name: mysqlwp-pass
- key: password
+ name: mypwds
+ key: rootPassword
@@ -2,6 +2,7 @@ apiVersion: v1
kind: Secret
metadata:
name: mypwds
+ namespace: mysql-cluster
data:
rootPassword: RHNhLTAyMTM=
rootUser: cm9vdA==
@@ -0,0 +1,14 @@
+ kubectl delete -f mysql-innodb-cluster.yaml
+
+ kubectl delete -f secreto.yaml
+ kubectl delete ns mysql-cluster
+ kubectl delete -f https://raw.githubusercontent.com/mysql/mysql-operator/9.6.0-2.2.7/deploy/deploy-operator.yaml
+ kubectl delete -f https://raw.githubusercontent.com/mysql/mysql-operator/9.6.0-2.2.7/deploy/deploy-crds.yaml