Skip to content
This repository was archived by the owner on May 28, 2021. It is now read-only.

Fix tutorial bugs #126

Closed
wants to merge 1 commit into from
Closed
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: 4 additions & 4 deletions docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,28 +87,28 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: mysql-agent
namespace: my-namespace
namespace: default
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: mysql-agent
namespace: my-namespace
namespace: default
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: mysql-agent
subjects:
- kind: ServiceAccount
name: mysql-agent
namespace: my-namespace
namespace: default
EOF
```

Now let's create a new MySQL cluster. Create a cluster.yaml file with the following contents

```yaml
apiVersion: mysql.oracle.com/v1
apiVersion: mysql.oracle.com/v1alpha1
kind: MySQLCluster
metadata:
name: myappdb
Expand Down