enable oidc
Some checks failed
renovate / renovate (push) Failing after 3s
lint-test-helm / lint-helm (push) Successful in 40s
render-manifests-push / render-manifests-push (push) Successful in 1m2s

This commit is contained in:
2025-12-29 17:23:45 -06:00
parent 0130021c32
commit 422e3c1fc2
2 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: vaultwarden-oidc-secret
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: vaultwarden-oidc-secret
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
secretStoreRef:
kind: ClusterSecretStore
name: vault
data:
- secretKey: client
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /authentik/oidc/vaultwarden
metadataPolicy: None
property: client
- secretKey: secret
remoteRef:
conversionStrategy: Default
decodingStrategy: None
key: /authentik/oidc/vaultwarden
metadataPolicy: None
property: secret

View File

@@ -23,6 +23,22 @@ vaultwarden:
secretKeyRef:
name: vaultwarden-postgresql-18-cluster-app
key: uri
- name: SSO_ENABLED
value: "true"
- name: SSO_SIGNUPS_MATCH_EMAIL
value: "true"
- name: SSO_AUTHORITY
value: https://auth.alexlebens.dev/application/o/vaultwarden/.well-known/openid-configuration
- name: SSO_CLIENT_ID
valueFrom:
secretKeyRef:
name: vaultwarden-oidc-secret
key: client
- name: SSO_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: vaultwarden-oidc-secret
key: secret
resources:
requests:
cpu: 10m