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

no matches for kind "Route" in version "route.openshift.io/v1" #285

Open
aaaaahaaaaa opened this issue Nov 14, 2022 · 6 comments
Open

no matches for kind "Route" in version "route.openshift.io/v1" #285

aaaaahaaaaa opened this issue Nov 14, 2022 · 6 comments

Comments

@aaaaahaaaaa
Copy link

aaaaahaaaaa commented Nov 14, 2022

Installation from the manifest:

kubectl apply -f https://raw.githubusercontent.com/stakater/Forecastle/master/deployments/kubernetes/forecastle.yaml

Results in the following error:

error: resource mapping not found for name: "forecastle" namespace: "" from "https://raw.githubusercontent.com/stakater/Forecastle/master/deployments/kubernetes/forecastle.yaml": no matches for kind "Route" in version "route.openshift.io/v1"
ensure CRDs are installed first

The README makes no mention of OpenShift. The dependency should be clearly highlighted.

@rasheedamir
Copy link
Member

@aaaaahaaaaa Forecastle has no OpenShift dependency

@davidkarlsen can you plz check what is wrong here?

@davidkarlsen
Copy link
Collaborator

@aaaaahaaaaa Are you running on OpenShift or vanilla k8s? Can you provide some stack-traces please?

@aaaaahaaaaa
Copy link
Author

@rasheedamir You do have a OpenShift dependency (route.openshift.io/v1) here.

@karl-johan-grahn
Copy link
Contributor

Docs needs update, so yes it is a bug, however @aaaaahaaaaa you can try build the chart via Helm template locally because the values by default disables route: https://github.com/stakater/Forecastle/blob/master/deployments/kubernetes/chart/forecastle/values.yaml#L53

@callum-stakater
Copy link
Contributor

either we should default this to ingress instead of route: https://github.com/stakater/Forecastle/blob/master/.github/workflows/push.yaml#L148 (cause ingress will also work on OCP where as route wont work on vanilla k8s) or add another job and render manifests for both k8s and openshift flavors

@aslafy-z
Copy link
Contributor

aslafy-z commented Nov 9, 2024

This is an easy fix, any updates @karl-johan-grahn @bnallapeta

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

No branches or pull requests

7 participants