Skip to content

Commit

Permalink
Update references
Browse files Browse the repository at this point in the history
  • Loading branch information
amitlicht committed May 20, 2024
1 parent 507b9e8 commit d943c7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/features/mysql/reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ title: Reference
apiVersion: k8s.otterize.com/v1alpha3
kind: MySQLServerConfig
metadata:
name: mysql-tutorial-db # database instance name - should match the target in ClientIntents
name: otterize-tutorial-mysql # database instance name - should match the target in ClientIntents
spec:
address: <HOST:PORT> # Your MySQL servers address
credentials:
username: <USER> # Username Otterize will connect with & configure permissions as
username: <USER> # Username Otterize will connect with & configure permissions as (typically 'admin')
password: <PASSWORD> # Password for above username
```

Expand All @@ -33,9 +33,9 @@ spec:
- name: otterize-tutorial-mysql
type: database
databaseResources:
- databaseName: otterize-tutorial
- databaseName: otterize_tutorial
# Optional table name, if omitted all tables will be granted access
table: public.example
table: example
# Operations being granted, options include SELECT, INSERT, UPDATE, DELETE, ALL
operations:
- SELECT
Expand Down
2 changes: 1 addition & 1 deletion static/code-examples/mysql/mysqlserverconfig.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: k8s.otterize.com/v1alpha3
kind: MySQLServerConfig
metadata:
name: mysql-tutorial-db
name: otterize-tutorial-mysql
spec:
address: database # Your MySQL server address
credentials:
Expand Down

0 comments on commit d943c7b

Please sign in to comment.