-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Current Behavior
If I create a Control Plane Group using the KonnectGatewayControlPlane CRD with cluster_type: CLUSTER_TYPE_CONTROL_PLANE_GROUP, and then attach member control planes to it (as explained here https://developer.konghq.com/operator/konnect/crd/control-planes/control-plane-group/)
kind: KonnectGatewayControlPlane
apiVersion: konnect.konghq.com/v1alpha2
metadata:
name: control-plane-group
namespace: kong
spec:
createControlPlaneRequest:
name: control-plane-group
cluster_type: CLUSTER_TYPE_CONTROL_PLANE_GROUP
members:
- name: gateway-control-plane
konnect:
authRef:
name: konnect-api-auth
I get the error:
KonnectExtension.konnect.konghq.com "my-konnect-config" is invalid: status.konnect.clusterType: Unsupported value: "": supported values: "ControlPlane", "K8SIngressController"
However the clusterType of my-konnect-config is not "", it's "CLUSTER_TYPE_CONTROL_PLANE_GROUP" which is not in the supported values.
The KonnectExtension itself can reference to a KonnectGatewayControlPlane (which could be a standard control plane or a group), but the docs don't confirm that a KonnectExtension can directly target a Control Plane Group type KonnectGatewayControlPlane for DataPlane attachment.
Expected Behaviour
The KonnectExtension can reference to a KonnectGatewayControlPlane with cluster_type: CLUSTER_TYPE_CONTROL_PLANE_GROUP
Operator Version
Tested on Kong Operator version 2.1