mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 18:09:57 +00:00
✨ Start import in registration by feature gate. (#775)
* Update clustermanager operator to support capi Signed-off-by: Jian Qiu <jqiu@redhat.com> * Update operator to start importer Signed-off-by: Jian Qiu <jqiu@redhat.com> --------- Signed-off-by: Jian Qiu <jqiu@redhat.com>
This commit is contained in:
@@ -150,3 +150,6 @@ rules:
|
||||
- apiGroups: ["multicluster.x-k8s.io"]
|
||||
resources: ["clusterprofiles/status"]
|
||||
verbs: ["update", "patch"]
|
||||
- apiGroups: [ "cluster.x-k8s.io" ]
|
||||
resources: [ "clusters" ]
|
||||
verbs: ["get", "list", "watch"]
|
||||
|
||||
@@ -42,6 +42,8 @@ spec:
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.name
|
||||
- name: AGENT_IMAGE
|
||||
value: {{ template "operatorImage" . }}
|
||||
securityContext:
|
||||
{{- toYaml .Values.securityContext | nindent 10 }}
|
||||
livenessProbe:
|
||||
|
||||
@@ -53,6 +53,8 @@ spec:
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.name
|
||||
- name: AGENT_IMAGE
|
||||
value: quay.io/open-cluster-management/registration-operator:latest
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
|
||||
@@ -152,3 +152,6 @@ rules:
|
||||
- apiGroups: ["multicluster.x-k8s.io"]
|
||||
resources: ["clusterprofiles/status"]
|
||||
verbs: ["update", "patch"]
|
||||
- apiGroups: [ "cluster.x-k8s.io" ]
|
||||
resources: [ "clusters" ]
|
||||
verbs: ["get", "list", "watch"]
|
||||
|
||||
@@ -59,7 +59,7 @@ metadata:
|
||||
categories: Integration & Delivery,OpenShift Optional
|
||||
certified: "false"
|
||||
containerImage: quay.io/open-cluster-management/registration-operator:latest
|
||||
createdAt: "2024-12-02T08:08:47Z"
|
||||
createdAt: "2024-12-18T07:51:41Z"
|
||||
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
|
||||
@@ -525,6 +525,14 @@ spec:
|
||||
verbs:
|
||||
- update
|
||||
- patch
|
||||
- apiGroups:
|
||||
- cluster.x-k8s.io
|
||||
resources:
|
||||
- clusters
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
serviceAccountName: cluster-manager
|
||||
deployments:
|
||||
- label:
|
||||
@@ -571,6 +579,8 @@ spec:
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.name
|
||||
- name: AGENT_IMAGE
|
||||
value: quay.io/open-cluster-management/registration-operator:latest
|
||||
image: quay.io/open-cluster-management/registration-operator:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
livenessProbe:
|
||||
|
||||
@@ -31,7 +31,7 @@ metadata:
|
||||
categories: Integration & Delivery,OpenShift Optional
|
||||
certified: "false"
|
||||
containerImage: quay.io/open-cluster-management/registration-operator:latest
|
||||
createdAt: "2024-12-02T08:08:47Z"
|
||||
createdAt: "2024-12-18T07:51:42Z"
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user