-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Determine kubernetes service host and port from environment if available #1086
Determine kubernetes service host and port from environment if available #1086
Conversation
Please add a note to the CHANGELOG |
ok to test |
Thanks a lot, @Vlatombe for the PR. Can you please also squash the commits. |
…ble. This can differ from kubernetes.default.svc in some occasions. Uses the same logic as the go client (https://github.com/kubernetes/client-go/blob/master/rest/config.go#L313-L336)
db29e99
to
402bc74
Compare
[merge] |
Thanks @piyush1594 for merging. Do you plan to cut a new release soon? |
@piyush1594 I'm sorry to nag you but would it be possible to run a release of the current master (including this PR)? |
Yaa sure, will do a release in a day or two |
If we keep that test, it will return different URl for every other CI. If we do some changes in test, it will be similar to other tests like setting masterUrl and all. This started happening after PR fabric8io#1086 Asserting not null and is URL is the only solution but does not make any difference as we have another tests for this func.
Hey @Vlatombe Kubernetes Client 3.2.0 released which have this. |
@piyush1594 Thank you! |
This can differ from
kubernetes.default.svc
in some occasions.Uses the same logic as the go client (https://github.com/kubernetes/client-go/blob/master/rest/config.go#L313-L336)