Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 22, 2025

Teams want the frontend as their front-facing URL without the component name suffix.

Changes

  • Ingress host template: Changed from {{ include "frontend.fullname" . }} to {{ .Release.Name }} in charts/app/templates/frontend/templates/ingress.yaml

Impact

# Before
host: myapp-frontend.apps.silver.devops.gov.bc.ca

# After  
host: myapp.apps.silver.devops.gov.bc.ca

Internal resource names (myapp-frontend) remain unchanged for backward compatibility.

Original prompt

This section details on the original issue you should resolve

<issue_title>chore: remove -frontend from default frontend routes</issue_title>
<issue_description>Most teams want the frontend as their front-facing URL. Remove -frontend from those routes. ...which seems really obvious in retrospect.</issue_description>

<agent_instructions>https://github.com/bcgov/copilot-instructions/blob/main/.github/copilot-upstream.md</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

Copilot AI changed the title [WIP] Remove '-frontend' from default frontend routes chore: remove -frontend suffix from default frontend routes Nov 22, 2025
Copilot AI requested a review from DerekRoberts November 22, 2025 18:54
Copilot finished work on behalf of DerekRoberts November 22, 2025 18:54
@DerekRoberts DerekRoberts marked this pull request as ready for review November 25, 2025 21:07
Copilot AI review requested due to automatic review settings November 25, 2025 21:07
Copilot finished reviewing on behalf of DerekRoberts November 25, 2025 21:08
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies the frontend ingress host pattern by removing the -frontend suffix from the default route, making the application accessible at a cleaner URL (e.g., myapp.apps.silver.devops.gov.bc.ca instead of myapp-frontend.apps.silver.devops.gov.bc.ca).

Key Changes

  • Modified ingress host template to use {{ .Release.Name }} instead of {{ include "frontend.fullname" . }}
  • Internal resource names (services, deployments, etc.) remain unchanged at {release-name}-frontend for backward compatibility

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

chore: remove -frontend from default frontend routes

2 participants