-
Notifications
You must be signed in to change notification settings - Fork 259
Description
Output from azd version
Run azd version and copy and paste the output here:
azd version 1.9.0 (commit 651394c)
Describe the bug
After running 'azd deploy' (locally or via CI/CD), custom domain bindings are removed from my container apps.
I was working around this using 'azd infra synth' as I've outlined here, with custom domains added to the output of the bicep files and referenced in the yaml files.
As of 1.9, the *.tmpl.yaml files have moved to the AppHost of the aspire project, and despite adding back in the yaml for the custom domain, it doesn't seem to be picking it up n working anymore.
To Reproduce
Deploy the aspire starter template. Set up a custom domain binding with a bring your own certificate on the deployed web app. Redeploy via azd having run azd infra synth. See domain binding disappear.
Expected behavior
Domain bindings should be retained, and ideally #1765 addressed so there's a clear way of doing this.
Environment
Information on your environment:
* .NET 8 Aspire preview 6
* IDE and version : Visual Studio 2022 10.0 Preview 7
Additional context
Add any other context about the problem here.