Skip to content

Commit 689e98a

Browse files
OCM-14088 | ci: Remove the fake external auth provider
1 parent d20fcd8 commit 689e98a

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

tests/e2e/e2e_setup_test.go

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -64,23 +64,6 @@ var _ = Describe("Cluster preparation", labels.Feature.Cluster, func() {
6464
// For HCP cluster with other network type,it is required to set one configure:cilium
6565
if profile.ClusterConfig.HCP && profile.ClusterConfig.NetworkType == "other" {
6666
if clusterDetails.ExternalAuthentication == "Enabled" {
67-
By("Create a fake external auth provider to avoid failure of console operator")
68-
secretValue := fmt.Sprintf("%s~%s~%s",
69-
helper.GenerateRandomStringWithSymbols(5),
70-
helper.GenerateRandomStringWithSymbols(10),
71-
helper.GenerateRandomStringWithSymbols(23))
72-
value := []string{
73-
"--name", helper.GenerateRandomName("provider", 2),
74-
"--issuer-url", "https://login.microsoftonline.com/fa5d3dd8-b8ec-4407-a55c-ced639f1c8c5/v2.0",
75-
"--issuer-audiences", "8a769b34-13c9-4f5b-9933-ec439700ec67",
76-
"--claim-mapping-username-claim", "email",
77-
"--claim-mapping-groups-claim", "groups",
78-
"--console-client-id", "8a769b34-13c9-4f5b-9933-ec439700ec67",
79-
"--console-client-secret", secretValue,
80-
}
81-
_, err = client.ExternalAuthProvider.CreateExternalAuthProvider(clusterID, value...)
82-
Expect(err).ToNot(HaveOccurred())
83-
8467
// it is not support to create htpasswd for cluster with xternal auth enabled
8568
// create break-glass-credential to get kubeconfig
8669
By("Create a break glass credential")

0 commit comments

Comments
 (0)