apiVersion: apps/v1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: '6' kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"name":"authentik-worker","namespace":"authentik"},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"authentik-worker"}},"template":{"metadata":{"labels":{"app":"authentik-worker"}},"spec":{"containers":[{"args":["worker"],"env":[{"name":"AUTHENTIK_REDIS__HOST","value":"authentik-redis"},{"name":"AUTHENTIK_POSTGRESQL__HOST","value":"postgresql"},{"name":"AUTHENTIK_POSTGRESQL__USER","value":"authentik"},{"name":"AUTHENTIK_POSTGRESQL__NAME","value":"authentik"},{"name":"AUTHENTIK_POSTGRESQL__PASSWORD","valueFrom":{"secretKeyRef":{"key":"POSTGRES_PASSWORD","name":"authentik-secrets"}}},{"name":"AUTHENTIK_SECRET_KEY","valueFrom":{"secretKeyRef":{"key":"AUTHENTIK_SECRET_KEY","name":"authentik-secrets"}}},{"name":"AUTHENTIK_ERROR_REPORTING__ENABLED","value":"false"}],"image":"ghcr.io/goauthentik/server:2024.12.3","name":"worker","resources":{"limits":{"cpu":"300m","memory":"512Mi"},"requests":{"cpu":"50m","memory":"256Mi"}},"volumeMounts":[{"mountPath":"/media","name":"media"}]}],"initContainers":[{"command":["sh","-c","until pg_isready -h postgresql -U authentik; do echo waiting; sleep 2; done"],"image":"postgres:17-alpine","name":"wait-postgres"}],"volumes":[{"name":"media","persistentVolumeClaim":{"claimName":"authentik-media-pvc"}}]}}}} ' name: authentik-worker namespace: authentik spec: progressDeadlineSeconds: 600 replicas: 1 revisionHistoryLimit: 10 selector: matchLabels: app: authentik-worker strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate template: metadata: annotations: kubectl.kubernetes.io/restartedAt: '2026-04-08T20:03:35Z' labels: app: authentik-worker spec: containers: - args: - worker env: - name: AUTHENTIK_REDIS__HOST value: authentik-redis - name: AUTHENTIK_POSTGRESQL__HOST value: postgresql - name: AUTHENTIK_POSTGRESQL__USER value: authentik - name: AUTHENTIK_POSTGRESQL__NAME value: authentik - name: AUTHENTIK_POSTGRESQL__PASSWORD valueFrom: secretKeyRef: key: POSTGRES_PASSWORD name: authentik-secrets - name: AUTHENTIK_SECRET_KEY valueFrom: secretKeyRef: key: AUTHENTIK_SECRET_KEY name: authentik-secrets - name: AUTHENTIK_ERROR_REPORTING__ENABLED value: 'false' image: ghcr.io/goauthentik/server:2024.12.3 imagePullPolicy: IfNotPresent name: worker resources: limits: cpu: 300m memory: 512Mi requests: cpu: 50m memory: 256Mi terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /media name: media dnsPolicy: ClusterFirst initContainers: - command: - sh - -c - until pg_isready -h postgresql -U authentik; do echo waiting; sleep 2; done image: postgres:17-alpine imagePullPolicy: IfNotPresent name: wait-postgres resources: {} terminationMessagePath: /dev/termination-log terminationMessagePolicy: File restartPolicy: Always schedulerName: default-scheduler securityContext: {} terminationGracePeriodSeconds: 30 volumes: - name: media persistentVolumeClaim: claimName: authentik-media-pvc