Fix: Add missing permission for helm uninstall in upgrade test cleanup#4250
Conversation
|
Build Succeeded 🥳 Build Id: 3b43e801-2bab-48a4-91db-f2f63d36b6e4 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version: |
|
/gcbrun |
|
Build Succeeded 🥳 Build Id: 915959d7-8a2d-4f08-9c89-408108f946f6 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version: |
|
/gcbrun |
|
Build Succeeded 🥳 Build Id: 0a4382c0-50cf-4ce6-a502-638820720d64 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version: |
|
/gcbrun |
|
Build Succeeded 🥳 Build Id: 5c8e3fe4-f724-4d64-a2c2-30fc5790ebd9 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version: |
|
OMG DID YOU FIX IT???? |
|
I'm not sur it fixes it all, but so far so good, no issue with it, was already testing the fix on another PR last week and was working well with: #4247 I think the missing permission on the helm uninstall was only failing sometimes on the latest version of the autopilot k8s version because it might be more "strict" around it, which could explains why it was not failing on previous version, that's wild guess though |
markmandel
left a comment
There was a problem hiding this comment.
This seems very legit. Well found!
|
Running one more time for giggles. Don't see any reason why we can't merge this -- at the very least, it's an issue. /gcbrun |
|
Enabling auto merge - if it passes again, let's get it in! |
I've been doing that a couple of time as well, in this PR and another one where I started debugging it, as it's a flaky test, it's always a bit stresfull but also pretty satisfying when it passes all the time 😄 |
|
Build Succeeded 🥳 Build Id: d96b9417-7c84-44e0-bcac-a026ebe8a10a The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version: |
What type of PR is this?
/kind bug
What this PR does / Why we need it:
Add missing cluster role to be able to uninstall helm release for the cleanup part of the Step 25: submit-upgrade-test-cloud-build
Add missing "watch" cluster role permission for the helm uninstall --wait to be able to watch and ensure the resources is deleted properly
https://console.cloud.google.com/logs/query;cursorTimestamp=2025-08-15T18:12:05.181709256Z;endTime=2025-08-15T18:12:12.289Z;query=resource.labels.container_name%3D%22upgrade-test-controller%22%0Atimestamp%3D%222025-08-15T18:12:05.181709256Z%22%0AinsertId%3D%22s56t9kez37stp8d6%22;startTime=2025-08-15T18:11:53.327Z?project=agones-images&inv=1&invt=Ab5kLQ
Which issue(s) this PR fixes:
Closes #4249
Special notes for your reviewer:
Will trigger the pipeline a bunch of time to check the flakiness