add authentik db
This commit is contained in:
25
postgres/config/authentik_auth.yaml
Normal file
25
postgres/config/authentik_auth.yaml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: external-secrets.io/v1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: authentik-auth
|
||||||
|
spec:
|
||||||
|
data:
|
||||||
|
- remoteRef:
|
||||||
|
conversionStrategy: Default
|
||||||
|
decodingStrategy: None
|
||||||
|
key: cloudnativepg
|
||||||
|
metadataPolicy: None
|
||||||
|
property: authentik_pw
|
||||||
|
secretKey: password
|
||||||
|
refreshInterval: 1h
|
||||||
|
secretStoreRef:
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
name: weyma-vault
|
||||||
|
target:
|
||||||
|
template:
|
||||||
|
data:
|
||||||
|
username: authentik
|
||||||
|
password: "{{ .password }}"
|
||||||
|
creationPolicy: Owner
|
||||||
|
deletionPolicy: Retain
|
||||||
|
name: authentik-auth
|
||||||
@@ -35,4 +35,10 @@ spec:
|
|||||||
login: true
|
login: true
|
||||||
superuser: true
|
superuser: true
|
||||||
passwordSecret:
|
passwordSecret:
|
||||||
name: williamp-auth
|
name: williamp-auth
|
||||||
|
- name: authentik
|
||||||
|
ensure: present
|
||||||
|
comment: authentik
|
||||||
|
login: true
|
||||||
|
passwordSecret:
|
||||||
|
name: authentik-auth
|
||||||
Reference in New Issue
Block a user