Open ernoaapa opened 3 years ago
To use the outdated information in other systems, provide optional JSON output format.
You can give an optional --output=json flag and the output will be in JSON format like this
--output=json
[ { "repository": "docker.io", "image": "bitnami/mariadb", "tag": "10.5.10-debian-10-r18", "latestVersion": "10.5.10-debian-10-r18", "versionsBehind": 0 }, { "repository": "k8s.gcr.io", "image": "library/coredns", "tag": "1.7.0", "latestVersion": "1.7.0", "versionsBehind": 0 }, { "repository": "k8s.gcr.io", "image": "library/etcd", "tag": "3.4.13-0", "latestVersion": "3.4.13-0", "versionsBehind": 0 }, { "repository": "docker.io", "image": "kindest/kindnetd", "tag": "v20200725-4d6bea59", "latestVersion": "20200725.0.0-4d6bea59", "versionsBehind": 0 }, { "repository": "k8s.gcr.io", "image": "library/kube-apiserver", "tag": "v1.19.1", "latestVersion": "1.19.1", "versionsBehind": 0 }, { "repository": "k8s.gcr.io", "image": "library/kube-controller-manager", "tag": "v1.19.1", "latestVersion": "1.19.1", "versionsBehind": 0 }, { "repository": "k8s.gcr.io", "image": "library/kube-proxy", "tag": "v1.19.1", "latestVersion": "1.19.1", "versionsBehind": 0 }, { "repository": "k8s.gcr.io", "image": "library/kube-scheduler", "tag": "v1.19.1", "latestVersion": "1.19.1", "versionsBehind": 0 }, { "repository": "docker.io", "image": "rancher/local-path-provisioner", "tag": "v0.0.14", "latestVersion": "0.0.19", "versionsBehind": 5 } ]
Fixes #31
To use the outdated information in other systems, provide optional JSON output format.
You can give an optional
--output=json
flag and the output will be in JSON format like thisFixes #31