Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The report policy event with empty status #106

Open
yanmxa opened this issue Jan 17, 2024 · 0 comments
Open

The report policy event with empty status #106

yanmxa opened this issue Jan 17, 2024 · 0 comments

Comments

@yanmxa
Copy link
Member

yanmxa commented Jan 17, 2024

When I get the events of the replicated policy, the compliance status from the event message might be empty sometimes.

kubectl get events --field-selector involvedObject.name=$policyname -A
NAMESPACE               LAST SEEN   TYPE     REASON             OBJECT                                           MESSAGE
clc-iks-589-l4yym-iks   143m        Normal   PolicyStatusSync   policy/post-upgrade-policy.post-upgrade-policy   Policy post-upgrade-policy.post-upgrade-policy status was updated to  in cluster namespace clc-iks-589-l4yym-iks
clc-iks-589-l4yym-iks   143m        Normal   PolicyStatusSync   policy/post-upgrade-policy.post-upgrade-policy   Policy post-upgrade-policy.post-upgrade-policy status was updated to NonCompliant in cluster namespace clc-iks-589-l4yym-iks
clc-iks-589-l4yym-iks   142m        Normal   PolicyStatusSync   policy/post-upgrade-policy.post-upgrade-policy   Policy post-upgrade-policy.post-upgrade-policy status was updated to NonCompliant in cluster namespace clc-iks-589-l4yym-iks
clc-iks-589-l4yym-iks   142m        Normal   PolicyStatusSync   policy/post-upgrade-policy.post-upgrade-policy   Policy post-upgrade-policy.post-upgrade-policy status was updated to NonCompliant in cluster namespace clc-iks-589-l4yym-iks
clc-iks-589-l4yym-iks   142m        Normal   PolicyStatusSync   policy/post-upgrade-policy.post-upgrade-policy   Policy post-upgrade-policy.post-upgrade-policy status was updated to NonCompliant in cluster namespace clc-iks-589-l4yym-iks
clc-iks-589-l4yym-iks   28m         Normal   PolicyStatusSync   policy/post-upgrade-policy.post-upgrade-policy   Policy post-upgrade-policy.post-upgrade-policy status was updated to  in cluster namespace clc-iks-589-l4yym-iks
clc-iks-589-l4yym-iks   28m         Normal   PolicyStatusSync   policy/post-upgrade-policy.post-upgrade-policy   Policy post-upgrade-policy.post-upgrade-policy status was updated to NonCompliant in cluster namespace clc-iks-589-l4yym-iks
image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant