onmetal-dev / metal

bare metal PaaS
https://www.onmetal.dev
GNU Affero General Public License v3.0
4 stars 0 forks source link

gateway routes for deployments #106

Closed rgarcia closed 1 week ago

rgarcia commented 1 week ago

[!IMPORTANT] Update gateway routes and URL patterns for deployments, including port changes and UI text updates.

  • Gateway Routes:
    • Update Port from 80 to 8080 and ExternalPort from 80 to 443 in cmd/app/handlers/api/up.go.
    • Add functions hostnameForDeployment, httpRoutesForDeployment, ensureHttpRoutesForDeployment, servicePortsForDeployment, and ensureServiceForDeployment in talos.go to manage HTTP routes and services for deployments.
  • URL Patterns:
    • Change URL pattern from /dashboard/{teamId}/env/{envName} to /dashboard/{teamId}/envs/{envName} in urls.go.
  • UI Changes:
    • Update button text to "update variables and redeploy" in app-details.templ and app-details_templ.go.
  • Miscellaneous:
    • Remove redundant ScriptTag declaration in dashboard.go.

This description was created by Ellipsis for a2554a4393886bab505ffac11c65e18b459cc6d3. It will automatically update as commits are pushed.