Adding Managed Cluster to Identitatem
Adding Managed Cluster to Identitatem#
Doing this would allow users to authenticate your cluster via Operate First Organization’s GitHub authentication.
To do this you need to first ensure your
ManagedCluster exists in the apps repo.
Add the label
authdeployment: primary to this
ManagedCluster is part of a
ManagedClusterSet that is bound to the namespace
An easy way to do this would be to add the label
cluster.open-cluster-management.io/clusterset: argocd-managed to
ManagedCluster resource. Just know that this will also add ArgoCD integration to this cluster (i.e. the OPF
ArgoCD will be able to deploy to this cluster.).
You can also create a new
ManagedClusterSet, for this you will need to:
Suppose it’s named
$CLUSTERSETthen add the label
cluster.open-cluster-management.io/clusterset: $CLUSTERSETto your
ManagedClusterresource (similar to above).
ManagedClusterSetBindingand add this new
clusterSetfield. Add this binding here.