diff --git a/docs/features/mysql/reference.mdx b/docs/features/mysql/reference.mdx index db41196e6..f66debc4d 100644 --- a/docs/features/mysql/reference.mdx +++ b/docs/features/mysql/reference.mdx @@ -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: # Your MySQL servers address credentials: - username: # Username Otterize will connect with & configure permissions as + username: # Username Otterize will connect with & configure permissions as (typically 'admin') password: # Password for above username ``` @@ -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 diff --git a/static/code-examples/mysql/mysqlserverconfig.yaml b/static/code-examples/mysql/mysqlserverconfig.yaml index c4802f67c..1ae80cd17 100644 --- a/static/code-examples/mysql/mysqlserverconfig.yaml +++ b/static/code-examples/mysql/mysqlserverconfig.yaml @@ -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: