enable postgresql in place upgrade and bump postgresql version to 16

This commit is contained in:
ace 2024-05-05 20:13:28 +03:00
parent ef847dfe87
commit 6cfac8f302
Signed by: ace
GPG Key ID: 2C08973DD37A76FD

View File

@ -7,6 +7,10 @@ postgres_operator_default_values:
storage_resize_mode: pvc storage_resize_mode: pvc
watched_namespace: "{{ postgres_operator_watch_namespace | default(namespace) }}" watched_namespace: "{{ postgres_operator_watch_namespace | default(namespace) }}"
configMajorVersionUpgrade:
# "off": no upgrade, "manual": manifest triggers action, "full": minimal version violation triggers too
major_version_upgrade_mode: "full"
postgres_operator_ui_default_values: postgres_operator_ui_default_values:
replicaCount: 1 replicaCount: 1
@ -17,6 +21,9 @@ postgres_operator_ui_default_values:
operatorClusterNameLabel: "cluster-name" operatorClusterNameLabel: "cluster-name"
resourcesVisible: "False" resourcesVisible: "False"
targetNamespace: "{{ namespace }}" targetNamespace: "{{ namespace }}"
teams:
- "acid"
- "{{ postgres_db_team | default(namespace) }}"
# configure UI ingress. If needed: "enabled: true" # configure UI ingress. If needed: "enabled: true"
ingress: ingress:
@ -45,7 +52,7 @@ postgres_db_definitions:
spec: spec:
teamId: "{{ postgres_db_team | default(namespace) }}" teamId: "{{ postgres_db_team | default(namespace) }}"
postgresql: postgresql:
version: "12" version: "16"
numberOfInstances: 2 numberOfInstances: 2
volume: volume:
size: "{{ postgres_size | default('10Gi') }}" size: "{{ postgres_size | default('10Gi') }}"