From 045cf6691dffd9b9aad1f2fdbef6c602c362de81 Mon Sep 17 00:00:00 2001 From: whacked Date: Fri, 7 May 2021 15:18:47 -0700 Subject: [PATCH] fix tutorial kubectl psql exec command, code block --- docs/learn/tutorial/connect-database.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/learn/tutorial/connect-database.md b/docs/learn/tutorial/connect-database.md index 45e3f8d..68bb2d2 100644 --- a/docs/learn/tutorial/connect-database.md +++ b/docs/learn/tutorial/connect-database.md @@ -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. @@ -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: