Skip to content
Open
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
4 changes: 2 additions & 2 deletions docs/learn/tutorial/connect-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ After deploying this and waiting for the containers to start, you can connect to

```shell
kubectl exec -it -n schemahero-tutorial \
postgresql-postgresql-0 psql -- -U airlinedb-user -d airlinedb
postgresql-0 -- psql -U airlinedb-user -d airlinedb
```

If you get a message that says `error: unable to upgrade connection: container not found ("postgresql")` wait a moment and try again.
Expand Down Expand Up @@ -62,7 +62,7 @@ We do this by deploying custom resource to the cluster with the connection infor

Create a file named `airline-db.yaml` locally, copy the following YAML in it, and then run `kubectl apply -f ./airline-db.yaml` to deploy it.

```yaml
```yaml
apiVersion: databases.schemahero.io/v1alpha4
kind: Database
metadata:
Expand Down