Skip to content

Commit d6a9000

Browse files
committed
🐛 Remove RHSSO subscription and csv
Signed-off-by: Jason Montleon <[email protected]>
1 parent 982039a commit d6a9000

File tree

3 files changed

+37
-1
lines changed

3 files changed

+37
-1
lines changed

bundle/manifests/konveyor-operator.clusterserviceversion.yaml

+11-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ metadata:
103103
categories: Modernization & Migration
104104
certified: "false"
105105
containerImage: quay.io/konveyor/tackle2-operator:latest
106-
createdAt: "2025-02-11T17:50:14Z"
106+
createdAt: "2025-03-19T15:41:58Z"
107107
description: Konveyor is an open-source application modernization platform that
108108
helps organizations safely and predictably modernize applications to Kubernetes
109109
at scale.
@@ -237,6 +237,16 @@ spec:
237237
- update
238238
- patch
239239
- delete
240+
- apiGroups:
241+
- operators.coreos.com
242+
resources:
243+
- subscriptions
244+
- clusterserviceversions
245+
verbs:
246+
- get
247+
- list
248+
- watch
249+
- delete
240250
serviceAccountName: tackle-operator
241251
deployments:
242252
- name: tackle-operator

helm/templates/rbac/cluster_role.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,14 @@ rules:
3434
- update
3535
- patch
3636
- delete
37+
- apiGroups:
38+
- operators.coreos.com
39+
resources:
40+
- subscriptions
41+
- clusterserviceversions
42+
verbs:
43+
- get
44+
- list
45+
- watch
46+
- delete
3747
#+kubebuilder:scaffold:rules

roles/tackle/tasks/main.yml

+16
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,22 @@
885885
- (pathfinder_delete_db_volume|bool)
886886
- (pathfinder_pod.resources|length) == 0
887887

888+
- name: "Remove RHSSO Subscription"
889+
k8s:
890+
state: absent
891+
api_version: operators.coreos.com/v1alpha1
892+
kind: Subscription
893+
label_selectors:
894+
- operators.coreos.com/rhsso-operator.openshift-mta =
895+
896+
- name: "Remove RHSSO ClusterServiceVersion"
897+
k8s:
898+
state: absent
899+
api_version: operators.coreos.com/v1alpha1
900+
kind: ClusterServiceVersion
901+
label_selectors:
902+
- operators.coreos.com/rhsso-operator.openshift-mta =
903+
888904
- name: Run kai tasks
889905
when: experimental_deploy_kai
890906
import_tasks: kai.yml

0 commit comments

Comments
 (0)