no matches for kind "Route" in version "route.openshift.io/v1"
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.
@aaaaahaaaaa Forecastle has no OpenShift dependency
@davidkarlsen can you plz check what is wrong here?
@aaaaahaaaaa Are you running on OpenShift or vanilla k8s? Can you provide some stack-traces please?
@rasheedamir You do have a OpenShift dependency (route.openshift.io/v1) here.
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
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
This is an easy fix, any updates @karl-johan-grahn @bnallapeta