CCO-430: Use per-project custom roles instead of per-cluster custom roles#611
CCO-430: Use per-project custom roles instead of per-cluster custom roles#611openshift-ci[bot] merged 1 commit intoopenshift:masterfrom
Conversation
|
@dlom: This pull request references CCO-430 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. DetailsIn 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 kubernetes/test-infra repository. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #611 +/- ##
==========================================
- Coverage 48.10% 47.90% -0.21%
==========================================
Files 96 96
Lines 11656 11680 +24
==========================================
- Hits 5607 5595 -12
- Misses 5435 5465 +30
- Partials 614 620 +6
|
|
@dlom: This pull request references CCO-430 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. DetailsIn 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 kubernetes/test-infra repository. |
e5c2163 to
346b7de
Compare
|
@dlom: This pull request references CCO-430 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. DetailsIn 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 kubernetes/test-infra repository. |
|
@dlom: This pull request references CCO-430 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.15.0" version, but no target version was set. DetailsIn 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 kubernetes/test-infra repository. |
|
/cc @sdodson can you give this a quick sanity check? |
|
/cc @sdodson |
|
/override ci/prow/security lets see if I did that right... |
|
@dlom: Overrode contexts on behalf of dlom: ci/prow/security DetailsIn 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 kubernetes/test-infra repository. |
| // is ready to receive the generated files, and will create the directory if necessary. | ||
| func validationForCreateAllCmd(cmd *cobra.Command, args []string) { | ||
| if len(CreateWorkloadIdentityPoolOpts.Name) > 32 { | ||
| if len(CreateAllOpts.Name) > 32 { |
There was a problem hiding this comment.
this is unrelated to the topic of the PR, but the wrong variable was used here (and in a few other places)
Prior to this change, all custom roles were unique per-cluster, ensured by randomizing the name. Now, all clusters in a project will reuse the same custom role, which has a stable name based on the project name and the credentials request containing the permissions required.
|
/jira refresh |
|
@dlom: This pull request references CCO-430 which is a valid jira issue. DetailsIn 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 kubernetes/test-infra repository. |
|
/override ci/prow/security Security check is new and requires a seperate PR to get master in a clean state |
|
@dlom: Overrode contexts on behalf of dlom: ci/prow/security DetailsIn 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 kubernetes/test-infra repository. |
|
/override ci/prow/security |
|
@dlom: Overrode contexts on behalf of dlom: ci/prow/security DetailsIn 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 kubernetes/test-infra repository. |
|
/test e2e-gcp-manual-oidc |
|
@dlom: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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/test-infra repository. I understand the commands that are listed here. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dlom, jstuever The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/cherry-pick release-4.14 |
|
@jstuever: new pull request created: #631 DetailsIn 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 kubernetes/test-infra repository. |
CCO-430: Use per-project custom roles instead of per-cluster custom roles
Because CCO now manages custom roles per-project instead of per-cluster, the name format is fixed instead of random so that it all clusters within the same project will use the same custom roles.
Additionally, by default, custom roles will not be deleted. To delete per-project custom roles, pass the
--force-delete-custom-rolesflag toccoctl.xref: https://issues.redhat.com/browse/CCO-430
/assign @jstuever
/cc @abutcher