-
Notifications
You must be signed in to change notification settings - Fork 75
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
✨ Update clustermanager API spec for auto approval identities #357
base: main
Are you sure you want to change the base?
✨ Update clustermanager API spec for auto approval identities #357
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jeffw17 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
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.
Type: "FieldValueRequired",
Message: "Required value: this property is in x-kubernetes-list-map-keys, so it must have a default or be a required property",
Field: "spec.validation.openAPIV3Schema.properties[spec].properties[registrationConfiguration].properties[autoApprovalIdentities].items.properties[driver].default",
RegistrationDrivers
didn't have this issue so maybe use that as reference.
92ff577
to
9492e04
Compare
Signed-off-by: “Jeffrey <[email protected]>
9492e04
to
ec28f1b
Compare
/assign @skeeey @xuezhaojun |
We may need to mark the |
// +kubebuilder:validation:Enum=csr;awsirsa | ||
Driver string `json:"driver,omitempty"` | ||
|
||
// Identities represent a list of users in which we will allow to join with hub cluster |
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.
may need more comments here
- for csr driver, the identities represent a list of users ...
- for awsirsa driver, the identities represent a list of arns ...
Summary
We want to add a new field in the RegistrationHubConfiguration for clustermanager to store AutoApprovalIdentities for both CSR and AWSIRSA auth type.
Related issue(s)
Fixes # #514 and #822