Enable OIDC login for kitchenowl

This commit is contained in:
Pim Kunis 2025-02-13 17:59:35 +01:00
parent 1210360509
commit d29332fd6d
2 changed files with 14 additions and 5 deletions

View file

@ -33,9 +33,16 @@
ports.web.containerPort = 8080;
imagePullPolicy = "IfNotPresent";
env.JWT_SECRET_KEY.valueFrom.secretKeyRef = {
name = "server";
key = "jwtSecretKey";
env = {
FRONT_URL.value = "https://boodschappen.kun.is";
OIDC_ISSUER.value = "https://authentik.kun.is/application/o/kitchenowl/";
OIDC_CLIENT_ID.value = "OptR5S9hPix9beuJWFdfNBWRBr2l0nPx7mj8FpB3";
OIDC_CLIENT_SECRET.value = "ref+sops://secrets.yml#/authentik/oauth2/kitchenowl/client_secret";
JWT_SECRET_KEY.valueFrom.secretKeyRef = {
name = "server";
key = "jwtSecretKey";
};
};
volumeMounts = [