From b705bb7da6af51c56e9c64f3a7f35858de24613b Mon Sep 17 00:00:00 2001 From: Simon Beck Date: Tue, 7 Nov 2023 11:47:43 +0100 Subject: [PATCH] Adjust wording for HA check --- pkg/controller/webhooks/postgresql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/webhooks/postgresql.go b/pkg/controller/webhooks/postgresql.go index 81812a9168..a36f1b060c 100644 --- a/pkg/controller/webhooks/postgresql.go +++ b/pkg/controller/webhooks/postgresql.go @@ -244,7 +244,7 @@ func (p *PostgreSQLWebhookHandler) checkGuaranteedAvailability(ctx context.Conte if pg.Spec.Parameters.Service.ServiceLevel == "guaranteed" && pg.Spec.Parameters.Instances < 2 { fieldErrs = append(fieldErrs, &field.Error{ Field: "spec.parameters.instances", - Detail: "guaranteed PostgreSQL instances must be at least 2. Please set .spec.parameters.instances: [2,3]. Additional cost will apply, please refer to: https://products.vshn.ch/appcat/pricing.html", + Detail: "PostgreSQL instances with service level Guaranteed Availability must have at least 2 replicas. Please set .spec.parameters.instances: [2,3]. Additional costs will apply, please refer to: https://products.vshn.ch/appcat/pricing.html", Type: field.ErrorTypeInvalid, BadValue: pg.Spec.Parameters.Instances, })