We upgraded fabric8 kubernetes-client dependency in https://github.com/strimzi/strimzi-kafka-operator/pull/5000
After that, some tests started failing because of a duplicate kind property. For example
--- apiVersion: "kafka.strimzi.io/v1alpha1" kind: "KafkaRebalance" metadata: labels: strimzi.io/cluster: "kafka-cruise-control-test-cluster" name: "my-rebalance" namespace: "cruise-control-namespace" spec: goals: - "CpuCapacityGoal" - "NetworkInboundCapacityGoal" - "DiskCapacityGoal" - "RackAwareGoal" - "NetworkOutboundCapacityGoal" - "ReplicaCapacityGoal" skipHardGoalCheck: false concurrentPartitionMovementsPerBroker: 0 concurrentIntraBrokerPartitionMovements: 0 concurrentLeaderMovements: 0 replicationThrottle: 0 unknown: "property" kind: "KafkaRebalance"
To Reproduce:
Run MockKubeTest class or io.strimzi.operator.cluster.operator.assembly.KafkaRebalanceAssemblyOperatorTest#testUnknownPropertyInSpec
Started by https://github.com/strimzi/strimzi-kafka-operator/issues/5053