Install via Helm
Install weebo-authentik-operator and its CRDs using the bundled Helm chart.
Prerequisites
- A Kubernetes cluster with cert-manager
installed. The chart's
ValidatingWebhookConfigurationrequires a real TLS certificate for its admission webhook (.prompt/plan.md, "Securite operationnelle & deploiement") — the chart creates aCertificateresource, but never anIssuer/ClusterIssueritself. Have one ready before installing.
Install
The chart lives in this repository at deploy/charts/weebo-authentik.
helm install weebo-authentik deploy/charts/weebo-authentik \
--namespace weebo-authentik --create-namespace \
--set certManager.issuerRef.name=<your-cluster-issuer> \
--set certManager.issuerRef.kind=ClusterIssuercertManager.issuerRef.name is required — the chart's Certificate
template fails to render without it.
What gets installed
- The 10
AuthentikInstance/AuthentikGroup/AuthentikUser/AuthentikOutpost/AuthentikFlow/AuthentikScopeMapping/AuthentikBrand/AuthentikApplication/AuthentikAccessPolicy/AuthentikNamespacePolicyCRDs (see the CRD reference for each kind's fields). - The operator
Deployment(2 replicas by default — see below),Service, and its own cluster-wideClusterRole/ClusterRoleBinding. - A cert-manager
Certificatefor the webhook, and theValidatingWebhookConfigurationitself (failurePolicy: Fail— an unreachable webhook blocksAuthentikApplication/AuthentikAccessPolicywrites cluster-wide rather than silently letting them through). - A
PodDisruptionBudgetand a ConfigMap containing the ArgoCDhealth.luascript every CRD kind needs (see the chart'sNOTES.txt, shown afterhelm install, for the exact ArgoCD wiring steps — a chart can't write to ArgoCD's own configuration itself).
Replica count and leader election
replicaCount defaults to 2. The webhook is active on every replica
(stateless); the operator's reconcilers use a coordination.k8s.io
Lease (weebo-operator-kit's leader election) so only the elected leader
reconciles at a time. A replica that loses the lease exits immediately —
Kubernetes restarts it, and another replica takes over; on a rollout
(SIGTERM) the leader finishes its in-flight reconciles and hands the lease
over at once. Each controller runs at most WEEBO_RECONCILE_CONCURRENCY
reconciles at a time (default 4).
Deleting a CR whose cleanup can't succeed
Deleting a CR deletes its Authentik object first (the finalizer). When
that can't succeed any more — its AuthentikInstance or token is already
gone — the CR stays in Terminating, with a Warning Event saying why.
Release it without touching Authentik (the object is left behind):
kubectl annotate authentikgroup <name> authentik.weebo.io/force-orphan=trueA Released Event records it.
Next steps
Connect a real Authentik instance, then walk through your first application.