mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-23 16:20:40 +00:00
* feat: enable mutating webhook for ivpol Signed-off-by: ShutingZhao <shuting@nirmata.com> * fix: unit tests Signed-off-by: ShutingZhao <shuting@nirmata.com> * fix: add objects to payload Signed-off-by: ShutingZhao <shuting@nirmata.com> * chore: add chainsaw test Signed-off-by: ShutingZhao <shuting@nirmata.com> * chore: add update codegen Signed-off-by: ShutingZhao <shuting@nirmata.com> * fix: propagate policy response to admission reponse Signed-off-by: ShutingZhao <shuting@nirmata.com> * chore: update chainsaw tests Signed-off-by: ShutingZhao <shuting@nirmata.com> * fix: ivpol autogen meta Signed-off-by: ShutingZhao <shuting@nirmata.com> --------- Signed-off-by: ShutingZhao <shuting@nirmata.com>
17 lines
No EOL
536 B
YAML
17 lines
No EOL
536 B
YAML
apiVersion: policies.kyverno.io/v1alpha1
|
|
kind: ValidatingPolicy
|
|
metadata:
|
|
name: check-deployment-labels
|
|
status:
|
|
conditionStatus:
|
|
conditions:
|
|
- message: Webhook configured.
|
|
reason: Succeeded
|
|
status: "True"
|
|
type: WebhookConfigured
|
|
- message: 'Policy is not ready for reporting, missing permissions: get apps/v1,
|
|
Resource=configmaps: ; list apps/v1, Resource=configmaps: ; watch apps/v1,
|
|
Resource=configmaps: .'
|
|
reason: Failed
|
|
status: "False"
|
|
type: RBACPermissionsGranted |