-
Notifications
You must be signed in to change notification settings - Fork 1.5k
OCPBUGS-63305: Make SimulatePrincipalPolicy optional #10081
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
base: main
Are you sure you want to change the base?
Conversation
|
@barbacbd: This pull request references Jira Issue OCPBUGS-63305, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/cc @tthvo |
|
/jira refresh |
|
@barbacbd: This pull request references Jira Issue OCPBUGS-63305, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
pkg/asset/permissions/permissions.go
Outdated
| case "": | ||
| reqGroups = append(reqGroups, awsconfig.PermissionEmptyCreds) | ||
| default: | ||
| // Include permissions needed by CCO/cluster for mint creds mode | ||
| reqGroups = append(reqGroups, awsconfig.PermissionMintCreds) |
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.
| case "": | |
| reqGroups = append(reqGroups, awsconfig.PermissionEmptyCreds) | |
| default: | |
| // Include permissions needed by CCO/cluster for mint creds mode | |
| reqGroups = append(reqGroups, awsconfig.PermissionMintCreds) | |
| default: | |
| // Include permissions needed by installer and CCO to perform permission checks. | |
| if ic.Config.CredentialsMode == "" { | |
| reqGroups = append(reqGroups, awsconfig.PermissionEmptyCreds) | |
| } | |
| // Include permissions needed by CCO/cluster for mint creds mode | |
| reqGroups = append(reqGroups, awsconfig.PermissionMintCreds) |
The empty credentialsMode is basically Mint + SimulatePrincipalPolicy for permission check right?
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.
Otherwise, if when the default credential mode is used, the installer says that only SimulatePrincipalPolicy is required, which is not right?
|
Looks like have a tiny problem 🤔 related to #10081 (comment). Jobs are failing with: |
Removing SimulatePrincipalPolicy as a required permission for Mint and Passthrough modes. Instead it will be required when a credential mode is not set.
12cd06c to
991c8a0
Compare
|
/retest-required |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: patrickdillon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold It seems CCO does require this: https://redhat-internal.slack.com/archives/C68TNFWA2/p1763145109506449?thread_ts=1760641140.491929&cid=C68TNFWA2 |
|
@barbacbd: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Removing SimulatePrincipalPolicy as a required permission for Mint and Passthrough modes. Instead it will be required when a credential mode is not set.