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

Support role config deletion #7573

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

Neon-White
Copy link
Contributor

Explain the changes

This PR adds support for a role config deletion flag that can be set to true if a user wishes to delete an account's role config

Issues: Fixed #xxx / Gap #xxx

This PR is necessary for operator PR 1238

@@ -1342,6 +1342,9 @@ module.exports = {
},
assume_role_policy: {
$ref: '#/definitions/assume_role_policy'
},
delete: {
Copy link
Contributor

@dannyzaken dannyzaken Nov 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although it was my suggestion, I think we shouldn't add the delete here 🙂
The role_config is also used in the account_schema, and it might confuse.
Maybe it is better to add a delete_role_config flag in the update_account params, as you initially suggested

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥲
Addressed

Signed-off-by: Ben <belimele@redhat.com>
@Neon-White Neon-White merged commit c8c8ca4 into noobaa:master Nov 10, 2023
9 checks passed
@Neon-White Neon-White deleted the support-role-cfg-deletion branch November 10, 2023 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants