In Kubernetes, schema info is cached by kubectl
in the location specified by --cache-dir
(defaulting to $HOME/.kube/http-cache
), written with world-writeable permissions (rw-rw-rw-
). If --cache-dir
is specified and pointed at a different location accessible to other users/groups, the written files may be modified by other users/groups and disrupt the kubectl invocation.
CPE | Name | Operator | Version |
---|---|---|---|
go/k8s.io/client-go/discovery/cached/disk | ge | 1.8.0 | |
go/k8s.io/client-go/discovery/cached/disk | le | 1.14.1 |