implement oauth device code 'as if' endpoints

This commit is contained in:
2024-10-01 22:36:16 +02:00
parent a5d6be9338
commit 32afe88a9b
6 changed files with 92 additions and 5 deletions

View File

@@ -4,5 +4,7 @@ metadata:
name: {{ include "webapp.name" . }}-config
namespace: {{ .Release.Namespace }}
data:
OAUTH_ALLOWED_HTTP2_AUTHORITY: webapp.arcodange.duckdns.org
OAUTH_DEVICE_CODE_ALLOWED_IPS: 90.16.102.250,
DATABASE_URL: postgres://pgbouncer_auth:pgbouncer_auth@pgbouncer.tools/postgres?sslmode=disable
# DATABASE_URL: postgres://username:password@localhost/dbname?sslmode=disable

View File

@@ -104,7 +104,8 @@ volumeMounts: []
# mountPath: "/etc/foo"
# readOnly: true
nodeSelector: {}
nodeSelector:
kubernetes.io/hostname: pi1 # entrypoint of the network, allows to avoid NAT and keep user IP
tolerations: []