fix authentik cmd

This commit is contained in:
Mans Ziesel 2024-12-24 14:30:12 +01:00
parent 6243e03e79
commit 8a84f0ff00

View File

@ -26,7 +26,7 @@ spec:
containers:
- image: ghcr.io/goauthentik/server:2024.12.1
name: authentik-server
command: ["server"]
command: ["ak server"]
environment:
- name: AUTHENTIK_REDIS__HOST
value: redis-server.authentik.svc.cluster.local
@ -63,41 +63,41 @@ spec:
name: authentik-media
- mountPath: /templates
name: authentik-templates
# - image: ghcr.io/goauthentik/server:2024.12.1
# name: authentik-worker
# command: ["worker"]
# environment:
# - name: AUTHENTIK_REDIS__HOST
# value: redis-server.authentik.svc.cluster.local
# - name: AUTHENTIK_POSTGRESQL__HOST
# valueFrom:
# secretKeyRef:
# name: keycloak-pg-cluster-app
# key: host
# - name: AUTHENTIK_POSTGRESQL__PORT
# valueFrom:
# secretKeyRef:
# name: keycloak-pg-cluster-app
# key: port
# - name: AUTHENTIK_POSTGRESQL__USER
# valueFrom:
# secretKeyRef:
# name: keycloak-pg-cluster-app
# key: user
# - name: AUTHENTIK_POSTGRESQL__NAME
# valueFrom:
# secretKeyRef:
# name: keycloak-pg-cluster-app
# key: dbname
# - name: AUTHENTIK_POSTGRESQL__PASSWORD
# valueFrom:
# secretKeyRef:
# name: keycloak-pg-cluster-app
# key: password
# volumeMounts:
# - mountPath: /media
# name: authentik-media
# - mountPath: /certs
# name: authentik-certs
# - mountPath: /templates
# name: authentik-templates
- image: ghcr.io/goauthentik/server:2024.12.1
name: authentik-worker
command: ["ak worker"]
environment:
- name: AUTHENTIK_REDIS__HOST
value: redis-server.authentik.svc.cluster.local
- name: AUTHENTIK_POSTGRESQL__HOST
valueFrom:
secretKeyRef:
name: keycloak-pg-cluster-app
key: host
- name: AUTHENTIK_POSTGRESQL__PORT
valueFrom:
secretKeyRef:
name: keycloak-pg-cluster-app
key: port
- name: AUTHENTIK_POSTGRESQL__USER
valueFrom:
secretKeyRef:
name: keycloak-pg-cluster-app
key: user
- name: AUTHENTIK_POSTGRESQL__NAME
valueFrom:
secretKeyRef:
name: keycloak-pg-cluster-app
key: dbname
- name: AUTHENTIK_POSTGRESQL__PASSWORD
valueFrom:
secretKeyRef:
name: keycloak-pg-cluster-app
key: password
volumeMounts:
- mountPath: /media
name: authentik-media
- mountPath: /certs
name: authentik-certs
- mountPath: /templates
name: authentik-templates