check resize mode on update events (#1194)

* check resize mode on update events

* add unit test for PVC resizing

* set resize mode to pvc in charts and manifests

* add test for quantityToGigabyte

* just one debug line for syncing volumes

* extend test and update log msg
This commit is contained in:
Felix Kunde
2020-11-11 13:22:43 +01:00
committed by GitHub
parent e779eab22f
commit 3fed565328
10 changed files with 199 additions and 13 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ data:
# spilo_runasgroup: 103
# spilo_fsgroup: 103
spilo_privileged: "false"
# storage_resize_mode: "off"
storage_resize_mode: "pvc"
super_username: postgres
# team_admin_role: "admin"
# team_api_role_configuration: "log_statement:all"
@@ -106,6 +106,8 @@ rules:
- delete
- get
- list
- patch
- update
# to read existing PVs. Creation should be done via dynamic provisioning
- apiGroups:
- ""
@@ -72,7 +72,7 @@ configuration:
# spilo_runasgroup: 103
# spilo_fsgroup: 103
spilo_privileged: false
storage_resize_mode: ebs
storage_resize_mode: pvc
# toleration: {}
# watched_namespace: ""
postgres_pod_resources: