diff --git a/roles/postgres/defaults/main.yaml b/roles/postgres/defaults/main.yaml index dd6dc96..b2ccf71 100644 --- a/roles/postgres/defaults/main.yaml +++ b/roles/postgres/defaults/main.yaml @@ -7,6 +7,10 @@ postgres_operator_default_values: storage_resize_mode: pvc 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: replicaCount: 1 @@ -17,6 +21,9 @@ postgres_operator_ui_default_values: operatorClusterNameLabel: "cluster-name" resourcesVisible: "False" targetNamespace: "{{ namespace }}" + teams: + - "acid" + - "{{ postgres_db_team | default(namespace) }}" # configure UI ingress. If needed: "enabled: true" ingress: @@ -45,7 +52,7 @@ postgres_db_definitions: spec: teamId: "{{ postgres_db_team | default(namespace) }}" postgresql: - version: "12" + version: "16" numberOfInstances: 2 volume: size: "{{ postgres_size | default('10Gi') }}"