Add google auth to my-recipes
This commit is contained in:
parent
0e3769b2c9
commit
ce187dbc28
@ -79,6 +79,8 @@ spec:
|
|||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ .Release.Name }}-db-credentials
|
name: {{ .Release.Name }}-db-credentials
|
||||||
|
- secretRef:
|
||||||
|
name: {{ .Release.Name }}-app-secrets
|
||||||
startupProbe:
|
startupProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /docs
|
path: /docs
|
||||||
|
|||||||
@ -27,6 +27,9 @@ backend:
|
|||||||
env:
|
env:
|
||||||
PYTHONUNBUFFERED: "1"
|
PYTHONUNBUFFERED: "1"
|
||||||
|
|
||||||
|
# Secrets are created in db-secret.yaml
|
||||||
|
# These are passed via envFrom secretRef
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
className: "traefik"
|
className: "traefik"
|
||||||
@ -85,6 +88,7 @@ frontend:
|
|||||||
- secretName: my-recipes-tls
|
- secretName: my-recipes-tls
|
||||||
hosts:
|
hosts:
|
||||||
- my-recipes.dvirlabs.com
|
- my-recipes.dvirlabs.com
|
||||||
|
externalUrl: "https://my-recipes.dvirlabs.com"
|
||||||
|
|
||||||
# PostgreSQL configuration
|
# PostgreSQL configuration
|
||||||
postgres:
|
postgres:
|
||||||
@ -118,6 +122,27 @@ postgres:
|
|||||||
cpu: 1000m
|
cpu: 1000m
|
||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
|
|
||||||
|
# OAuth Configuration
|
||||||
|
oauth:
|
||||||
|
google:
|
||||||
|
clientId: "143092846986-hsi59m0on2c9rb5qrdoejfceieao2ioc.apps.googleusercontent.com"
|
||||||
|
clientSecret: "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"
|
||||||
|
redirectUri: "https://api-my-recipes.dvirlabs.com/auth/google/callback"
|
||||||
|
|
||||||
|
azure:
|
||||||
|
clientId: "db244cf5-eb11-4738-a2ea-5b0716c9ec0a"
|
||||||
|
clientSecret: "Zad8Q~qRBxaQq8up0lLXAq4pHzrVM2JFGFJhHaDp"
|
||||||
|
tenantId: "consumers"
|
||||||
|
redirectUri: "https://api-my-recipes.dvirlabs.com/auth/azure/callback"
|
||||||
|
|
||||||
|
# Email Configuration
|
||||||
|
email:
|
||||||
|
smtpHost: "smtp.gmail.com"
|
||||||
|
smtpPort: "587"
|
||||||
|
smtpUser: "dvirlabs@gmail.com"
|
||||||
|
smtpPassword: "agaanrhbbazbdytv"
|
||||||
|
smtpFrom: "dvirlabs@gmail.com"
|
||||||
|
|
||||||
# Ingress configuration
|
# Ingress configuration
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false # Individual frontend/backend ingress resources handle routing instead
|
enabled: false # Individual frontend/backend ingress resources handle routing instead
|
||||||
|
|||||||
@ -75,6 +75,8 @@ frontend:
|
|||||||
- secretName: my-recipes-tls
|
- secretName: my-recipes-tls
|
||||||
hosts:
|
hosts:
|
||||||
- my-recipes.dvirlabs.com
|
- my-recipes.dvirlabs.com
|
||||||
|
externalUrl: "https://my-recipes.dvirlabs.com"
|
||||||
|
|
||||||
# Admin user configuration
|
# Admin user configuration
|
||||||
admin:
|
admin:
|
||||||
username: "admin"
|
username: "admin"
|
||||||
@ -106,10 +108,32 @@ postgres:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 256Mi
|
memory: 1Gi
|
||||||
limits:
|
limits:
|
||||||
cpu: 1000m
|
cpu: 1000m
|
||||||
memory: 1Gi
|
memory: 1Gi
|
||||||
|
|
||||||
|
# OAuth Configuration
|
||||||
|
oauth:
|
||||||
|
google:
|
||||||
|
clientId: "143092846986-hsi59m0on2c9rb5qrdoejfceieao2ioc.apps.googleusercontent.com"
|
||||||
|
clientSecret: "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"
|
||||||
|
redirectUri: "https://api-my-recipes.dvirlabs.com/auth/google/callback"
|
||||||
|
|
||||||
|
azure:
|
||||||
|
clientId: "db244cf5-eb11-4738-a2ea-5b0716c9ec0a"
|
||||||
|
clientSecret: "Zad8Q~qRBxaQq8up0lLXAq4pHzrVM2JFGFJhHaDp"
|
||||||
|
tenantId: "consumers"
|
||||||
|
redirectUri: "https://api-my-recipes.dvirlabs.com/auth/azure/callback"
|
||||||
|
|
||||||
|
# Email Configuration
|
||||||
|
email:
|
||||||
|
smtpHost: "smtp.gmail.com"
|
||||||
|
smtpPort: "587"
|
||||||
|
smtpUser: "dvirlabs@gmail.com"
|
||||||
|
smtpPassword: "agaanrhbbazbdytv"
|
||||||
|
smtpFrom: "dvirlabs@gmail.com"
|
||||||
|
|
||||||
# Ingress (top-level, disabled - use component-specific ingress instead)
|
# Ingress (top-level, disabled - use component-specific ingress instead)
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user