Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SRVKE-1193] Remove sugar resources #1669

Conversation

pierDipi
Copy link
Member

@pierDipi pierDipi commented Aug 5, 2022

  • Remove deployment
  • Remove service for monitoring
  • Remove service monitor

Signed-off-by: Pierangelo Di Pilato pierdipi@redhat.com

Fixes JIRA #SRVKE-1193

@openshift-ci openshift-ci bot added the approved label Aug 5, 2022
@pierDipi pierDipi force-pushed the SRVKE-1193_Remove-sugar-controller-resources branch from bba53b3 to 114e33e Compare August 5, 2022 15:40
@pierDipi
Copy link
Member Author

pierDipi commented Aug 5, 2022

/retest

Comment on lines -49 to -50
// TestEventingReconcile runs Reconcile to verify if eventing resources are created/deleted.
func TestEventingReconcile(t *testing.T) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I converted this test to an E2E test, see VerifyDashboards.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@pierDipi
Copy link
Member Author

pierDipi commented Aug 8, 2022

Validate / Generated files are commited (pull_request) is failing because serving tests are failing on #1668

@@ -53,10 +53,18 @@ func TestKnativeEventing(t *testing.T) {
VerifyNoDisallowedImageReference(t, caCtx, eventingNamespace)
})

t.Run("Verify sugar controller deletion", func(t *testing.T) {
if err := test.CheckNoDeployment(caCtx.Clients.Kube, eventingNamespace, "sugar-controller"); err != nil {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can remove this in a future release.

"github.com/openshift-knative/serverless-operator/test"
)

func VerifySugarControllerDeletion(ctx *test.Context) upgrade.Operation {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

likewise, to be removed in future release

Copy link
Member

@matzew matzew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@openshift-ci openshift-ci bot added lgtm and removed lgtm labels Aug 8, 2022
- Remove deployment
- Remove service for monitoring
- Remove service monitor

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
@pierDipi pierDipi force-pushed the SRVKE-1193_Remove-sugar-controller-resources branch from a7ce03b to f4d36a1 Compare August 8, 2022 09:16
@pierDipi pierDipi requested a review from matzew August 8, 2022 09:16
@pierDipi
Copy link
Member Author

pierDipi commented Aug 8, 2022

@matzew fixed the 2 GH actions jobs otherwise Prow won't merge the PR

@matzew
Copy link
Member

matzew commented Aug 8, 2022

@matzew fixed the 2 GH actions jobs otherwise Prow won't merge the PR

force merge, FTW 😅

Copy link
Member

@matzew matzew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm label Aug 8, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 8, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: matzew, pierDipi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants