Open timroster opened 1 year ago
After gitea is running, the console-link script tries to find a route with non-existent name:
module.gitea.null_resource.wait_gitea_instance_deployment: Creation complete after 1m56s [id=4717533605704814455] module.gitea.data.external.gitea_route: Reading... module.gitea.null_resource.gitea_consolelink_deployment: Creating... module.gitea.null_resource.gitea_consolelink_deployment: Provisioning with 'local-exec'... module.gitea.null_resource.gitea_consolelink_deployment (local-exec): Executing: ["/bin/sh" "-c" ".terraform/modules/gitea/scripts/create-console-link.sh gitops-ibm-odf gitea-9dvupfr7 true"] module.gitea.null_resource.gitea_consolelink_deployment (local-exec): Error from server (NotFound): routes.route.openshift.io "gitea-9dvupfr7" not found module.gitea.null_resource.gitea_consolelink_deployment (local-exec): consolelink.console.openshift.io/toolkit-sourcecontrol created module.gitea.null_resource.gitea_consolelink_deployment: Creation complete after 7s [id=423828315800292329]
It usually appears that the route is just named gitea:
gitea
oc get route -n gitops-ibm-odf NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD gitea gitea-gitops-ibm-odf.tor-tzaodf-h1ukf2-cluster-2bef1f4b4097001da9502000c44fc2b2-0000.us-east.containers.appdomain.cloud gitea <all> edge/Redirect None
This module may not be the right place to be trying to create the console link
After gitea is running, the console-link script tries to find a route with non-existent name:
It usually appears that the route is just named
gitea
: