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

[Container App] 'az containerapp create --yaml' always shows warning about additional arguments. #7276

Open
abij opened this issue Feb 8, 2024 · 2 comments
Labels
Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. ContainerApp customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team.

Comments

@abij
Copy link

abij commented Feb 8, 2024

Describe the bug

The warning is always triggered:

'Additional flags were passed along with --yaml. These flags will be ignored, and the configuration defined in the yaml will be used instead')

Because the self.get_argument_revisions_mode() is specified as a default argument as "single" see:

Related command

az containerapp create -g rg-container-app1 -n myapp --yaml myapp.yaml

Errors

Warning: Additional flags were passed along with --yaml. These flags will be ignored, and the configuration defined in the yaml will be used instead

Issue script & Debug output

no need

Expected behavior

Everything specified in yaml, should not raise a warning when creating/updating a containerapp with minimal cli arguments.

Environment Summary

azure-cli 2.57.0

Additional context

No response

@abij abij added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Feb 8, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot ContainerApp Service Attention This issue is responsible by Azure service team. labels Feb 8, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Feb 8, 2024

Thank you for opening this issue, we will look into it.

Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @calvinsID.

@yonzhan yonzhan removed the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot bug This issue requires a change to an existing behavior in the product in order to be resolved. ContainerApp customer-reported Issues that are reported by GitHub users external to the Azure organization. Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants