sync between ManagedCluster and cluster inventory API (#615)

Signed-off-by: haoqing0110 <qhao@redhat.com>
This commit is contained in:
Qing Hao
2024-10-15 12:04:41 +08:00
committed by GitHub
parent e76e07685a
commit d9ab25283e
46 changed files with 3178 additions and 19 deletions

View File

@@ -144,3 +144,9 @@ rules:
- apiGroups: ["config.openshift.io"]
resources: ["infrastructures"]
verbs: ["get"]
- apiGroups: ["multicluster.x-k8s.io"]
resources: ["clusterprofiles"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
- apiGroups: ["multicluster.x-k8s.io"]
resources: ["clusterprofiles/status"]
verbs: ["update", "patch"]

View File

@@ -146,3 +146,9 @@ rules:
- apiGroups: ["config.openshift.io"]
resources: ["infrastructures"]
verbs: ["get"]
- apiGroups: ["multicluster.x-k8s.io"]
resources: ["clusterprofiles"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
- apiGroups: ["multicluster.x-k8s.io"]
resources: ["clusterprofiles/status"]
verbs: ["update", "patch"]

View File

@@ -59,7 +59,7 @@ metadata:
categories: Integration & Delivery,OpenShift Optional
certified: "false"
containerImage: quay.io/open-cluster-management/registration-operator:latest
createdAt: "2024-10-08T08:24:18Z"
createdAt: "2024-10-11T02:21:31Z"
description: Manages the installation and upgrade of the ClusterManager.
operators.operatorframework.io/builder: operator-sdk-v1.32.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
@@ -506,6 +506,25 @@ spec:
- infrastructures
verbs:
- get
- apiGroups:
- multicluster.x-k8s.io
resources:
- clusterprofiles
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- multicluster.x-k8s.io
resources:
- clusterprofiles/status
verbs:
- update
- patch
serviceAccountName: cluster-manager
deployments:
- label:

View File

@@ -31,7 +31,7 @@ metadata:
categories: Integration & Delivery,OpenShift Optional
certified: "false"
containerImage: quay.io/open-cluster-management/registration-operator:latest
createdAt: "2024-10-08T08:24:18Z"
createdAt: "2024-10-11T02:21:31Z"
description: Manages the installation and upgrade of the Klusterlet.
operators.operatorframework.io/builder: operator-sdk-v1.32.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3