move mysql operator and cluster

This commit is contained in:
2025-04-14 14:30:26 +02:00
parent 6e2597ffa7
commit 2b032964a2
30 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
You can create a new cluster by issuing:
cat <<EOF | kubectl apply -f-
apiVersion: mysql.presslabs.org/v1alpha1
kind: MysqlCluster
metadata:
name: my-cluster
spec:
replicas: 1
secretName: my-cluster-secret
---
apiVersion: v1
kind: Secret
metadata:
name: my-cluster-secret
type: Opaque
data:
ROOT_PASSWORD: $(echo -n "not-so-secure" | base64)
EOF