Skip to content

Commit

Permalink
Set database instance tier
Browse files Browse the repository at this point in the history
  • Loading branch information
christeredvartsen committed Jan 14, 2025
1 parent 5ba2804 commit b9f36b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .nais/dev-gcp-vars.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"https://naisdevice-jita.intern.dev.nav.no"
],
"db": {
"tier": "db-f1-micro",
"cascadingDelete": true,
"highAvailability": false
}
Expand Down
1 change: 1 addition & 0 deletions .nais/nais.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ spec:
sqlInstances:
- name: naisdevice-jita
type: POSTGRES_12
tier: {{ db.tier }}
cascadingDelete: {{ db.cascadingDelete }}
highAvailability: {{ db.highAvailability }}
databases:
Expand Down
1 change: 1 addition & 0 deletions .nais/prod-gcp-vars.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"https://naisdevice-jita.external.prod-gcp.nav.cloud.nais.io"
],
"db": {
"tier": "db-custom-1-3840",
"cascadingDelete": false,
"highAvailability": true
}
Expand Down

0 comments on commit b9f36b2

Please sign in to comment.