Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Fix Route API version #65

Merged
merged 2 commits into from
Nov 26, 2020
Merged

Fix Route API version #65

merged 2 commits into from
Nov 26, 2020

Conversation

sleshchenko
Copy link
Collaborator

@sleshchenko sleshchenko commented Nov 18, 2020

What does this PR do?

Depending on the tool and its version, v1 for Route may not be recognized, we faced it on the devworkspace controller side devfile/devworkspace-operator#187 (comment)

So, this PR replace v1 with full Route API version which is route.openshift.io/v1.

Also, it fixes deployments selector to avoid:

The Deployment "web" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string(nil), MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: empty selector is invalid for deployment

error when applying these resources.

Which issues does this PR references?

It should fix #65

Probably it does not fully fix but improve the situation for https://issues.redhat.com/browse/RHDEVDOCS-2154

@skabashnyuk skabashnyuk merged commit d49dd08 into master Nov 26, 2020
@skabashnyuk skabashnyuk deleted the fixRouteApiVersion branch November 26, 2020 12:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants