Conversation
Test Results4 262 tests 4 258 ✅ 2m 18s ⏱️ Results for commit 38d49bc. ♻️ This comment has been updated with latest results. |
1892a53 to
a0d5fc2
Compare
There was a problem hiding this comment.
Something isn't working like I would expect it:
cnquery run kubernetes -c "k8s.apps{ * }"
→ loaded configuration from /etc/opt/mondoo/mondoo.yml using source default
k8s.apps: [
0: {
version: "1.12.1"
partOf: "ingress-nginx"
managedBy: "Helm"
name: "ingress-nginx"
components: [
0: "controller"
]
instance: "nginx"
}
]
k8s.apps: [
0: {
version: "1.12.1"
partOf: "ingress-nginx"
managedBy: "Helm"
name: "ingress-nginx"
components: [
0: "controller"
]
instance: "nginx"
}
]
...
The same app repeats multiple times, but I only installed it once.
e8a3123 to
71d7975
Compare
|
You have two application installed. I missed to set the k8s app id for the MQL resource properly. That is fixed and you should see two different applications now https://github.com/mondoohq/cnquery/pull/5424/files#diff-c7dcc6516acf2f35883e2732feffb500c9c45088773a2f836a67ce3870fa19eaR56 |
|
Still the same issue: But only one deployment: To reproduce:
|
Co-authored-by: Tim Smith <tsmith84@gmail.com>
minikube start
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update
cnquery run kubernetes --discover clusters -c "k8s.apps{ * }" If you use the |
71d7975 to
38d49bc
Compare
|
I updated and rebased, should be ready to go. |
Adds a new resource to make it easy to detect installed applications in k8s: