From 6eecd0b0e3bfc8ae97e5b22abc2a434476457e87 Mon Sep 17 00:00:00 2001 From: Philip Hurst Date: Wed, 22 Jan 2025 20:23:56 +0000 Subject: [PATCH] update enum validation for IPFamily --- .../postgres-operator.crunchydata.com/v1beta1/shared_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apis/postgres-operator.crunchydata.com/v1beta1/shared_types.go b/pkg/apis/postgres-operator.crunchydata.com/v1beta1/shared_types.go index 2897c539a6..8678e07132 100644 --- a/pkg/apis/postgres-operator.crunchydata.com/v1beta1/shared_types.go +++ b/pkg/apis/postgres-operator.crunchydata.com/v1beta1/shared_types.go @@ -23,7 +23,7 @@ func (in SchemalessObject) DeepCopy() SchemalessObject { } -// +kubebuilder:validation:Enum=IPv4;IPv6;foo +// +kubebuilder:validation:Enum=IPv4;IPv6 type IPFamily string type ServiceSpec struct {