From 7c2f7798f8e8f211ce40baee819bc00532c78ca7 Mon Sep 17 00:00:00 2001 From: Andrea Panattoni Date: Wed, 8 Nov 2023 12:32:52 +0100 Subject: [PATCH] dsonly: Allow config-daemon to send k8s events Downstream changes for bundles related to https://github.com/k8snetworkplumbingwg/sriov-network-operator/commit/4d153f8d33cbb3322131fa063306eebcc3ac512c run `make -f Makefile.bundle bundle` to align manifests. Signed-off-by: Andrea Panattoni --- .../sriov-network-operator.clusterserviceversion.yaml | 9 ++++++++- config/rbac/sriov-network-config-daemon_role.yaml | 7 +++++++ .../sriov-network-operator.clusterserviceversion.yaml | 9 ++++++++- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/bundle/manifests/sriov-network-operator.clusterserviceversion.yaml b/bundle/manifests/sriov-network-operator.clusterserviceversion.yaml index 957e52e30..1a1262e81 100644 --- a/bundle/manifests/sriov-network-operator.clusterserviceversion.yaml +++ b/bundle/manifests/sriov-network-operator.clusterserviceversion.yaml @@ -100,7 +100,7 @@ metadata: categories: Networking certified: "false" containerImage: quay.io/openshift/origin-sriov-network-operator:4.15 - createdAt: "2023-11-23T09:50:54Z" + createdAt: "2023-11-24T18:31:22Z" description: An operator for configuring SR-IOV components and initializing SRIOV network devices in Openshift cluster. olm.skipRange: '>=4.3.0-0 <4.15.0' @@ -420,6 +420,13 @@ spec: verbs: - get - update + - apiGroups: + - "" + resources: + - events + verbs: + - create + - patch - apiGroups: - coordination.k8s.io resources: diff --git a/config/rbac/sriov-network-config-daemon_role.yaml b/config/rbac/sriov-network-config-daemon_role.yaml index cdbf5287f..c2207eee9 100644 --- a/config/rbac/sriov-network-config-daemon_role.yaml +++ b/config/rbac/sriov-network-config-daemon_role.yaml @@ -37,6 +37,13 @@ rules: verbs: - get - update +- apiGroups: + - "" + resources: + - events + verbs: + - create + - patch - apiGroups: - 'coordination.k8s.io' resources: diff --git a/manifests/stable/sriov-network-operator.clusterserviceversion.yaml b/manifests/stable/sriov-network-operator.clusterserviceversion.yaml index 957e52e30..1a1262e81 100644 --- a/manifests/stable/sriov-network-operator.clusterserviceversion.yaml +++ b/manifests/stable/sriov-network-operator.clusterserviceversion.yaml @@ -100,7 +100,7 @@ metadata: categories: Networking certified: "false" containerImage: quay.io/openshift/origin-sriov-network-operator:4.15 - createdAt: "2023-11-23T09:50:54Z" + createdAt: "2023-11-24T18:31:22Z" description: An operator for configuring SR-IOV components and initializing SRIOV network devices in Openshift cluster. olm.skipRange: '>=4.3.0-0 <4.15.0' @@ -420,6 +420,13 @@ spec: verbs: - get - update + - apiGroups: + - "" + resources: + - events + verbs: + - create + - patch - apiGroups: - coordination.k8s.io resources: