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
purell module is no longer maintained #103068
Comments
in kubeadm the usage of
IMO, we should:
then add a release note to the PR:
we could import i can see this being a breaking change to users having Unicode etcd endpoints in kubeadm, but i'm hoping the same users were already aware to not rely on k8s components to manage this for them. |
/sig cluster-lifecycle |
@neolit123 cool, that was helpful. I'll take up on this and create a PR. |
/assign |
From a Cluster API perspective: It's highly unlikely from the CAPI side that we'll specify IDNA in the kubeadm config. There is a chance on CAPV (vSphere) that a host picks up the DHCP option for the domain name suffix, and that it's using an IDNA. E.g., in my home environment, i have DHCP option 15 set to Is IDNA encoding a consideration for input in etcd's command line, or are unicode args fine? For the public clouds, it's even more unlikely we'll hit it as the choice of domain name suffix is highly constricted to meet node identity requirements in the CPI. My own take, is that I'm not wed to keeping this around at all, I haven't seen a use case for it. |
cc @yastij and @gab-satchi for any further vsphere comments. |
unicode args should be fine, also apparently Go's HTTP stack does IDNA encoding:
i will update the proposed release note above. but IMO, if one would like a domain to be encoded when passed to all the tools in the k8s stack, maybe it should be done in advance.
or leave it to the Go standard library to do the encoding. i saw comments that it might not be fully compliant yet, but i don't know how up to date these comments are. |
/triage accepted |
@neolit123 Apologies, I was a little occupied at work. But I have created the PR 👉 #103801 Please let me know if we can add this as part of 1.22. |
@gkarthiks |
looks like we should tell go-openapi/jsonreference to stop using the library too. |
@neolit123 done. Created an issue in their repo as well go-openapi/jsonreference#10 and offered to create a PR if they are willing to move forward with in-sourcing the logic. |
@gkarthiks thanks! |
@neolit123 just an FYI, the maintainers of the go-openapi have also removed the purell dependency. 🚀 |
What happened:
This is a proactive issue opened to explore the path forward with the
purell
module that we have been using as a dependency forkubeadm
in herekubernetes/cmd/kubeadm/app/preflight/checks.go
Line 714 in d6b408f
This module is looking for a new maintainer.
What you expected to happen:
Discussions around the path forward, potentially eliminate the module from usage and do this operation in-house, as we use it in only one place for specific functionality.
How to reproduce it (as minimally and precisely as possible):
Ref Issue from
purell
repo: PuerkitoBio/purell#33Anything else we need to know?:
Slack Thread: https://kubernetes.slack.com/archives/C09R23FHP/p1624250397087400
The text was updated successfully, but these errors were encountered: