-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
examples/gitserver is broken #5600
Comments
is definitely not expected. Can you exec into the container and verify you have a secret mounted into the pod, and that KUBERNETES_MASTER_SERVICE_HOST is set? That should be all that is needed to connect. Can you exec in and run |
related to #5722 |
#5722 is fixed which should allow the first bullet to work. |
Thanks. Do i need to upgrade to 1.0.8 to get this fix ? On Saturday, November 7, 2015, Clayton Coleman [email protected]
Regards, |
Yes On Nov 9, 2015, at 2:38 AM, Sumit Arrawatia [email protected] Thanks. Do i need to upgrade to 1.0.8 to get this fix ? On Saturday, November 7, 2015, Clayton Coleman [email protected]
Regards, — |
REQUIRE_SERVER_AUTH should also be working now. Please reopen if you are still having issues. |
I tried to run the gitserver example and it doesnot work. I tried using both REQUIRE_GIT_AUTH and REQUIRE_SERVER_AUTH and both of them have issues.
I looked through the code and it looks like we need to pass the auth token instead of the password here (https://github.com/openshift/origin/blob/master/pkg/gitserver/gitserver.go#L215). I tried using the serviceaccount token instead of password and the git operations work but I have the same issue of post-receive hooks not working because the user in not logged in.
Is there a obvious step I am missing ?
Is there a API call which I can use to authenticate users with userid/password and create a .kube/config which the post-receive hook scripts can use ?
The text was updated successfully, but these errors were encountered: