|
|
|
@@ -649,14 +649,14 @@ public class K8sClientUtil { |
|
|
|
// .withVolumeMounts(new V1VolumeMount().name("workspace").mountPath(mountPath)) |
|
|
|
.withVolumeMounts(volumeMounts) |
|
|
|
.withNewSecurityContext().withNewPrivileged(true).endSecurityContext() |
|
|
|
.addNewEnv() |
|
|
|
.withName("HTTP_PROXY") |
|
|
|
.withValue(proxyUrl) |
|
|
|
.endEnv() |
|
|
|
.addNewEnv() |
|
|
|
.withName("HTTPS_PROXY") |
|
|
|
.withValue(proxyUrl) |
|
|
|
.endEnv() |
|
|
|
// .addNewEnv() |
|
|
|
// .withName("HTTP_PROXY") |
|
|
|
// .withValue(proxyUrl) |
|
|
|
// .endEnv() |
|
|
|
// .addNewEnv() |
|
|
|
// .withName("HTTPS_PROXY") |
|
|
|
// .withValue(proxyUrl) |
|
|
|
// .endEnv() |
|
|
|
.addNewEnv() |
|
|
|
.withName("NO_PROXY") |
|
|
|
.withValue("localhost,kubernetes.default.svc") |
|
|
|
|