From 49a07092718a823dd6ce630588198f425dd80e38 Mon Sep 17 00:00:00 2001 From: Tomislav Plavcic Date: Wed, 16 Nov 2022 10:29:59 +0100 Subject: [PATCH] Fix validation for pxchandler for new variabe names --- pkg/apis/pxc/v1/pxc_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apis/pxc/v1/pxc_types.go b/pkg/apis/pxc/v1/pxc_types.go index af7659b751..72491a806c 100644 --- a/pkg/apis/pxc/v1/pxc_types.go +++ b/pkg/apis/pxc/v1/pxc_types.go @@ -430,7 +430,7 @@ type HAProxySpec struct { type ProxySQLSpec struct { PodSpec `json:",inline"` - // +kubebuilder:validation:Enum={percona,proxysql-admin} + // +kubebuilder:validation:Enum={internal,scheduler} PXCHandler string `json:"pxchandler,omitempty"` }