Files
infrastructure/clusters/cl01tl/manifests/authentik/Deployment-authentik-worker.yaml
gitea-bot 7a96d06727 Automated Manifest Update (#2259)
This PR contains newly rendered Kubernetes manifests automatically generated by the CI workflow.

Reviewed-on: #2259
Co-authored-by: gitea-bot <gitea-bot@alexlebens.net>
Co-committed-by: gitea-bot <gitea-bot@alexlebens.net>
2025-12-04 21:47:46 +00:00

128 lines
4.0 KiB
YAML

---
# Source: authentik/charts/authentik/templates/worker/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: authentik-worker
namespace: "authentik"
labels:
helm.sh/chart: "authentik-2025.10.2"
app.kubernetes.io/name: "authentik"
app.kubernetes.io/instance: "authentik"
app.kubernetes.io/component: "worker"
app.kubernetes.io/managed-by: "Helm"
app.kubernetes.io/part-of: "authentik"
app.kubernetes.io/version: "2025.10.2"
spec:
replicas: 1
revisionHistoryLimit: 3
selector:
matchLabels:
app.kubernetes.io/name: "authentik"
app.kubernetes.io/instance: "authentik"
app.kubernetes.io/component: "worker"
template:
metadata:
labels:
helm.sh/chart: "authentik-2025.10.2"
app.kubernetes.io/name: "authentik"
app.kubernetes.io/instance: "authentik"
app.kubernetes.io/component: "worker"
app.kubernetes.io/managed-by: "Helm"
app.kubernetes.io/part-of: "authentik"
app.kubernetes.io/version: "2025.10.2"
annotations:
checksum/secret: 4401a384e06edae0ac2d17733f15a6d40b1b11603c0ce881f1f93313e11b088b
spec:
serviceAccountName: authentik
terminationGracePeriodSeconds: 30
containers:
- name: worker
image: ghcr.io/goauthentik/server:2025.10.2
imagePullPolicy: IfNotPresent
args:
- worker
env:
- name: AUTHENTIK_SECRET_KEY
valueFrom:
secretKeyRef:
key: key
name: authentik-key-secret
- name: AUTHENTIK_POSTGRESQL__HOST
valueFrom:
secretKeyRef:
key: host
name: authentik-postgresql-17-cluster-app
- name: AUTHENTIK_POSTGRESQL__NAME
valueFrom:
secretKeyRef:
key: dbname
name: authentik-postgresql-17-cluster-app
- name: AUTHENTIK_POSTGRESQL__USER
valueFrom:
secretKeyRef:
key: user
name: authentik-postgresql-17-cluster-app
- name: AUTHENTIK_POSTGRESQL__PASSWORD
valueFrom:
secretKeyRef:
key: password
name: authentik-postgresql-17-cluster-app
- name: AUTHENTIK_LISTEN__HTTP
value: "0.0.0.0:9000"
- name: AUTHENTIK_LISTEN__METRICS
value: "0.0.0.0:9300"
envFrom:
- secretRef:
name: authentik
ports:
- name: http
containerPort: 9000
protocol: TCP
- name: metrics
containerPort: 9300
protocol: TCP
livenessProbe:
exec:
command:
- ak
- healthcheck
failureThreshold: 3
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 3
readinessProbe:
exec:
command:
- ak
- healthcheck
failureThreshold: 3
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 3
startupProbe:
exec:
command:
- ak
- healthcheck
failureThreshold: 60
initialDelaySeconds: 30
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 3
resources: {}
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/name: "authentik"
app.kubernetes.io/instance: "authentik"
app.kubernetes.io/component: "worker"
topologyKey: kubernetes.io/hostname
enableServiceLinks: true