robust-tjanst
robust-tjanst copied to clipboard
Authenticate test-runner correctly to the cluster
Right now we are skipping TLS verification when communicating with the Kubernetes cluster. This should be changed so we use the (self issued) ca.crt which is available in the /run/secrets/kubernetes folder. I’ve tried many different approaches but haven’t got it working correctly.
This is the error we get from the test runner if we remove the ENV TLS_SKIP_TLS_ in Dockerfile.tests
https://stackoverflow.com/questions/31673587/error-unable-to-verify-the-first-certificate-in-nodejs