Add terminationGracePeriodSeconds support For container app#6439
Conversation
|
Hi @njuCZ, |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
78ed7f3 to
5a6c69d
Compare
There was a problem hiding this comment.
is it supported in --yaml?
There was a problem hiding this comment.
The termination_grace_period already existed in _sdk_models, so it is supported in --yaml.
@njuCZ Could you please add some test for property termination_grace_period in test_containerapp_create_with_yaml or add new test case?
There was a problem hiding this comment.
only api-version >= 2023-04-01-preview support this property. we are still using python sdk 2022-11-01-preview, so it's not supported in --yaml
There was a problem hiding this comment.
you can manual add this property
d235e5f to
8a58213
Compare
|
Hi @zhoxing-ms |
8a58213 to
a74c5b3
Compare
| * Add 'az containerapp ingress cors' for CORS support | ||
| * 'az container app env create/update': support --enable-mtls parameter | ||
| * 'az containerapp up': fix issue where --repo throws KeyError | ||
| * 'az containerapp create/update': --termination-grace-period support custom termination grace period |
There was a problem hiding this comment.
Please do not add the history note into an extension version which had already been released. Please take a look at this comment #6439 (comment)
There was a problem hiding this comment.
this means support a new property when az containerapp create/update, do you think I need to make the description better?
There was a problem hiding this comment.
If you want to release a new extension version for this PR, you need to upgrade the version defined in HISTORY.rst and setup.py.
If you don't want to release a new extension version, you can put the history note under Upcoming in HISTORY.rst.
There was a problem hiding this comment.
I rebase main branch to fix a conflict just now
There was a problem hiding this comment.
it seems US team released a new version last night... Have updated it
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally?For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.jsonautomatically.You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify
src/index.json.