-
Notifications
You must be signed in to change notification settings - Fork 53
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
cli: re-introduce iam upgrade check #3657
Conversation
✅ Deploy Preview for constellation-docs canceled.
|
248dfa2
to
f08eb35
Compare
Coverage report
|
Good catch. What is your proposed way of telling users that they need to upgrade the IAM setup for this upgrade? |
To be honest I'm a bit on the fence about it. I think that both the migration page (https://docs.edgeless.systems/constellation/reference/migration) and the |
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.
IMO we should make this as obvious as possible for the user.
While documenting it in just one place is simpler for the devs, I see no harm in additionally keeping the check in the CLI.
Since these IAM upgrades are somewhat of a "breaking" change we should document they should ideally be mentioned in the release notes, have a small entry in the migration page, and have this additional check during upgrades with the CLI
We can't easily supply something similar for Terraform, but here people should pay a bit more attention to the release notes anyways.
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.
I don't have a strong opinion either, but I agree that the dev effort for maintaining the warning is also limited. Let's merge then
Context
We still maintain the function in which we manually add the CSP if we did changes that require an
constellation iam upgrade
, though the function wasn't used for some time. Either we drop this safety check completely (as it also only applies to the cli and not the terraform) and is one less manual step when changing code and releasing, or we use it.I'm currently of the opinion to drop this, but wanted to show what the full feature looked like.
Proposed change(s)
Checklist
upgrade to this branch: (gcp-snp, 1:1) https://github.com/edgelesssys/constellation/actions/runs/13679706679
nop e2e gcp-snp: https://github.com/edgelesssys/constellation/actions/runs/13679730897