-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauthentik-spc.yml
52 lines (50 loc) · 1.72 KB
/
authentik-spc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
apiVersion: secrets-store.csi.x-k8s.io/v1alpha1
kind: SecretProviderClass
metadata:
name: authentik
spec:
provider: vault
secretObjects:
- secretName: authentik
type: Opaque
data:
- objectName: POSTGRES_DB
key: POSTGRES_DB
- objectName: POSTGRES_PASSWORD
key: POSTGRES_PASSWORD
- objectName: POSTGRES_USER
key: POSTGRES_USER
- objectName: AUTHENTIK_SECRET_KEY
key: AUTHENTIK_SECRET_KEY
- objectName: AUTHENTIK_EMAIL__HOST
key: AUTHENTIK_EMAIL__HOST
- objectName: AUTHENTIK_EMAIL__PASSWORD
key: AUTHENTIK_EMAIL__PASSWORD
- objectName: AUTHENTIK_EMAIL__USERNAME
key: AUTHENTIK_EMAIL__USERNAME
parameters:
vaultAddress: 'http://vault.vault:8200'
vaultKubernetesMountPath: 'k8s-vault-csi'
roleName: authentik
objects: |
- objectName: "POSTGRES_DB"
secretPath: "apps-kv/data/authentik/database"
secretKey: "POSTGRES_DB"
- objectName: "POSTGRES_PASSWORD"
secretPath: "apps-kv/data/authentik/database"
secretKey: "POSTGRES_PASSWORD"
- objectName: "POSTGRES_USER"
secretPath: "apps-kv/data/authentik/database"
secretKey: "POSTGRES_USER"
- objectName: "AUTHENTIK_SECRET_KEY"
secretPath: "apps-kv/data/authentik/config"
secretKey: "AUTHENTIK_SECRET_KEY"
- objectName: "AUTHENTIK_EMAIL__HOST"
secretPath: "apps-kv/data/authentik/smtp"
secretKey: "AUTHENTIK_EMAIL__HOST"
- objectName: "AUTHENTIK_EMAIL__PASSWORD"
secretPath: "apps-kv/data/authentik/smtp"
secretKey: "AUTHENTIK_EMAIL__PASSWORD"
- objectName: "AUTHENTIK_EMAIL__USERNAME"
secretPath: "apps-kv/data/authentik/smtp"
secretKey: "AUTHENTIK_EMAIL__USERNAME"