Skip to content

Commit

Permalink
change version 2.3.2 to 2.3.2-debian, fix backendRef
Browse files Browse the repository at this point in the history
Signed-off-by: Tasdidur Rahman <tasdidurrahmannahyan@gmail.com>
  • Loading branch information
TasdidurRahman committed Oct 12, 2022
1 parent 8fb27d6 commit 40251b5
Show file tree
Hide file tree
Showing 12 changed files with 27 additions and 71 deletions.
8 changes: 2 additions & 6 deletions docs/examples/proxysql/builtin-prom-proxysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@ metadata:
name: builtin-prom-proxysql
namespace: demo
spec:
version: "2.3.2"
version: "2.3.2-debian"
replicas: 1
mode: GroupReplication
backend:
ref:
apiGroup: "kubedb.com"
kind: MySQL
name: my-group
replicas: 3
name: my-group
monitor:
agent: prometheus.io/builtin
prometheus:
Expand Down
8 changes: 2 additions & 6 deletions docs/examples/proxysql/coreos-prom-proxysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@ metadata:
name: coreos-prom-proxysql
namespace: demo
spec:
version: "2.3.2"
version: "2.3.2-debian"
replicas: 1
mode: GroupReplication
backend:
ref:
apiGroup: "kubedb.com"
kind: MySQL
name: my-group
replicas: 3
name: my-group
monitor:
agent: prometheus.io/operator
prometheus:
Expand Down
8 changes: 2 additions & 6 deletions docs/examples/proxysql/custom-proxysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@ metadata:
name: custom-proxysql
namespace: demo
spec:
version: "2.3.2"
version: "2.3.2-debian"
replicas: 1
mode: GroupReplication
backend:
ref:
apiGroup: "kubedb.com"
kind: MySQL
name: my-group
replicas: 3
name: my-group
configSecret:
name: my-custom-config
8 changes: 2 additions & 6 deletions docs/examples/proxysql/demo-proxy-my-group.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ metadata:
name: proxy-my-group
namespace: demo
spec:
version: "2.3.2"
version: "2.3.2-debian"
replicas: 1
mode: GroupReplication
backend:
ref:
apiGroup: "kubedb.com"
kind: MySQL
name: mysql-server
replicas: 3
name: mysql-server
terminationPolicy: WipeOut
8 changes: 2 additions & 6 deletions docs/examples/proxysql/proxysql-private-registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,11 @@ metadata:
name: proxysql-pvt-reg
namespace: demo
spec:
version: "2.3.2"
version: "2.3.2-debian"
replicas: 1
mode: GroupReplication
backend:
ref:
apiGroup: "kubedb.com"
kind: MySQL
name: my-group
replicas: 3
name: my-group
podTemplate:
spec:
imagePullSecrets:
Expand Down
6 changes: 3 additions & 3 deletions docs/guides/proxysql/concepts/catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ As with all other Kubernetes objects, a ProxySQLVersion needs `apiVersion`, `kin
apiVersion: catalog.kubedb.com/v1alpha1
kind: ProxySQLVersion
metadata:
name: "2.3.2"
name: "2.3.2-debian"
labels:
app: kubedb
spec:
version: "2.3.2"
version: "2.3.2-debian"
proxysql:
image: "${KUBEDB_CATALOG_REGISTRY}/proxysql:2.3.2"
image: "${KUBEDB_CATALOG_REGISTRY}/proxysql:2.3.2-debian-v2"
exporter:
image: "${KUBEDB_CATALOG_REGISTRY}/proxysql-exporter:1.1.0"
podSecurityPolicies:
Expand Down
8 changes: 2 additions & 6 deletions docs/guides/proxysql/concepts/proxysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,11 @@ metadata:
name: demo-proxysql-for-mysql
namespace: demo
spec:
version: "2.3.2"
version: "2.3.2-debian"
replicas: 1
mode: GroupReplication
backend:
ref:
apiGroup: "kubedb.com"
kind: MySQL
name: my-group
replicas: 3
name: my-group
authSecret:
name: demo-proxysql-for-mysql-auth
monitor:
Expand Down
8 changes: 2 additions & 6 deletions docs/guides/proxysql/configuration/using-config-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,11 @@ metadata:
name: custom-proxysql
namespace: demo
spec:
version: "2.3.2"
version: "2.3.2-debian"
replicas: 1
mode: GroupReplication
backend:
ref:
apiGroup: "kubedb.com"
kind: MySQL
name: my-group
replicas: 3
name: my-group
configSecret:
name: my-custom-config
```
Expand Down
8 changes: 2 additions & 6 deletions docs/guides/proxysql/monitoring/using-builtin-prometheus.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,11 @@ metadata:
name: builtin-prom-proxysql
namespace: demo
spec:
version: "2.3.2"
version: "2.3.2-debian"
replicas: 1
mode: GroupReplication
backend:
ref:
apiGroup: "kubedb.com"
kind: MySQL
name: my-group
replicas: 3
name: my-group
monitor:
agent: prometheus.io/builtin
prometheus:
Expand Down
8 changes: 2 additions & 6 deletions docs/guides/proxysql/monitoring/using-prometheus-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,11 @@ metadata:
name: builtin-prom-proxysql
namespace: demo
spec:
version: "2.3.2"
version: "2.3.2-debian"
replicas: 1
mode: GroupReplication
backend:
ref:
apiGroup: "kubedb.com"
kind: MySQL
name: my-group
replicas: 3
name: my-group
monitor:
agent: prometheus.io/operator
prometheus:
Expand Down
12 changes: 4 additions & 8 deletions docs/guides/proxysql/private-registry/using-private-registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ KubeDB operator supports using a private Docker registry. This tutorial will sho
apiVersion: catalog.kubedb.com/v1alpha1
kind: ProxySQLVersion
metadata:
name: 2.3.2
name: 2.3.2-debian
spec:
exporter:
image: PRIVATE_DOCKER_REGISTRY:v1.1.0
podSecurityPolicies:
databasePolicyName: proxysql-db
proxysql:
image: PRIVATE_DOCKER_REGISTRY:v2.3.2
version: 2.3.2
version: 2.3.2-debian
```

- To keep things isolated, this tutorial uses a separate namespace called `demo` throughout this tutorial. Run the following command to prepare your cluster for this tutorial:
Expand Down Expand Up @@ -99,15 +99,11 @@ metadata:
name: proxysql-pvt-reg
namespace: demo
spec:
version: "2.3.2"
version: "2.3.2-debian"
replicas: 1
mode: GroupReplication
backend:
ref:
apiGroup: "kubedb.com"
kind: MySQL
name: my-group
replicas: 3
name: my-group
podTemplate:
spec:
imagePullSecrets:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,15 +196,11 @@ metadata:
name: proxy-my-group
namespace: demo
spec:
version: "2.3.2"
version: "2.3.2-debian"
replicas: 1
mode: GroupReplication
backend:
ref:
apiGroup: "kubedb.com"
kind: MySQL
name: mysql-server
replicas: 3
name: mysql-server
terminationPolicy: Delete
```

Expand Down

0 comments on commit 40251b5

Please sign in to comment.