diff --git a/definitions/install.yaml b/definitions/install.yaml index 6776c8585b..7c7d1fe95e 100644 --- a/definitions/install.yaml +++ b/definitions/install.yaml @@ -421,6 +421,16 @@ subjects: name: kyverno-service-account namespace: kyverno --- +apiVersion: rbac.authorization.k8s.io/v1beta1 +kind: ClusterRole +metadata: + name: policyviolation +rules: +- apiGroups: ["kyverno.io"] + resources: + - policyviolations + verbs: ["get", "list", "watch"] +--- apiVersion: v1 kind: ConfigMap metadata: