You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f727a8d
Browse filesBrowse the repository at this point in the historyBrowse files
helm -n openshell get values openshell | grep -A8 upstreamProxy
486
+
```
487
+
488
+
Only `http://host:port` forward proxies are supported; `https://` proxy URLs and
489
+
plain-HTTP egress are out of scope and rejected. Proxy credentials require
490
+
`topology = "sidecar"` — combined topology shares the credential mount with the
491
+
workload, so the gateway rejects credentials there. The credential Secret named
492
+
by `proxy_auth_secret_name` must exist in the sandbox namespace with the key
493
+
named by `proxy_auth_secret_key`, and Kubernetes will not create keys longer
494
+
than 253 bytes or named `.`/`..`.
495
+
496
+
The proxy arguments and credential mount are injected only into the container
497
+
that runs network supervision (the `agent` container in combined topology, the
498
+
`openshell-supervisor-network` sidecar in sidecar topology). The one-shot
499
+
`openshell-network-init` container and the process `agent` container in sidecar
500
+
topology must never receive them. The credential is projected read-only as the
501
+
`openshell-upstream-proxy-auth` volume at `/run/openshell/upstream-proxy-auth`
502
+
and passed as `--upstream-proxy-auth-file`; it must never appear in env,
503
+
annotations, or command arguments.
504
+
505
+
```bash
506
+
kubectl -n <sandbox-namespace> get secret <proxy-auth-secret> -o jsonpath='{.data}'>/dev/null &&echo"secret present"
507
+
kubectl -n <sandbox-namespace> get pod <sandbox-pod> -o jsonpath='{range .spec.containers[*]}{.name}{" "}{.command}{"\n"}{end}'| grep -- '--upstream-'
508
+
kubectl -n <sandbox-namespace> get pod <sandbox-pod> -o jsonpath='{range .spec.containers[*]}{.name}{": "}{range .volumeMounts[*]}{.name}{" "}{end}{"\n"}{end}'| grep upstream-proxy-auth
0 commit comments