Skip to content

Commit

Permalink
add file link, fix email : proxysql docs
Browse files Browse the repository at this point in the history
Signed-off-by: TasdidurRahman <[email protected]>
  • Loading branch information
TasdidurRahman committed Dec 12, 2022
1 parent 3b53608 commit d8043d4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions docs/guides/proxysql/clustering/proxysql-cluster/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,8 @@ root@proxy-server-1:/# chmod +x load.sh
root@proxy-server-1:/# ./load.sh
```

> You can find the load.sh file [here](https://github.com/kubedb/docs/raw/{{< param "info.version" >}}/docs/guides/proxysql/clustering/proxysql-cluster/examples/load.sh)

```bash
$ kubectl exec -it -n demo proxy-server-1 -- bash
root@proxy-server-0:/# mysql -uadmin -padmin -h127.0.0.1 -P6032 --prompt "ProxySQLAdmin >"
Expand Down
4 changes: 2 additions & 2 deletions docs/guides/proxysql/concepts/opsrequest/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ spec:
ipAddresses:
- "127.0.0.1"
emailAddresses:
- "md.alifbiswas@gmail.com"
- "mikebaker@gmail.com"
certificates:
- alias: client
subject:
Expand All @@ -136,7 +136,7 @@ spec:
ipAddresses:
- "127.0.0.1"
emailAddresses:
- "md.alifbiswas@gmail.com"
- "mikebaker@gmail.com"
```
```yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
ipAddresses:
- "127.0.0.1"
emailAddresses:
- "md.alifbiswas@gmail.com"
- "mikebaker@gmail.com"
certificates:
- alias: client
subject:
Expand All @@ -29,4 +29,4 @@ spec:
ipAddresses:
- "127.0.0.1"
emailAddresses:
- "md.alifbiswas@gmail.com"
- "mikebaker@gmail.com"
8 changes: 4 additions & 4 deletions docs/guides/proxysql/reconfigure-tls/cluster/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ [email protected]

### Apply ops-request to update TLS

We can see the informations. Suppose we want to update the email address . We want to change it to md.alifbiswas@gmail.com. Let's create a ops-request for that in the following manner.
We can see the informations. Suppose we want to update the email address . We want to change it to mikebaker@gmail.com. Let's create a ops-request for that in the following manner.
```yaml
apiVersion: ops.kubedb.com/v1alpha1
Expand All @@ -688,7 +688,7 @@ spec:
ipAddresses:
- "127.0.0.1"
emailAddresses:
- "md.alifbiswas@gmail.com"
- "mikebaker@gmail.com"
certificates:
- alias: client
subject:
Expand All @@ -699,7 +699,7 @@ spec:
ipAddresses:
- "127.0.0.1"
emailAddresses:
- "md.alifbiswas@gmail.com"
- "mikebaker@gmail.com"
```
Let's apply and then wait for it to be succeed.
Expand All @@ -720,7 +720,7 @@ Let's check the info now.
```bash
root@proxy-server-1:/# openssl x509 -in /var/lib/frontend/server/tls.crt -inform PEM -subject -email -nameopt RFC2253 -noout
subject=CN=proxy-server,O=kubedb:server
md.alifbiswas@gmail.com
mikebaker@gmail.com
```
We can see the email has been successfuly updated. You can configure other field as well. To know more about the .spec.tls field refer to the link [here](https://pkg.go.dev/kubedb.dev/[email protected]/apis/ops/v1alpha1#TLSSpec) .
Expand Down

0 comments on commit d8043d4

Please sign in to comment.