Skip to content

Commit

Permalink
fix: fix postgresql resources
Browse files Browse the repository at this point in the history
  • Loading branch information
muhlba91 committed Mar 24, 2024
1 parent 6ef1aa7 commit f245d99
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
6 changes: 3 additions & 3 deletions core/cloudnative-pg/values.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
resources:
requests:
cpu: 5m
memory: 80Mi
cpu: 3m
memory: 64Mi
limits:
cpu: 75m
memory: 128Mi
memory: 96Mi
3 changes: 1 addition & 2 deletions home-assistant/home-assistant/extensions/postgresql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
cpu: 10m
memory: 96Mi
limits:
cpu: 200m
cpu: 250m
memory: 128Mi

enableSuperuserAccess: true
Expand All @@ -27,7 +27,6 @@ spec:
ensure: present
comment: Home Assistant
login: true
disablePassword: true

bootstrap:
initdb:
Expand Down
9 changes: 7 additions & 2 deletions home-assistant/home-assistant/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ controllers:
secretKeyRef:
name: home-assistant-gcp-credentials
key: credentials.json
- name: POSTGRESQL_URI
valueFrom:
secretKeyRef:
name: home-assistant-postgresql-app
key: uri

envFrom:
- secretRef:
Expand All @@ -34,10 +39,10 @@ controllers:
resources:
requests:
cpu: 50m
memory: 768Mi
memory: 1024Mi
limits:
cpu: "1"
memory: 1280Mi
memory: 1536Mi

initContainers:
backup-restore:
Expand Down

0 comments on commit f245d99

Please sign in to comment.