Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Domains removed during deployement. #2391

Open
Jiddawi opened this issue Feb 28, 2025 · 2 comments
Open

Custom Domains removed during deployement. #2391

Jiddawi opened this issue Feb 28, 2025 · 2 comments
Labels

Comments

@Jiddawi
Copy link

Jiddawi commented Feb 28, 2025

If a custom domain is configured on the container app, every time you redeploy it gets removed. Would be great to include methods to persist custom domains.

This may be helpful:

Azure/azure-dev#3955

@pamelafox
Copy link
Collaborator

cc @vhvb1989 for ideas on how we can improve the situation in our repo.

Have you tried the flag that Victor added in that PR?

@pamelafox pamelafox added the azd label Mar 6, 2025
@vhvb1989
Copy link
Contributor

vhvb1989 commented Mar 6, 2025

@Jiddawi are you using WebApp or ContainerApp?

The alpha features we have for azd apply to ContainerApps:

Name: aca.persistDomains
Description: Do not change custom domains when deploying Azure Container Apps.
Status: Off

Name: aca.persistIngressSessionAffinity
Description: Do not change Ingress Session Affinity when deploying Azure Container Apps.
Status: Off

aca.persistDomains was mainly tested for .NET Aspire projects. It might not work for this template. I'll take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants