-
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
Container App Update Fails from null secrets #259
Comments
After playing with it some more, it appears that the same issue occurs when updating a Container App which uses a Private Registry
|
This issue should be addressed by end of June. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. |
Did this get closed out? I am getting this in the exact same circumstances. |
Same issue here. https://docs.microsoft.com/en-us/azure/container-apps/storage-mounts?pivots=aca-cli#azure-files |
REST API also does not contain secrets[].value |
Hey all, sorry about this. The problem here is that the update command uses a GET followed by a PUT to perform the update. Since the GET API doesn't return secrets, the update fails. We currently have a PR in review to change the CLI to use the PATCH API to perform updates with |
ref #299 (comment) |
Hello I have the same problem. Does anyone have an idea for a workaround? When can I expect the next version? |
Can not use Azure Container Registry with 'az containerapp update' I am not able to use Azure Container Registry with 'az containerapp update' command in following way
Is there any way to use Azure container Registry with 'az containerapp update' command? |
Hi @ranjeetkpGit please create a new issue if you are experiencing this problem as it is unrelated to the initial report |
This issue is a: (mark with an x)
Issue description
There appears to be an issue where a Container Registry secret was created from a previous Container App, but is null and it prevents other Container Apps from being modified.
Steps to reproduce
Create a Container App and specify registry credentials.
Create another container app and don't specify registry credentials.
Try to update the 2nd container app YAML and it fails with secrets being null.
Expected behavior
I expect to be able to update an un-modified configuration without error. Ultimately, I'd like to be able to modify the YAML to add a mount, but this prevents me from getting that far.
Actual behavior
Updating the Container App YAML fails, even if it's unmodified. I believe it's due to a Contaienr Registry secret from a previous Container App.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Ex. Did this issue occur in the CLI or the Portal?
The text was updated successfully, but these errors were encountered: