openshift-pipelines/pipeline-service

Securely access kcp running in a pod.

ramessesii2 opened this issue · 0 comments

Right now
$ KUBECONFIG=$kcp_config kubectl api-resources
NAME SHORTNAMES APIVERSION NAMESPACED KIND
Unable to connect to the server: x509: certificate is valid for localhost, not ckcp-ckcp.apps.hacbs-build-08.hosted.upshift.rdu2.redhat.com
where ckcp-ckcp.apps.hacbs-build-08.hosted.upshift.rdu2.redhat.com is the route address.

To fix it, we've to add the flag --insecure-skip-tls-verify=true which is clearly not ideal.

Resources

Related to
Issue #48