update rbac for capi (#789)
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 3m3s
Post / images (amd64) (push) Failing after 7m11s
Post / images (arm64) (push) Failing after 7m0s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Post / coverage (push) Failing after 32m31s

Signed-off-by: Zhiwei Yin <zyin@redhat.com>
This commit is contained in:
Zhiwei Yin
2025-01-08 10:25:04 +08:00
committed by GitHub
parent 3aee02c74a
commit e515d81391
4 changed files with 25 additions and 4 deletions

View File

@@ -7,6 +7,11 @@ rules:
- apiGroups: [""]
resources: ["configmaps", "namespaces", "serviceaccounts", "services"]
verbs: ["create", "get", "list", "update", "watch", "patch", "delete", "deletecollection"]
- apiGroups: [""]
resources: ["serviceaccounts/token"]
resourceNames:
- "cluster-bootstrap"
verbs: ["get", "create"]
- apiGroups: [""]
resources: ["pods"]
verbs: ["get"]

View File

@@ -9,6 +9,11 @@ rules:
- apiGroups: [""]
resources: ["configmaps", "namespaces", "serviceaccounts", "services"]
verbs: ["create", "get", "list", "update", "watch", "patch", "delete", "deletecollection"]
- apiGroups: [""]
resources: ["serviceaccounts/token"]
resourceNames:
- "cluster-bootstrap"
verbs: ["get", "create"]
- apiGroups: [""]
resources: ["pods"]
verbs: ["get"]

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-12-24T03:03:39Z"
createdAt: "2025-01-06T02:51:43Z"
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
@@ -127,6 +127,15 @@ spec:
- patch
- delete
- deletecollection
- apiGroups:
- ""
resourceNames:
- cluster-bootstrap
resources:
- serviceaccounts/token
verbs:
- get
- create
- apiGroups:
- ""
resources: