-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Drop template wrapping from bootstrap policy file #19847
Drop template wrapping from bootstrap policy file #19847
Conversation
/retest |
It is impossible for any docs to exist. You recently made the bootstrap file have a format that auth reconcile would even look at (RBAC) |
} | ||
} | ||
|
||
versionedPolicyTemplate, err := legacyscheme.Scheme.ConvertToVersion(policyTemplate, latest.Version) | ||
versionedPolicyList, err := legacyscheme.Scheme.ConvertToVersion(policyList, latest.Version) |
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.
Confirm that this is still needed.
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.
Yep, without this the file has no List
@openshift/sig-security @openshift/cli-review any concerns about changing this to just a list of items instead a template? No template features were used and we just changed the entire encoding of the file in #19756. It allows us to drop a pointless |
I have no objections dropping template, it doesn't seem useful for bootstrap roles anyway |
👍 for the change |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enj, mrogers950 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 |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
fixes #19819
This will also need doc updates wherever
oc process
is invoked to pass a bootstrap file tooc auth reconcile