This component contains unit and integration tests. Some of them - like the consumer ones - require a Kubernetes environment.
It is possible to run the integration tests using Kind. To do so, follow these steps:
kind create cluster
export KUBE_TOKEN=$(kubectl get secrets -o jsonpath="{.items[?(@.metadata.annotations['kubernetes\.io/service-account\.name']=='default')].data.token}"|base64 --decode)
export KIND_PORT=$(docker inspect --format='{{range $p, $conf := .NetworkSettings.Ports}}{{(index $conf 0).HostPort}}{{end}}' kind-control-plane) export KUBE_HOST=https://localhost:$KIND_PORT
mvn -Dkubernetes.test.auth="$KUBE_TOKEN" -Dkubernetes.test.host=$KUBE_HOST -Dkubernetes.test.host.k8s=true clean verify