-
Notifications
You must be signed in to change notification settings - Fork 909
Open
Labels
area/dnsDNS records for k8s.io, kubernetes.io, k8s.dev, etc., code in dns/DNS records for k8s.io, kubernetes.io, k8s.dev, etc., code in dns/lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.priority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.Lowest priority. Possibly useful, but not yet enough support to actually get it done.sig/k8s-infraCategorizes an issue or PR as relevant to SIG K8s Infra.Categorizes an issue or PR as relevant to SIG K8s Infra.sig/releaseCategorizes an issue or PR as relevant to SIG Release.Categorizes an issue or PR as relevant to SIG Release.
Description
The way that the go-get metadata redirector in nginx is configured just redirects k8s.io/ANYTHING
to github.com/kubernetes/ANYTHING
.
This means that k8s.io/Kubernetes
can be used to name the github.com/kubernetes/Kubernetes
repo, which could create some confusion as Go import and module paths are case-sensitive, thus effectively creating two base import paths: k8s.io/kubernetes
and k8s.io/Kubernetes
.
Is it possible to add a rule to the nginx config to only permit lowercase repo names, and return 404s otherwise?
stp-ip
Metadata
Metadata
Assignees
Labels
area/dnsDNS records for k8s.io, kubernetes.io, k8s.dev, etc., code in dns/DNS records for k8s.io, kubernetes.io, k8s.dev, etc., code in dns/lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.priority/awaiting-more-evidenceLowest priority. Possibly useful, but not yet enough support to actually get it done.Lowest priority. Possibly useful, but not yet enough support to actually get it done.sig/k8s-infraCategorizes an issue or PR as relevant to SIG K8s Infra.Categorizes an issue or PR as relevant to SIG K8s Infra.sig/releaseCategorizes an issue or PR as relevant to SIG Release.Categorizes an issue or PR as relevant to SIG Release.