Skip to content

Commit

Permalink
fix: rename db to match naming convention of other projects
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickleet committed Dec 9, 2021
1 parent a7bc9c1 commit 55ab458
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SERVICE_NAME := example-hasura
HASURA_GRAPHQL_DATABASE_URL=postgres://readmodel:$(kubectl get secret readmodel.example-readmodel-postgresql.credentials.postgresql.acid.zalan.do)@readmodel.default.cluster.svc.local:5432/readmodel

# Does what's described in Readme, runs in the background - `attach-to-tmux-session` to attach to the session where it is running
onboard: refresh-kind-image open
onboard: refresh-kind-image

open:
code .
Expand Down
4 changes: 2 additions & 2 deletions charts/example-hasura/templates/hasura-psql.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: "acid.zalan.do/v1"
kind: postgresql
metadata:
name: hasura-metadata-postgresql
name: example-hasura-metadata-postgresql
spec:
teamId: hasura
teamId: example

podAnnotations:
sidecar.istio.io/inject: {{ .Values.hasura.psql.istio.injection | quote }}
Expand Down
2 changes: 1 addition & 1 deletion charts/example-hasura/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ resources:
hasura:
devMode: true
psql:
name: hasura-metadata-postgresql
name: example-hasura-metadata-postgresql
database: metadata
username: metadata
numberOfInstances: 1
Expand Down

0 comments on commit 55ab458

Please sign in to comment.