Skip to content

Commit

Permalink
Merge pull request #100 from vshn/change/webhook_wording
Browse files Browse the repository at this point in the history
Adjust wording for HA check
  • Loading branch information
Kidswiss authored Nov 7, 2023
2 parents 314ca96 + b705bb7 commit 31accba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/webhooks/postgresql.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
Expand Down

0 comments on commit 31accba

Please sign in to comment.