Switch to port forwarding in the integration tests for communicating between the go tests and Vault within the Kubernetes cluster.
Eliminates some of the previous unsightly requirements:
kubectl and exec'ing it
Patch for kind config
Patch for Vault helm chart manifest
Specific host port 38200 being available to bring the kind cluster up
To avoid importing k8s client-go into the main plugin package, I gave the integration test its own go module, which generated a lot of lines of diff, but the rest of the changes are not too big.
Switch to port forwarding in the integration tests for communicating between the go tests and Vault within the Kubernetes cluster.
Eliminates some of the previous unsightly requirements:
kubectl
and exec'ing itTo avoid importing k8s client-go into the main plugin package, I gave the integration test its own go module, which generated a lot of lines of diff, but the rest of the changes are not too big.