Skip to content

Commit

Permalink
Swap datasource to proxysql
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed Dec 5, 2024
1 parent 145384b commit 5098e36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions helm/values.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@ networkPolicy:
- Egress
egressRules:
- to:
- ipBlock:
cidr: "{{ DB_HOST }}/32"
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: proxysql
ports:
- protocol: TCP
port: 3306
- protocol: TCP
port: 6033
- to:
- namespaceSelector:
matchLabels:
Expand Down
2 changes: 1 addition & 1 deletion templates/datasources.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ datasources:
editable: False
- name: block-data
type: mysql
url: {{ DB_HOST }}:3306
url: "proxysql-generic.proxysql:3306"
uid: P00A25F4DA48796D5
user: '{{ GRAFANA_PUB_READ_USERNAME }}'
jsonData:
Expand Down

0 comments on commit 5098e36

Please sign in to comment.