Try to fix google auth
This commit is contained in:
parent
c2dd6727d5
commit
5ff51b67bf
@ -48,6 +48,16 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ include "invy.fullname" . }}-secrets
|
name: {{ include "invy.fullname" . }}-secrets
|
||||||
key: database-url
|
key: database-url
|
||||||
|
- name: GOOGLE_CLIENT_ID
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "invy.fullname" . }}-secrets
|
||||||
|
key: google-client-id
|
||||||
|
- name: GOOGLE_CLIENT_SECRET
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: {{ include "invy.fullname" . }}-secrets
|
||||||
|
key: google-client-secret
|
||||||
{{- range $key, $value := .Values.backend.env }}
|
{{- range $key, $value := .Values.backend.env }}
|
||||||
- name: {{ $key }}
|
- name: {{ $key }}
|
||||||
value: {{ $value | quote }}
|
value: {{ $value | quote }}
|
||||||
|
|||||||
@ -10,3 +10,5 @@ stringData:
|
|||||||
postgres-password: {{ .Values.postgres.password | quote }}
|
postgres-password: {{ .Values.postgres.password | quote }}
|
||||||
postgres-database: {{ .Values.postgres.database | quote }}
|
postgres-database: {{ .Values.postgres.database | quote }}
|
||||||
database-url: "postgresql://{{ .Values.postgres.user }}:{{ .Values.postgres.password }}@{{ include "invy.fullname" . }}-db:{{ .Values.postgres.port }}/{{ .Values.postgres.database }}"
|
database-url: "postgresql://{{ .Values.postgres.user }}:{{ .Values.postgres.password }}@{{ include "invy.fullname" . }}-db:{{ .Values.postgres.port }}/{{ .Values.postgres.database }}"
|
||||||
|
google-client-id: {{ .Values.backend.googleClientId | quote }}
|
||||||
|
google-client-secret: {{ .Values.backend.googleClientSecret | quote }}
|
||||||
|
|||||||
@ -26,6 +26,12 @@ backend:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
PYTHONUNBUFFERED: "1"
|
PYTHONUNBUFFERED: "1"
|
||||||
|
GOOGLE_REDIRECT_URI: "https://api-invy.dvirlabs.com/auth/google/callback"
|
||||||
|
FRONTEND_URL: "https://invy.dvirlabs.com"
|
||||||
|
|
||||||
|
# Google OAuth credentials (set these values!)
|
||||||
|
googleClientId: "YOUR_GOOGLE_CLIENT_ID"
|
||||||
|
googleClientSecret: "YOUR_GOOGLE_CLIENT_SECRET"
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@ -22,6 +22,13 @@ backend:
|
|||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
env:
|
env:
|
||||||
PYTHONUNBUFFERED: "1"
|
PYTHONUNBUFFERED: "1"
|
||||||
|
GOOGLE_REDIRECT_URI: "https://api-invy.dvirlabs.com/auth/google/callback"
|
||||||
|
FRONTEND_URL: "https://invy.dvirlabs.com"
|
||||||
|
|
||||||
|
# Google OAuth credentials
|
||||||
|
googleClientId: "143092846986-v9s70im3ilpai78n89q38qpikernp2f8.apps.googleusercontent.com"
|
||||||
|
googleClientSecret: "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"
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
className: "traefik"
|
className: "traefik"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user