Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

IPv6 addres parsing in KubeConfig.from_service_account #50

Merged
merged 2 commits into from Dec 23, 2019

Conversation

Aakcht
Copy link

@Aakcht Aakcht commented Dec 23, 2019

I noticed that when KUBERNETES_SERVICE_HOST/PYKUBE_KUBERNETES_SERVICE_PORT is set to IPv6 address then server url is calculated incorrectly. So I added IPv6 address bracketing the same way it is done in official Kubernetes Python client

pykube/config.py Outdated Show resolved Hide resolved
@hjacobs
Copy link
Owner

hjacobs commented Dec 23, 2019

Thanks!

@hjacobs hjacobs merged commit 2a806dc into hjacobs:master Dec 23, 2019
@Aakcht Aakcht deleted the from_service_account_ipv6 branch December 7, 2021 18:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants