Skip to content

Conversation

@jnpacker
Copy link
Member

  • Add support for Globally defined namespace(s) on the ManagedClusterSet
  • Support RBAC via ClusterPermissions for the Globally defined namespace(s)

 * Add support for Globally defined namespace(s) on the ManagedClusterSet
 * Support RBAC via ClusterPermissions for the Globally defined namespace(s)

Signed-off-by: Joshua Packer <[email protected]>
@openshift-ci openshift-ci bot requested review from deads2k and qiujian16 July 14, 2025 18:29
@jnpacker
Copy link
Member Author

#146


#### Story 1
Create a Global Namespace, this namespace will be created on all Managed Clusters in a Managed Cluster Set, and
the appropriate Cluster Permissions will be applied.
Copy link
Member

Choose a reason for hiding this comment

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

if we create a managedclusterbinding that binds a clusterset to a namespace, does it mean we should sync the namespace that creates managedclusterbinding to all clusters? It seems we can add a spec field in managedclusterbinding to achieve that.

Copy link
Member Author

Choose a reason for hiding this comment

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

That was one of two options I was thinking. Either we use the existing binding and just include a field as you mentioned or we create a new resource to track it.

The field is much less invasive, and we already have the namespace binding.

Copy link
Member

Choose a reason for hiding this comment

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

yes, I think having a field in the managedclustersetbinding indicating "this clustersetbindings needs namespace to be synced to all managed clusters" makes sense, and it could be disabled by default which ensure the backward compatibility.

@qiujian16
Copy link
Member

/approve
/lgtm

@openshift-ci
Copy link

openshift-ci bot commented Aug 27, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jnpacker, qiujian16

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 8ccbe0f into open-cluster-management-io:main Aug 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants