correct upstream env var
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tobias Brunner 2020-06-01 00:31:12 +02:00
parent dcf89a0944
commit a9eaefdcec
2 changed files with 4 additions and 6 deletions

View file

@ -43,12 +43,11 @@ spec:
value: https://git.tbrnt.ch/login/oauth/access_token
- name: OAUTH2_PROXY_VALIDATE_URL
value: https://git.tbrnt.ch/api/v1
- name: OAUTH2_PROXY_UPSTREAMS
value: http://127.0.0.1
envFrom:
- secretRef:
name: oauth2-proxy-frontend
args:
- --upstream
- http://127.0.0.1
- name: frontend
env:
- name: SERVER_HOST

View file

@ -45,12 +45,11 @@ spec:
value: https://git.tbrnt.ch/api/v1
- name: OAUTH2_PROXY_SKIP_AUTH_REGEX
value: ^\/(view|static)\/.*$
- name: OAUTH2_PROXY_UPSTREAMS
value: http://127.0.0.1:8083
envFrom:
- secretRef:
name: oauth2-proxy-recorder
args:
- --upstream
- http://127.0.0.1:8083
securityContext:
runAsUser: 9999
runAsGroup: 9999