diff --git a/assets/csidriveroperators/openstack-manila/hypershift/mgmt/generated/rbac.authorization.k8s.io_v1_role_manila-csi-driver-operator-role.yaml b/assets/csidriveroperators/openstack-manila/hypershift/mgmt/generated/rbac.authorization.k8s.io_v1_role_manila-csi-driver-operator-role.yaml index 992f9ea2c..5536c309d 100644 --- a/assets/csidriveroperators/openstack-manila/hypershift/mgmt/generated/rbac.authorization.k8s.io_v1_role_manila-csi-driver-operator-role.yaml +++ b/assets/csidriveroperators/openstack-manila/hypershift/mgmt/generated/rbac.authorization.k8s.io_v1_role_manila-csi-driver-operator-role.yaml @@ -85,3 +85,15 @@ rules: - replicasets verbs: - get +- apiGroups: + - networking.k8s.io + resources: + - networkpolicies + verbs: + - watch + - list + - get + - create + - delete + - patch + - update diff --git a/assets/csidriveroperators/openstack-manila/hypershift/mgmt/hypershift_role.patch.yaml b/assets/csidriveroperators/openstack-manila/hypershift/mgmt/hypershift_role.patch.yaml index 3f8ab95eb..1b30e093b 100644 --- a/assets/csidriveroperators/openstack-manila/hypershift/mgmt/hypershift_role.patch.yaml +++ b/assets/csidriveroperators/openstack-manila/hypershift/mgmt/hypershift_role.patch.yaml @@ -63,3 +63,18 @@ - replicasets verbs: - get +- op: "add" + path: "/rules/-" + value: + apiGroups: + - networking.k8s.io + resources: + - networkpolicies + verbs: + - watch + - list + - get + - create + - delete + - patch + - update