File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -106,17 +106,17 @@ var _ = Describe("Workload cluster creation", func() {
106106 Logf ("Using existing cluster identity secret" )
107107 }
108108
109- asoSecretName := os . Getenv ("ASO_CREDENTIAL_SECRET_NAME" )
109+ asoSecretName := e2eConfig . GetVariable ("ASO_CREDENTIAL_SECRET_NAME" )
110110 asoSecret := & corev1.Secret {
111111 ObjectMeta : metav1.ObjectMeta {
112112 Namespace : namespace .Name ,
113113 Name : asoSecretName ,
114114 },
115115 StringData : map [string ]string {
116- config .AzureSubscriptionID : os . Getenv (AzureSubscriptionID ),
117- config .AzureTenantID : os . Getenv (AzureTenantID ),
118- config .AzureClientID : os . Getenv (AzureClientID ),
119- config .AuthMode : os . Getenv ("ASO_CREDENTIAL_SECRET_MODE" ),
116+ config .AzureSubscriptionID : e2eConfig . GetVariable (AzureSubscriptionID ),
117+ config .AzureTenantID : e2eConfig . GetVariable (AzureTenantID ),
118+ config .AzureClientID : e2eConfig . GetVariable (AzureClientID ),
119+ config .AuthMode : e2eConfig . GetVariable ("ASO_CREDENTIAL_SECRET_MODE" ),
120120 },
121121 }
122122 err = bootstrapClusterProxy .GetClient ().Create (ctx , asoSecret )
You can’t perform that action at this time.
0 commit comments