Skip to content

Commit

Permalink
switch to one db user and statement timeouts via database.yml
Browse files Browse the repository at this point in the history
kade staging attempted to set statement timeouts via the user roles - this PR unwinds that to a single user role and removes the statement timeout variables on the db roles
  • Loading branch information
camallen committed Mar 30, 2023
1 parent a9062a7 commit ca2c4b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kubernetes/deployment-staging.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ spec:
cpu: "1000m"
command: ["bundle", "exec", "sidekiq"]
env:
- name: PG_STATEMENT_TIMEOUT
value: '300000'
- name: REVISION
value: '__IMAGE_TAG__'
- name: HONEYBADGER_REVISION
Expand All @@ -138,7 +140,7 @@ spec:
- secretRef:
name: kade-common-env-vars
- secretRef:
name: kade-staging-sidekiq-db
name: kade-staging-app-db
- configMapRef:
name: kade-staging-shared
volumeMounts:
Expand Down

0 comments on commit ca2c4b2

Please sign in to comment.