appuio / component-appuio-cloud

APPUiO Cloud
https://hub.syn.tools/appuio-cloud/index.html
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Update kyverno policies to work with version 1.8.0 #134

Closed glrf closed 1 year ago

glrf commented 1 year ago

Kyverno v1.8.0 https://github.com/projectsyn/component-kyverno/pull/61 introduces multiple breaking changes. Most importantly missing fields now evaluate to null instead of "", and exclude now needs to use the any keyword to be able to match a clusterrole or a subject (and not both)

Checklist

glrf commented 1 year ago

I manually tested the policies for both 1.7 and 1.8. I'm fairly sure they now work as expected of both versions