diff --git a/paperless-system/paperless.yaml b/paperless-system/paperless.yaml index adedb7e..891667a 100644 --- a/paperless-system/paperless.yaml +++ b/paperless-system/paperless.yaml @@ -105,26 +105,6 @@ spec: value: paperless - name: PGDATA value: /var/lib/postgresql/data/pgdata - - name: PAPERLESS_ENABLE_ALLAUTH - value: "true" - - name: PAPERLESS_APPS - value: "allauth.socialaccount.providers.openid_connect" - - name: PAPERLESS_SOCIALACCOUNT_PROVIDERS - value: '{"openid_connect":{"APPS":[{"provider_id":"authentik","name":"authentik","client_id":"YOUR_CLIENT_ID","secret":"YOUR_CLIENT_SECRET","settings":{"server_url":"https://authentik.dooplex.hu/application/o/paperless/.well-known/openid-configuration","claims":{"username":"email"}}}],"OAUTH_PKCE_ENABLED":"True"}}' - - name: PAPERLESS_OIDC_CLIENT_ID - valueFrom: - secretKeyRef: - name: paperless-oauth - key: client-id - - name: PAPERLESS_OIDC_CLIENT_SECRET - valueFrom: - secretKeyRef: - name: paperless-oauth - key: client-secret - - name: PAPERLESS_AUTO_LOGIN - value: "true" - - name: PAPERLESS_LOGOUT_REDIRECT_URL - value: "https://authentik.dooplex.hu/application/o/paperless/end-session/" ports: - name: postgres containerPort: 5432 @@ -368,6 +348,26 @@ spec: key: from-address - name: PAPERLESS_EMAIL_USE_TLS value: "true" + - name: PAPERLESS_ENABLE_ALLAUTH + value: "true" + - name: PAPERLESS_APPS + value: "allauth.socialaccount.providers.openid_connect" + - name: PAPERLESS_SOCIALACCOUNT_PROVIDERS + value: '{"openid_connect":{"APPS":[{"provider_id":"authentik","name":"authentik","client_id":"YOUR_CLIENT_ID","secret":"YOUR_CLIENT_SECRET","settings":{"server_url":"https://authentik.dooplex> + - name: PAPERLESS_OIDC_CLIENT_ID + valueFrom: + secretKeyRef: + name: paperless-oauth + key: client-id + - name: PAPERLESS_OIDC_CLIENT_SECRET + valueFrom: + secretKeyRef: + name: paperless-oauth + key: client-secret + - name: PAPERLESS_AUTO_LOGIN + value: "true" + - name: PAPERLESS_LOGOUT_REDIRECT_URL + value: "https://authentik.dooplex.hu/application/o/paperless/end-session/" ports: - name: http containerPort: 8000