@@ -135,7 +135,7 @@ func testPartialFullProxyEnvVars() {
135135
136136 g .By ("Setting only httpsProxy in component proxy config" )
137137 operatorAuth .Spec .Proxy = operatorv1.AuthenticationProxyConfig {
138- HTTPSProxy : httpsProxyURL ,
138+ HTTPSProxy : httpProxyURL ,
139139 }
140140 _ , err = clients .OperatorClient .OperatorV1 ().Authentications ().Update (ctx , operatorAuth , metav1.UpdateOptions {})
141141 o .Expect (err ).NotTo (o .HaveOccurred ())
@@ -145,7 +145,7 @@ func testPartialFullProxyEnvVars() {
145145 o .Expect (err ).NotTo (o .HaveOccurred ())
146146
147147 g .By ("Verifying oauth-server has HTTPS_PROXY but not HTTP_PROXY" )
148- test .VerifyOAuthServerDeploymentProxyConfig (t , clients .KubeClient , "" , httpsProxyURL , "" , false )
148+ test .VerifyOAuthServerDeploymentProxyConfig (t , clients .KubeClient , "" , httpProxyURL , ".cluster.local,.svc,127.0.0.1,localhost " , false )
149149
150150 configMapName := "e2e-proxy-trusted-ca"
151151 caConfigMap := & corev1.ConfigMap {
@@ -187,7 +187,7 @@ func testPartialFullProxyEnvVars() {
187187 o .Expect (err ).NotTo (o .HaveOccurred ())
188188
189189 g .By ("Verifying oauth-server has HTTP_PROXY, HTTPS_PROXY, and NO_PROXY with custom entry" )
190- test .VerifyOAuthServerDeploymentProxyConfig (t , clients .KubeClient , httpProxyURL , httpsProxyURL , noProxyHost , true )
190+ test .VerifyOAuthServerDeploymentProxyConfig (t , clients .KubeClient , httpProxyURL , httpsProxyURL , ".cluster.local,.svc,127.0.0.1,localhost,noproxy.example.com" , true )
191191}
192192
193193func testProxyOIDCLoginFlow () {
0 commit comments