File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 25
25
done
26
26
# rstudio terminal cant see environment variables set by the container runtime
27
27
# (which breaks kubectl, to fix this we store the KUBERNETES_* env vars in Renviron.site)
28
- env | grep KUBERNETES_ >> /usr/lib64/R/etc/Renviron.site
28
+ # Also, we store proxy-related env vars lowercased by key so RStudio projects work with proxy by default
29
+ env | grep " ^KUBERNETES_" >> /usr/lib64/R/etc/Renviron.site
30
+ env | grep " ^HTTP_PROXY=" | tr ' [:upper:]' ' [:lower:]' >> /usr/lib64/R/etc/Renviron.site
31
+ env | grep " ^HTTPS_PROXY=" | tr ' [:upper:]' ' [:lower:]' >> /usr/lib64/R/etc/Renviron.site
32
+ env | grep " ^NO_PROXY=" | tr ' [:upper:]' ' [:lower:]' >> /usr/lib64/R/etc/Renviron.site
29
33
30
34
export USER=$( whoami)
31
35
You can’t perform that action at this time.
0 commit comments