Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Version 2.3.2 to 2.3.2-debian, Fix BackendRef #504

Merged
merged 1 commit into from
Oct 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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