-
Notifications
You must be signed in to change notification settings - Fork 30
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 are cleared when updating a container app via command line #234
Comments
Thanks for reporting we are taking a look at this. @vmantese can you run az--version & share what cli version being used. Thanks! |
I'm able to repro this in the latest version. It looks like the CLI is missing the existing ingress settings on the PUT call for |
Thanks for the update - out of curiosity is there a reason CLI "up" doesn't use PATCH for existing apps instead of PUT - that will cause such behavior |
It looks like I was mistaken -- we actually do call PATCH for updates. This might be an API error then since having custom domains as null shouldn't clear them if the method is PATCH |
@vinisoto FYI - since this seems to be a API issue with PATCH? |
Here is the version number from azdevops @panchagnula From logs:
|
@StrawnSC Do you publish your forked versions anywhere or should I wait for an official version bump? |
* Fix microsoft/azure-container-apps#234 * Added history note. Co-authored-by: Haroon Feisal <[email protected]> Co-authored-by: Haroon Feisal <[email protected]>
@vmantese the azure CLI and the azure CLI extensions repos are both open source. My forks are public, but I wouldn't recommend going using a non-release version of the containerapp CLI extension. We're targeting a 6/7 release for the update with this fix. |
Thanks @StrawnSC |
This issue is a: (mark with an x)
Issue description
I noticed that when using the az containerapp up command in my azure devops pipeline to update a container app with a new image the custom domains are all cleared.
Steps to reproduct
Expected behavior [What you expected to happen.]
Custom domains remain
Actual behavior [What actually happened.]
custom domains are cleared
Additional context
Ex. Did this issue occur in the CLI or the Portal?
Occurs via cli but visible in portal
The text was updated successfully, but these errors were encountered: