-
Notifications
You must be signed in to change notification settings - Fork 154
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
tests/kola/ignition: add S3 ARN tests; test intra-cloud anonymous S3/GCS access #1717
Conversation
With these additions it feels a little like The difference is that one of them is limited to just AWS (i.e. for testing authenticated access). Should we rename the test fedora-coreos-config/tests/kola/root-reprovision/linear/test.sh Lines 4 to 13 in 0856e21
|
Yes, you're right, we should. |
Updated! |
Split out the two prep commits into #1723. |
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.
LGTM
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.
LGTM. A few more questions, though.
Test the new ARN support in Ignition 2.14.0. S3 access points can't be accessed anonymously, so even the public objects need to be tested from inside an EC2 instance.
Have ext.config.ignition.resource.remote use the new noInstanceCreds flag to disable instance credentials in EC2 and GCE instances, so the test fetches resources anonymously. Move the checks for authenticated access of public objects into the authenticated-* tests.
Updated! |
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.
LGTM
Test the new ARN support in Ignition 2.14.0. S3 access points can't be accessed anonymously, so even the public objects need to be tested from inside an EC2 instance. Also test unauthenticated S3->EC2 and GCS->GCE fetches; the latter fails on Ignition < 2.14.0.