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

Fix go modules when not using proxy.golang.org #167

Merged
merged 3 commits into from
Oct 1, 2020

Conversation

amisevsk
Copy link
Collaborator

@amisevsk amisevsk commented Oct 1, 2020

What does this PR do?

Updates dependencies to resolve a few issues:

  • Update che-plugin-broker to version v3.4.0, since the previous commit we relied on is not in any branch in the repo.
  • Don't refer to openshift/api version via tag, as tags were removed from that repo at some point (Add tags for go mod compatibility openshift/api#456). Updated dependency uses the same commit.

This PR also includes to minor fixups I needed to implement to get things working on k8s:

  • Fix issue where makefile was updating the openshift version of controller.yaml when using kubectl
  • Fix issue where it was possible to attempt to start a workspace with openshift-oauth routing on kubernetes. Doing so caused workspaceRoutings to never have their finalizer removed and the controller to loop on an error.

What issues does this PR fix or reference?

#166

Is it tested? How?

Tested on minikube

* Fix bad commit hash for che plugin broker (and update to latest
released version -- v3.4.0)
* Fix openshift/api dependency that was broken by the repo removing tags
(updated to current latest)

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
When a workspace is created with openshift-oauth routing in a kubernetes
cluster, the controller will try to reconcile OAuthClients, which do not
exist as a resource on k8s. This causes a reconcile loop when attempting
to remove a WorkspaceRouting, as the finalizer cannot be removed since
deleting OAuthClients will return an error.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: amisevsk, JPinkney, sleshchenko

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:
  • OWNERS [JPinkney,amisevsk,sleshchenko]

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

@amisevsk amisevsk merged commit ddf4533 into devfile:master Oct 1, 2020
@amisevsk amisevsk deleted the fix-modules branch February 8, 2023 15:42
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

4 participants