Skip to content

Commit

Permalink
Revert "Setter tier-nivå og øker minne på databaser i prod (#449)"
Browse files Browse the repository at this point in the history
This reverts commit 8b205c5.
  • Loading branch information
mortenbyhring committed Jun 5, 2024
1 parent 8b205c5 commit a174c4e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
1 change: 0 additions & 1 deletion config/db/prod-gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ azure:
enabled: true
database:
- name: inntektsmelding
tier: db-custom-1-3840
users: [ simba_datastream_bruker ]
logical_decoding: true
envFrom:
Expand Down
1 change: 0 additions & 1 deletion config/feil-behandler/prod-gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ azure:
enabled: true
database:
- name: im-error-recovery
tier: db-custom-1-3840
envFrom:
- type: secret
name: google-sql-im-feil-behandler
20 changes: 8 additions & 12 deletions config/nais.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,24 +58,20 @@ spec:
sqlInstances:
- type: POSTGRES_14
databases:
{{#each database as |db| }}
{{#each database as |db| }}
- name: {{ db.name }}
{{#if db.tier}}
tier: {{ db.tier }}
{{/if }}
diskAutoresize: true
{{#if db.users}}
users:
{{#each db.users as |user| }}
- name: {{ user }}
{{/each}}
{{/if}}
{{#if db.users}}
users:
{{#each db.users as |user| }}
- name: {{ user }}
{{/each}}
{{/if}}
{{/each}}
{{#if logical_decoding}}
flags:
- name: cloudsql.logical_decoding
value: "on"
{{/if}}
{{/each}}
{{/if}}
prometheus:
enabled: true
Expand Down
1 change: 0 additions & 1 deletion config/notifikasjon/prod-gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ azure:
enabled: true
database:
- name: notifikasjon
tier: db-custom-1-3840
logical_decoding: true
envFrom:
- type: secret
Expand Down

0 comments on commit a174c4e

Please sign in to comment.