k8sgpt/pkg/analyzer
Jian Zhang 075066dd7c
fix: use the status for pdb checking (#477)
The PDB event is a historical record, it's not a good choice to judge the pdb latest status based on it.
So, use the `stataus` instead of `event` to check it.

Closes: #476

Signed-off-by: Jian Zhang <jiazha@redhat.com>
2023-06-07 10:51:20 +01:00
..
analyzer.go fix: use coreAnalyzer if there are no filters selected and no active_filters (#432) 2023-05-17 09:36:47 +01:00
cronjob_test.go chore: change license to Apache-2 (#313) 2023-04-21 19:46:31 +02:00
cronjob.go feat: get official field doc (#457) 2023-05-31 10:36:41 +01:00
deployment_test.go chore: change license to Apache-2 (#313) 2023-04-21 19:46:31 +02:00
deployment.go feat: get official field doc (#457) 2023-05-31 10:36:41 +01:00
events.go fix: remove pointer to loop variable when searching the latest event to analyze (#328) 2023-04-25 11:06:45 +02:00
hpa.go feat: get official field doc (#457) 2023-05-31 10:36:41 +01:00
hpaAnalyzer_test.go chore: gofmt fix and enable in CI (#414) 2023-05-15 06:53:59 +01:00
ingress_test.go chore: change license to Apache-2 (#313) 2023-04-21 19:46:31 +02:00
ingress.go feat: get official field doc (#457) 2023-05-31 10:36:41 +01:00
netpol_test.go chore: change license to Apache-2 (#313) 2023-04-21 19:46:31 +02:00
netpol.go feat: get official field doc (#457) 2023-05-31 10:36:41 +01:00
node_test.go chore: change license to Apache-2 (#313) 2023-04-21 19:46:31 +02:00
node.go chore: gofmt fix and enable in CI (#414) 2023-05-15 06:53:59 +01:00
pdb.go fix: use the status for pdb checking (#477) 2023-06-07 10:51:20 +01:00
pod_test.go chore: change license to Apache-2 (#313) 2023-04-21 19:46:31 +02:00
pod.go chore: make go-lint happy (#405) 2023-05-12 12:24:30 +01:00
pvc.go chore: change license to Apache-2 (#313) 2023-04-21 19:46:31 +02:00
rs.go chore: change license to Apache-2 (#313) 2023-04-21 19:46:31 +02:00
service_test.go chore: change license to Apache-2 (#313) 2023-04-21 19:46:31 +02:00
service.go feat: get official field doc (#457) 2023-05-31 10:36:41 +01:00
statefulset_test.go chore: change license to Apache-2 (#313) 2023-04-21 19:46:31 +02:00
statefulset.go feat: get official field doc (#457) 2023-05-31 10:36:41 +01:00