Skip to content

Commit

Permalink
Remove create,patch,delete and update verbs for CRDs in role.yaml and…
Browse files Browse the repository at this point in the history
… recreate CSV

Signed-off-by: Jordi Gil <jgil@redhat.com>
  • Loading branch information
jordigilh committed Mar 27, 2024
1 parent 46a9a81 commit ddb3426
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 23 deletions.
25 changes: 6 additions & 19 deletions bundle/manifests/operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,22 +96,20 @@ metadata:
}
]
capabilities: Basic Install
createdAt: "2024-03-27T13:26:04Z"
createdAt: "2024-03-27T21:02:26Z"
operators.operatorframework.io/builder: operator-sdk-v1.34.1
operators.operatorframework.io/project_layout: helm.sdk.operatorframework.io/v1
name: operator.v0.0.1
namespace: placeholder
spec:
minKubeVersion: 1.27.0
apiservicedefinitions: {}
customresourcedefinitions:
owned:
- kind: Orchestrator
name: orchestrators.orchestrator.parodos.dev
version: v1alpha1
description: This is a helm based operator that deploys the helm charts of the Parodos
Orchestrator project
displayName: Parodos Orchestrator Operator
description: Parodos Orchestrator
displayName: Parodos Orchestrator
icon:
- base64data: ""
mediatype: ""
Expand Down Expand Up @@ -141,17 +139,6 @@ spec:
- events
verbs:
- create
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- create
- delete
- update
- get
- list
- patch
- apiGroups:
- operators.coreos.com
resources:
Expand Down Expand Up @@ -416,7 +403,7 @@ spec:
- --metrics-bind-address=127.0.0.1:8080
- --leader-elect
- --leader-election-id=operator
image: quay.io/parodos-dev/orchestrator-controller:latest
image: quay.io/jordigilh/orchestrator-controller:latest
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -495,9 +482,9 @@ spec:
- orchestrator
links:
- name: Operator
url: https://www.parodos.dev/
url: https://operator.domain
maturity: alpha
provider:
name: Red Hat
url: https://github.com/jordigilh/orchestrator-helm-operator
url: https://parodos.dev
version: 0.0.1
4 changes: 0 additions & 4 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,8 @@ rules:
resources:
- customresourcedefinitions
verbs:
- create
- delete
- update
- get
- list
- patch
- apiGroups:
- operators.coreos.com
resources:
Expand Down

0 comments on commit ddb3426

Please sign in to comment.