-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webhook URLs don't show public REST API address. #28
Comments
URL for web console code where this option is defined. |
This also requires that you use |
Don't understand what you are suggesting about passing REST API endpoint in the spawner and how that helps. |
If you pass the rest API endpoint into the spawner pod when it's provisioned, the spawner can pass it into the console container as BRIDGE_K8S_MODE_OFF_CLUSTER_ENDPOINT. It's possible I missed something, but I just ran a test with these settings in place and didn't observe problems retrieving credentials |
Okay now understand, referring to my original comment about that variable. How are you setting/overriding Anyway, not sure who would even agree to any changes being made. I don't know that anyone really took this over when I left RH. It has never been formally handed off to anyone and I don't work on it any more. |
I was thinking of something along those lines, yes! Indeed, the best I can do is something like: Regarding ownership of the project, I'm at RH now and I've been really pleased with this method of delivering workshops. If you no longer wish to maintain it, I'd be happy to take the reins to help ensure it continues to evolve. |
As to ownership, you probably need to chat to @jankleinert. I have no idea of what their plans are to keep using it, or whether they would change to current or future alternatives. |
When the URL for web hooks are constructed by the OpenShift web console, it is using the REST API address used internal to the cluster. This have a URL which uses kubernetes.default.svc. This will work from workshop terminal, or from Git service deployed in same cluster, but not from external to cluster.
The console does have an option
--k8s-mode-off-cluster-endpoint
for URL of the Kubernetes API server. So one can possibly setBRIDGE_K8S_MODE_OFF_CLUSTER_ENDPOINT
environment variable if have a way of knowing what the public REST API end point is.The text was updated successfully, but these errors were encountered: