-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
feat(health): add kyverno Policy resource customization #21552
base: master
Are you sure you want to change the base?
feat(health): add kyverno Policy resource customization #21552
Conversation
🔴 Preview Environment stopped on BunnyshellSee: Environment Details | Pipeline Logs Available commands (reply to this comment):
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #21552 +/- ##
=========================================
Coverage ? 55.86%
=========================================
Files ? 343
Lines ? 57305
Branches ? 0
=========================================
Hits ? 32016
Misses ? 22647
Partials ? 2642 ☔ View full report in Codecov by Sentry. |
resource_customizations/kyverno.io/Policy/testdata/healthy.yaml
Outdated
Show resolved
Hide resolved
a6756ce
to
2917775
Compare
Signed-off-by: Marc Khair <[email protected]>
7c4701f
to
4919c8c
Compare
Can anyone review please? @blakepettersson @crenshaw-dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Of course people will still need to customize their ignore differences with kyverno but that's a end user thing.
@crenshaw-dev can anyone take a look at this please? |
|
||
hs.status = "Progressing" | ||
hs.message = "Waiting for Policy to be ready" | ||
return hs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can it ever be unhealthy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on the status conditions I see, I don't think so. I might be wrong, my experience with the Policy objects lifecycle is limited.
Adding custom health check logic for
kyverno.io/Policy
objects.