ARO-RP/test/util
Goutham Muguluvalli Niranjan 98e5056c35
Generate Federated Identity Credentials for MIWI Cluster (#3847)
* Generate federated MIWI credentials

bring in more changes from master

typos

add len check for federated Identity naming

don't return cluster ID when OIDC issuer is nil

skip RBAC on CSP for WI cluster

check for invalid object ID before RBAC template creation

single qoute when passing resource Name

check for nil clusterMsiFederatedIdentityCredentials

remove unused controller

ensure the case folding of cluster MSI resourceID

Fed Cred name logic

update calls to fetch fed cred name

No RBAC for Cluster MSI

update getPlatformWorkloadIdentityFederatedCredName

fix WI RG RBAC

define constants to imporve readability

correct the call to resourceGroupRoleAssignmentWithDetails

Move fed cred deletion to be before cluster MSI cert deletion and add a log statement for fed cred deletion

Rename function for clarity and to match name of unit test function

Nitpick test case names for clarity and test data for correctness

* don't continue resource clean up on fed cred deletion fails

* remove duplicate of clusterServicePrincipalRBAC()

* nit

---------

Co-authored-by: gniranjan <gniranjan@microsoft.com>
2024-10-16 16:37:03 -04:00
..
azure/msi
bufferedpipe
clienthelper
conditions
deterministicuuid
dynamic
error
http/server
kubeadminkubeconfig
listener
log
matcher
serversideapply
testliveconfig
testpoller