GitLab Kubernetes integration incompatible with API URL that does not have `/` as the path
Zendesk (internal only):
To clear things up from the start, the customer did some deep debugging and determined this is a Kubeclient bug. They created an issue themselves at https://github.com/abonas/kubeclient/issues/318. See that issue for all the details. Rancher has some slightly non-standard URLs for the Kubernetes API server. Even when configuring the API URL
in the project settings appropriately, the Kubeclient interprets that incorrectly.
We still want to track this bug in the GitLab tracker, too, so we can be sure to update the gem once the fix is out.
The issue occurred with Rancher Kubernetes, but it can also arise for any cluster that does not have /
as the path (e.g. for API URLs like https://k8s-api.tld/something
).
Possible fix
Contribute a patch to enable Kubeclient to mount paths that are not /
- https://github.com/abonas/kubeclient/issues/318