You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
This is the service problem. When updating the container instance, if there is secure value in any container environment, it could only be updated successfully for setting a new secure value or deleting the secure environment.
If I use original return json, it would throw the cloud exception about:
The environment variable 'env' in container 'nginx' of container group 'cgtest' is invalid. One and only one property of 'value' and 'secureValue' can be specified in an environment variable.
If I delete the 'environmentVariables' parameter, it would return with empty environment for nginx, but actually I need the environment.
Only if I set the secureValue with same value (or a new value), I can update other parameters.
Expected behavior
I can send with the following 'environmentVariables' to update other parameters for container instance.
"environmentVariables": [
{
"name": "env"
}
]
For Example
I send the following json and it could update cpu and memory, while the environments stay same as it would be.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
Bug Description Added
Repro Steps Added
Setup information Added
The text was updated successfully, but these errors were encountered:
Describe the bug
This is the service problem. When updating the container instance, if there is secure value in any container environment, it could only be updated successfully for setting a new secure value or deleting the secure environment.
Code Snippet
example:
Expected behavior
I can send with the following 'environmentVariables' to update other parameters for container instance.
For Example
I send the following json and it could update cpu and memory, while the environments stay same as it would be.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: