Deploy bitly/oauth2_proxy using docker and kubernetes
50K+
Deploy bitly/oauth2_proxy using docker and kubernetes
Details on how to obtain the configuration options below are available here
kubectl apply -f k8s.yaml
cat > "oauth2_proxy_config" << EOF
EMAIL_DOMAIN=equalexperts.com
UPSTREAM=http://kibana.instrumentation:5602/
CLIENT_ID=101010101010-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com
EOF
kubectl create configmap oauth2-proxy-config -n apps --from-env-file=oauth2_proxy_config
cat > oauth2-proxy-secret << EOF
COOKIE_SECRET=XXXXXXXXXXXXXXXXXXXXXXXXXXX
CLIENT_SECRET=XXXXXXXXXXXXXXXXXXXXXXXXXXX
EOF
kubectl create secret generic oauth2-proxy-secret -n apps \
--from-env-file=oauth2-proxy-secret
export VHOST="oauth2_proxy.example.com"
kubectl apply -f <(envsubst < ingress.yaml.template)
Content type
Image
Digest
Size
8 MB
Last updated
about 8 years ago
docker pull microdc/oauth2-proxy