-
Notifications
You must be signed in to change notification settings - Fork 2
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
Use reduced IAM permissions on worker nodes instance profile #991
Conversation
60a4653
to
1caafbf
Compare
capa-iam-operator backward-compatible change is rolled out, so let's test E2E /run cluster-test-suites |
cluster-test-suites
📋 View full results in Tekton Dashboard Rerun trigger: Tip To only re-run the failed test suites you can provide a |
At least the private-cluster tests failed because AWS didn't have the instance type available. Trying again, slowly. /run cluster-test-suites TARGET_SUITES=./providers/capa/standard |
cluster-test-suites
📋 View full results in Tekton Dashboard Rerun trigger: Tip To only re-run the failed test suites you can provide a |
/run cluster-test-suites TARGET_SUITES=./providers/capa/standard |
cluster-test-suites
📋 View full results in Tekton Dashboard Rerun trigger: Tip To only re-run the failed test suites you can provide a |
/run cluster-test-suites TARGET_SUITES=./providers/capa/standard |
cluster-test-suites
📋 View full results in Tekton Dashboard Rerun trigger: Tip To only re-run the failed test suites you can provide a |
I'm still unsure why pulling the private ECR image fails. This is the equivalent of what the E2E tests try:
This started failing today, but still worked this morning. And the capa-iam-operator change happened yesterday evening, is backward-compatible and doesn't look buggy to me. I've tested with and without the zero-permissions IAM role, and neither works. |
ae1765a
to
027bcaf
Compare
…erent IAM permission set
027bcaf
to
102625f
Compare
There were differences in the rendered Helm template, please check! Output
|
This wasn't meant to work as it doesn't use the ECR authentication plugin that kubelet would. So it was the IAM permissions. Fixed in capa-iam-operator. Now the tests should work. /run cluster-test-suites |
cluster-test-suites
📋 View full results in Tekton Dashboard Rerun trigger: Tip To only re-run the failed test suites you can provide a |
NTH restarts are due to apps coming up so slowly. Not this change's fault. Trying again. /run cluster-test-suites TARGET_SUITES=./providers/capa/private |
Oh I guess NTH isn't proxy-aware yet
|
cluster-test-suites
📋 View full results in Tekton Dashboard Rerun trigger: Tip To only re-run the failed test suites you can provide a |
* Chart: Reduce default etcd volume size to 50 GB. (#994) * Explicitly set Ignition user data storage type to S3 bucket objects for machine pools (#981) * Use reduced IAM permissions on worker nodes instance profile (#991) * Explicitly set aws-node-termination-handler queue region so crash-loops are avoided, allowing faster startup (#977)
What this PR does / why we need it
Towards giantswarm/roadmap#3795, see giantswarm/capa-iam-operator#369 which should be reviewed together with this PR
Checklist
Trigger E2E tests
Let's first roll out the operator before running tests – else it's a wasted test run.