proxy: add support for spdy upgrades (#1203)

This commit is contained in:
Travis Groth 2020-08-04 13:26:14 -04:00 committed by GitHub
parent 5653a398de
commit 7a53e6bb42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 121 additions and 42 deletions

View file

@ -193,6 +193,7 @@ The policy should be a base64-encoded block of yaml:
- from: https://k8s.localhost.pomerium.io:30443
to: https://kubernetes.default.svc
tls_skip_verify: true
allow_spdy: true
allowed_domains:
- pomerium.com
kubernetes_service_account_token: "..." #$(kubectl get secret/"$(kubectl get serviceaccount/pomerium -o json | jq -r '.secrets[0].name')" -o json | jq -r .data.token | base64 -d)