diff --git a/README.md b/README.md index ed359ef..2329123 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Global: Exoscale: |ServiceKind |Key | Value | | ------ | -------|-------| -|ExoscalePostgreSQL|`Spec.Parameters.Service.MajorVersion`| 15| +|ExoscalePostgreSQL|`Spec.Parameters.Service.MajorVersion`| 14| |ExoscalePostgreSQL|`Spec.Parameters.Service.Zone`| ch-dk-2| |ExoscalePostgreSQL|`Spec.Parameters.Size.Plan`| hobbyist-2| |ExoscalePostgreSQL|`Spec.Parameters.Backup.TimeOfDay`| 12:00:00| @@ -60,7 +60,7 @@ Exoscale: VSHN: |ServiceKind |Key | Value | | ------ | -------|-------| -|VSHNPostgreSQL|`Spec.Parameters.Service.MajorVersion`|15| +|VSHNPostgreSQL|`Spec.Parameters.Service.MajorVersion`|14| |VSHNPostgreSQL|`Spec.Parameters.Size.CPU`|600m| |VSHNPostgreSQL|`Spec.Parameters.Size.Disk`|80Gi| |VSHNPostgreSQL|`Spec.Parameters.Size.Memory`|3500Mi| diff --git a/internal/defaults/exoscalev1.go b/internal/defaults/exoscalev1.go index cfb627e..6618903 100644 --- a/internal/defaults/exoscalev1.go +++ b/internal/defaults/exoscalev1.go @@ -7,7 +7,7 @@ import ( func (d *Defaults) GetExoscalePostgreSQLDefault() *exoscalev1.ExoscalePostgreSQL { var postgreSQLdefault exoscalev1.ExoscalePostgreSQL - postgreSQLdefault.Spec.Parameters.Service.MajorVersion = "15" + postgreSQLdefault.Spec.Parameters.Service.MajorVersion = "14" postgreSQLdefault.Spec.Parameters.Service.Zone = "ch-dk-2" postgreSQLdefault.Spec.Parameters.Size.Plan = "hobbyist-2" postgreSQLdefault.Spec.Parameters.Backup.TimeOfDay = "12:00:00" diff --git a/internal/defaults/vshnv1.go b/internal/defaults/vshnv1.go index 8240631..d96eeea 100644 --- a/internal/defaults/vshnv1.go +++ b/internal/defaults/vshnv1.go @@ -7,7 +7,7 @@ import ( func (d *Defaults) GetVSHNPostgreSQLDefault() *vshnv1.VSHNPostgreSQL { var postgreSQLdefault vshnv1.VSHNPostgreSQL - postgreSQLdefault.Spec.Parameters.Service.MajorVersion = "15" + postgreSQLdefault.Spec.Parameters.Service.MajorVersion = "14" postgreSQLdefault.Spec.Parameters.Size.CPU = "600m" postgreSQLdefault.Spec.Parameters.Size.Disk = "80Gi" postgreSQLdefault.Spec.Parameters.Size.Memory = "3500Mi" diff --git a/tests/golden/exoPostgreSQL/default.yaml b/tests/golden/exoPostgreSQL/default.yaml index 101ae0b..51616c6 100644 --- a/tests/golden/exoPostgreSQL/default.yaml +++ b/tests/golden/exoPostgreSQL/default.yaml @@ -12,7 +12,7 @@ spec: timeOfDay: "00:00:00" network: {} service: - majorVersion: "15" + majorVersion: "14" pgSettings: null zone: ch-dk-2 size: diff --git a/tests/golden/exoPostgreSQL/secret-ref.yaml b/tests/golden/exoPostgreSQL/secret-ref.yaml index ba6bfb7..ca749dc 100644 --- a/tests/golden/exoPostgreSQL/secret-ref.yaml +++ b/tests/golden/exoPostgreSQL/secret-ref.yaml @@ -12,7 +12,7 @@ spec: timeOfDay: "00:00:00" network: {} service: - majorVersion: "15" + majorVersion: "14" pgSettings: null zone: ch-dk-2 size: diff --git a/tests/golden/vshnPostgreSQL/default.yaml b/tests/golden/vshnPostgreSQL/default.yaml index c2b3b8e..ebfa0fa 100644 --- a/tests/golden/vshnPostgreSQL/default.yaml +++ b/tests/golden/vshnPostgreSQL/default.yaml @@ -15,7 +15,7 @@ spec: nodeSelector: appuio.io/node-class: plus service: - majorVersion: "15" + majorVersion: "14" pgSettings: null size: cpu: 600m diff --git a/tests/golden/vshnPostgreSQL/jsonInput.yaml b/tests/golden/vshnPostgreSQL/jsonInput.yaml index 0454aca..85c6023 100644 --- a/tests/golden/vshnPostgreSQL/jsonInput.yaml +++ b/tests/golden/vshnPostgreSQL/jsonInput.yaml @@ -15,7 +15,7 @@ spec: nodeSelector: appuio.io/node-class: testing service: - majorVersion: "15" + majorVersion: "14" pgSettings: null size: cpu: 99999m diff --git a/tests/golden/vshnPostgreSQL/parameters.yaml b/tests/golden/vshnPostgreSQL/parameters.yaml index 5273231..074bbd5 100644 --- a/tests/golden/vshnPostgreSQL/parameters.yaml +++ b/tests/golden/vshnPostgreSQL/parameters.yaml @@ -15,7 +15,7 @@ spec: nodeSelector: appuio.io/node-class: plus service: - majorVersion: "15" + majorVersion: "14" pgSettings: null size: cpu: 100000m diff --git a/tests/golden/vshnPostgreSQL/secret-ref.yaml b/tests/golden/vshnPostgreSQL/secret-ref.yaml index 867c753..b35c3c0 100644 --- a/tests/golden/vshnPostgreSQL/secret-ref.yaml +++ b/tests/golden/vshnPostgreSQL/secret-ref.yaml @@ -15,7 +15,7 @@ spec: nodeSelector: appuio.io/node-class: plus service: - majorVersion: "15" + majorVersion: "14" pgSettings: null size: cpu: 600m