diff --git a/README.md b/README.md index bf148b8..53b828d 100644 --- a/README.md +++ b/README.md @@ -77,10 +77,10 @@ Flags: ~ 🐶 kubectl images -n kube-system -oy dns - pod: coredns-78fcd69978-9pbjh container: coredns - image: kube-system + image: k8s.gcr.io/coredns/coredns:v1.8.4 - pod: coredns-78fcd69978-jh7m2 container: coredns - image: kube-system + image: k8s.gcr.io/coredns/coredns:v1.8.4 ~ 🐶 kubectl images -A -c 0,1,3 [Summary]: 2 namespaces, 11 pods, 11 containers and 9 different images @@ -141,14 +141,14 @@ Flags: "namespace": "nginx", "pod": "nginx-deployment-66b6c48dd5-s9wv5", "container": "nginx", - "image": "nginx", + "image": "nginx:latest", "imagePullPolicy": "IfNotPresent" }, { "namespace": "nginx", "pod": "nginx-deployment-66b6c48dd5-wmn9x", "container": "nginx", - "image": "nginx", + "image": "nginx:latest", "imagePullPolicy": "IfNotPresent" } ] diff --git a/cmd/main.go b/cmd/main.go index 342b815..ef1a403 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -9,7 +9,7 @@ import ( "github.com/spf13/cobra" ) -const version = "0.5.0" +const version = "0.5.1" var rootCmd *cobra.Command diff --git a/kubectl_images.go b/kubectl_images.go index 3cd6d9b..d5f69df 100644 --- a/kubectl_images.go +++ b/kubectl_images.go @@ -103,7 +103,7 @@ func (ie *ImageEntity) filterBy(columns []string) ImageEntity { case labelContainer: entity.Container = ie.Container case labelImage: - entity.Image = ie.Namespace + entity.Image = ie.Image case labelImagePullPolicy: entity.ImagePullPolicy = ie.ImagePullPolicy }