You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KIM doesn't correctly handle a scenario with enabling audit logs for a runtime that previously had audit logs disabled.
Steps to reproduce
Create a Runtime CR for a region that doesn't have audit log configuration. Make sure KIM has auditlogmandatory parameter set to false.
Wait until the shoot is reconciled. Confirm the audit log extension is not included in spec.extensions
Provide missing audit log configuration for the Runtime's region.
Modify any property to cause reconciliation.
Notice the Runtime has Failed status. The error message is Gardener API shoot patch error: admission webhook "validator.shoot-auditlog-admission.extensions.gardener.cloud" denied the request: missing or invalid referenced resource: auditlog-credentials
Expected result
KIM should enable audit logs in all cases no matter what is current state of the shoot.
Actual result
Enabling audit logs for a runtime with audit logs disabled fails.
The text was updated successfully, but these errors were encountered:
Description
KIM doesn't correctly handle a scenario with enabling audit logs for a runtime that previously had audit logs disabled.
Steps to reproduce
auditlogmandatory
parameter set tofalse
.spec.extensions
Failed
status. The error message isGardener API shoot patch error: admission webhook "validator.shoot-auditlog-admission.extensions.gardener.cloud" denied the request: missing or invalid referenced resource: auditlog-credentials
Expected result
KIM should enable audit logs in all cases no matter what is current state of the shoot.
Actual result
Enabling audit logs for a runtime with audit logs disabled fails.
The text was updated successfully, but these errors were encountered: