-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update connectedk8s helm binary download source & introduce new --skip-cluster-ssl-verification flag #7294
Conversation
|
rule | cmd_name | rule_message | suggest_message |
---|---|---|---|
connectedk8s connect | cmd connectedk8s connect added parameter skip_ssl_verification |
||
connectedk8s delete | cmd connectedk8s delete added parameter skip_ssl_verification |
||
connectedk8s disable-features | cmd connectedk8s disable-features added parameter skip_ssl_verification |
||
connectedk8s enable-features | cmd connectedk8s enable-features added parameter skip_ssl_verification |
||
connectedk8s troubleshoot | cmd connectedk8s troubleshoot added parameter skip_ssl_verification |
||
connectedk8s update | cmd connectedk8s update added parameter skip_ssl_verification |
||
connectedk8s upgrade | cmd connectedk8s upgrade added parameter skip_ssl_verification |
Thank you for your contribution! We will review the pull request and get back to you soon. |
b9b4c63
to
86239eb
Compare
Please fix CI issues. |
7b0e248
to
3dcd47a
Compare
3dcd47a
to
f4deaa5
Compare
911f53f
to
0ff2c3b
Compare
0ff2c3b
to
c0b51d2
Compare
|
1143827
to
be7a9d5
Compare
|
||
@live_only() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May I ask why do you need to mark this test as @live_only()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is exercising the exact same paths as a different test in this file that is already marked as @live_only(), just with the added parameter to skip ssl verification when connecting to the cluster.
I believe that test was marked as live only as the necessary creation of Azure resources in these tests was causing issues in non-live test settings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, thanks~
@@ -49,6 +49,7 @@ def load_arguments(self, _): | |||
c.argument('no_wait', options_list=['--no-wait'], arg_group='Timeout', help="Do not wait for the long-running operation to finish.") | |||
c.argument('correlation_id', options_list=['--correlation-id'], help='A guid that is used to internally track the source of cluster onboarding. Please do not modify it unless advised', validator=override_client_request_id_header) | |||
c.argument('container_log_path', help='Override the default container log path to enable fluent-bit logging') | |||
c.argument('skip_ssl_verification', options_list=['--skip-ssl-verification'], action='store_true', help='Skip SSL verification for any cluster connection.') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In fact, the default option name does not need to be defined repeatedly
c.argument('skip_ssl_verification', options_list=['--skip-ssl-verification'], action='store_true', help='Skip SSL verification for any cluster connection.') | |
c.argument('skip_ssl_verification', action='store_true', help='Skip SSL verification for any cluster connection.') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the pointer, I updated the argument definitions.
[Release] Update index.json for extension [ connectedk8s ] : https://dev.azure.com/azclitools/release/_build/results?buildId=150393&view=results |
…p-cluster-ssl-verification flag (Azure#7294)
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
az connectedk8s
General Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally? (pip install wheel==0.30.0
required)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.json
automatically.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
.