Skip to content
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

Backport #933 to v0.40, v0.41 and v0.42 #944

Closed
jeanduplessis opened this issue Oct 31, 2023 · 2 comments
Closed

Backport #933 to v0.40, v0.41 and v0.42 #944

jeanduplessis opened this issue Oct 31, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request is:triaged Indicates that an issue has been reviewed.
Milestone

Comments

@jeanduplessis
Copy link
Collaborator

What problem are you facing?

The release notes for the affected versions have been updated with the following notice:

Important

Provider version 0.40 introduced a regression (see #929) related to IAM roles and role policy attachments. The issue was fixed in provider version 0.43.0. If you haven't installed versions 0.40.0, 0.41.0 or 0.42.0 into your cluster, we recommend skipping those releases and upgrading directly to 0.43.0 when you choose to upgrade. If you have installed one of the affected releases, we recommend upgrading to an unaffected release (0.43+), and then you will need to unset the spec.forProvider.managedPolicyArns value from any Role.iam.aws.upbound.io managed resources that you want to be able to use RolePolicyAttachment resources to attach policies to.

We should backport #933 to these versions so that users can use the patch release rather than having to skip multiple versions.

@jeanduplessis jeanduplessis added enhancement New feature or request is:triaged Indicates that an issue has been reviewed. labels Oct 31, 2023
@haarchri
Copy link
Member

haarchri commented Nov 28, 2023

its also needed to cleanup the roles with a script like:

kubectl get role.iam.aws.upbound.io-o name | xargs kubectl patch --dry-run=server --patch '[{"op":"remove","path":"/spec/forProvider/managedPolicyArns"}]' --type=json

@turkenf
Copy link
Collaborator

turkenf commented Nov 30, 2023

Patch versions containing the relevant fix were cut.

@turkenf turkenf closed this as completed Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request is:triaged Indicates that an issue has been reviewed.
Projects
None yet
Development

No branches or pull requests

3 participants