File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,30 @@ func (d *DashboardReconciler) getDashboardDeploymentSpec(ctx *chetypes.DeployCon
5555 // They are used to replace images with tags on images with digests.
5656 envVars := utils .GetGetArchitectureDependentEnvsByRegExp ("^RELATED_IMAGE_sample_.*$" )
5757 envVars = append (envVars ,
58- // todo handle HTTP_PROXY related env vars
58+ corev1.EnvVar {
59+ Name : "http_proxy" ,
60+ Value : ctx .Proxy .HttpProxy ,
61+ },
62+ corev1.EnvVar {
63+ Name : "https_proxy" ,
64+ Value : ctx .Proxy .HttpsProxy ,
65+ },
66+ corev1.EnvVar {
67+ Name : "no_proxy" ,
68+ Value : ctx .Proxy .NoProxy ,
69+ },
70+ corev1.EnvVar {
71+ Name : "HTTP_PROXY" ,
72+ Value : ctx .Proxy .HttpProxy ,
73+ },
74+ corev1.EnvVar {
75+ Name : "HTTPS_PROXY" ,
76+ Value : ctx .Proxy .HttpsProxy ,
77+ },
78+ corev1.EnvVar {
79+ Name : "NO_PROXY" ,
80+ Value : ctx .Proxy .NoProxy ,
81+ },
5982 // CHE_HOST is here for backward compatibility. Replaced with CHE_URL
6083 corev1.EnvVar {
6184 Name : "CHE_HOST" ,
You can’t perform that action at this time.
0 commit comments