Skip to content

proposal change for clusterset api - #48

Open
ldpliu wants to merge 1 commit into
open-cluster-management-io:mainfrom
ldpliu:update-setapi
Open

proposal change for clusterset api#48
ldpliu wants to merge 1 commit into
open-cluster-management-io:mainfrom
ldpliu:update-setapi

Conversation

@ldpliu

@ldpliu ldpliu commented Mar 29, 2022

Copy link
Copy Markdown
Contributor

Signed-off-by: ldpliu daliu@redhat.com

@openshift-ci
openshift-ci Bot requested review from mdelder and qiujian16 March 29, 2022 06:14
@ldpliu

ldpliu commented Mar 29, 2022

Copy link
Copy Markdown
Contributor Author

/cc @qiujian16 @elgnay

@openshift-ci
openshift-ci Bot requested a review from elgnay March 29, 2022 06:16
@elgnay

elgnay commented Apr 13, 2022

Copy link
Copy Markdown

/lgtm

// ManagedClusterSelector represents a selector of ManagedClusters
type ManagedClusterSelector struct {
// SelectorType could only be "LegacyClusterSetLabel" now, will support more SelectorType later
// "LegacyClusterSetLabel" means to use label "cluster.open-cluster-management.io/clusterset:<ManagedClusterSet Name>"" to select target clusters.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we should also add labelSelector

}
```

- `LabelSelector` will not be included

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

let's keep the labelSelector since it should done in this release

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

c. `placement` using new `ClusterSelector` to select target clusters.

3. [Implement in OCM 0.8.0] Update full managedClusterSet api and RBAC
- Include `LabelSelector`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think exclusiveKey is not necessary?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think exclusiveKey is not necessary?

I am not really understand what you mean, Do you mean we should remove the ExclusiveLabel in selectorType ?

@openshift-ci openshift-ci Bot removed the lgtm label Apr 13, 2022
@openshift-ci

openshift-ci Bot commented Apr 13, 2022

Copy link
Copy Markdown

New changes are detected. LGTM label has been removed.

Signed-off-by: ldpliu <daliu@redhat.com>
@openshift-ci

openshift-ci Bot commented Aug 9, 2022

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ldpliu
Once this PR has been reviewed and has the lgtm label, please assign deads2k for approval by writing /assign @deads2k in a comment. For more information see:The Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ocm-bot

ocm-bot commented Jul 20, 2026

Copy link
Copy Markdown

This issue/PR is marked stale and will be closed in 30 days unless there is new activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants