Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Add space and org to route names when deploying, to prevent route name collisions#1

Open
akf wants to merge 1 commit into
mainfrom
akf-deployment-tweaks
Open

Add space and org to route names when deploying, to prevent route name collisions#1
akf wants to merge 1 commit into
mainfrom
akf-deployment-tweaks

Conversation

@akf
Copy link
Copy Markdown
Collaborator

@akf akf commented Feb 4, 2025

Cloud Foundry failed on deployment for me, because the api-proxy.apps.internal and api-proxy.app.cloud.gov routes were already taken.

Routes cannot be mapped to destinations in different spaces

So I'm prepending the org and space names (with . in space name converted to -) to the route names. It makes for extra-long route names, but it works.

I also modified the cf deploy lines to emit their output while troubleshooting, and decided to leave it that way for now.

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.

1 participant