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>
16 lines
No EOL
525 B
YAML
16 lines
No EOL
525 B
YAML
apiVersion: policies.kyverno.io/v1alpha1
|
|
kind: ValidatingPolicy
|
|
metadata:
|
|
name: disallow-privilege-escalation
|
|
status:
|
|
conditionStatus:
|
|
conditions:
|
|
- message: Webhook configured.
|
|
reason: Succeeded
|
|
status: "True"
|
|
type: WebhookConfigured
|
|
- message: 'Policy is not ready for reporting, missing permissions: get /v1,
|
|
Resource=deployments: ; list /v1, Resource=deployments: ; watch /v1, Resource=deployments: .'
|
|
reason: Failed
|
|
status: "False"
|
|
type: RBACPermissionsGranted |