-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
None
-
False
As the end-user only knows the infra-ID (which is how the imported cluster are displayed on the UI), it will make more sense to have kubeconfig/password secret build from the infraID rather than the hd.Name.
For example:
oc get secret -n itdove-hyp1-spoke itdove-hyp1-spoke-itdove-hyp1-spoke-hd-admin-kubeconfig Opaque 1 3d2h itdove-hyp1-spoke-itdove-hyp1-spoke-hd-kubeadmin-password Opaque 1 3d2h
should be
itdove-hyp1-spoke-itdove-hyp1-spoke-hd-xxxx-admin-kubeconfig Opaque 1 3d2h itdove-hyp1-spoke-itdove-hyp1-spoke-hd-xxxx-kubeadmin-password Opaque 1 3d2h
So from
{hostingNs}-{hd.Name}-kubeadmin-password to{hostingNs}-
{hd.InfraID}-kubeadmin-password