replicatedhq / outdated

Kubectl plugin to find and report outdated images running in a Kubernetes cluster
https://outdated.sh
Apache License 2.0
423 stars 23 forks source link

can't filter by namespace (aws eks 1.23) #92

Open dmitry-mightydevops opened 1 year ago

dmitry-mightydevops commented 1 year ago
✗  k version                     
Client Version: version.Info{Major:"1", Minor:"22+", GitVersion:"v1.22.6-eks-7d68063", GitCommit:"f24e667e49fb137336f7b064dba897beed639bad", GitTreeState:"clean", BuildDate:"2022-02-23T19:32:14Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"23+", GitVersion:"v1.23.10-eks-15b7512", GitCommit:"cd6399691d9b1fed9ec20c9c5e82f5993c3f42cb", GitTreeState:"clean", BuildDate:"2022-08-31T19:17:01Z", GoVersion:"go1.17.13", Compiler:"gc", Platform:"linux/amd64"}

✗  k ice image -n velero                
PODNAME                  CONTAINER              PULL          IMAGE                         TAG
velero-787884dcb6-kk2bj  velero-plugin-for-csi  IfNotPresent  velero/velero-plugin-for-csi  v0.3.0
velero-787884dcb6-kk2bj  velero-plugin-for-aws  IfNotPresent  velero/velero-plugin-for-aws  v1.5.0
velero-787884dcb6-kk2bj  velero                 IfNotPresent  velero/velero                 v1.9.0

and

➜ k outdated --namespace velero

starts checking images from all namespaces however I am expecting to check just 3 images above.