add authentik
This commit is contained in:
parent
1b2b582c80
commit
59f75e7d71
5 changed files with 252 additions and 58 deletions
19
modules/k3s/secrets.nix
Normal file
19
modules/k3s/secrets.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
sops.templates = {
|
||||
"authentik-secrets.yaml" = {
|
||||
content = ''
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: authentik-secrets
|
||||
namespace: default
|
||||
type: Opaque
|
||||
stringData:
|
||||
pg_pass: ${config.sops.placeholder."pg_pass"}
|
||||
authentik_secret_key: ${config.sops.placeholder."authentik_secret_key"}
|
||||
'';
|
||||
path = "/var/lib/rancher/k3s/server/manifests/authentik-secrets.yaml";
|
||||
}
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue