|
|
|
@@ -39,6 +39,8 @@ public class K8sClientUtil { |
|
|
|
|
|
|
|
@Value("${jupyter.hostPath}") |
|
|
|
private String hostPath; |
|
|
|
@Value("${dockerpush.proxyUrl}") |
|
|
|
private String proxyUrl; |
|
|
|
|
|
|
|
private String http; |
|
|
|
private String token; |
|
|
|
@@ -360,11 +362,11 @@ public class K8sClientUtil { |
|
|
|
.withNewSecurityContext().withNewPrivileged(true).endSecurityContext() |
|
|
|
.addNewEnv() |
|
|
|
.withName("HTTP_PROXY") |
|
|
|
.withValue("http://172.20.32.253:3128") |
|
|
|
.withValue(proxyUrl) |
|
|
|
.endEnv() |
|
|
|
.addNewEnv() |
|
|
|
.withName("HTTPS_PROXY") |
|
|
|
.withValue("http://172.20.32.253:3128") |
|
|
|
.withValue(proxyUrl) |
|
|
|
.endEnv() |
|
|
|
.addNewEnv() |
|
|
|
.withName("NO_PROXY") |
|
|
|
|