Skip to content

Commit

Permalink
ACM-4120 Remove Search V1 CRDs from 2.8 (stolostron#1003)
Browse files Browse the repository at this point in the history
* ACM-4120 Remove Search V1 CRDs from 2.8

Signed-off-by: Erin Murphy <[email protected]>

* Update controllers/uninstall.go

Signed-off-by: Erin Murphy <[email protected]>

Co-authored-by: Jakob Gray <[email protected]>

---------

Signed-off-by: Erin Murphy <[email protected]>
Co-authored-by: Jakob Gray <[email protected]>
  • Loading branch information
eemurphy and JakobGray authored Mar 22, 2023
1 parent f9b8415 commit 28d16d0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions controllers/uninstall.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ var (
types.NamespacedName{Name: "multiclusterhub-repo", Namespace: m.Namespace},
schema.GroupVersionKind{Group: "", Kind: "Service", Version: "v1"},
),
newUnstructured(
types.NamespacedName{Name: "searchcustomizations.search.open-cluster-management.io"},
schema.GroupVersionKind{Group: "apiextensions.k8s.io", Kind: "CustomResourceDefinition", Version: "v1"},
),
newUnstructured(
types.NamespacedName{Name: "searchoperators.search.open-cluster-management.io"},
schema.GroupVersionKind{Group: "apiextensions.k8s.io", Kind: "CustomResourceDefinition", Version: "v1"},
),
}

if m.Spec.SeparateCertificateManagement && m.Spec.ImagePullSecret != "" {
Expand Down

0 comments on commit 28d16d0

Please sign in to comment.