keda-crds
by arieotech
CRD-only companion chart for KEDA 2.16.0. Installs ScaledObject, ScaledJob, TriggerAuthentication, ClusterTriggerAuthentication, CloudEventSource, and ClusterCloudEventSource CRDs as Helm-managed resources so they can be versioned, upgraded, and rolled back independently of the KEDA operator — the Arieotech fix for upstream issue #5575. Safe for GitOps/ArgoCD workflows.
About this chart
Arieotech KEDA CRDs Chart
CRD-only companion chart for KEDA 2.16.0. Installs all KEDA Custom Resource Definitions as Helm-managed resources so they can be versioned, upgraded, and rolled back independently of the KEDA operator.
Why a separate CRD chart?
The official KEDA chart bundles CRDs inside the operator chart. This creates two problems in GitOps workflows:
- ArgoCD/Flux CRD drift — Helm does not upgrade CRDs on
helm upgradeby default. When the operator chart is upgraded, CRDs may become stale, causing schema validation failures. - No independent CRD lifecycle — You cannot upgrade CRDs without also upgrading the operator, which may not be desirable during rolling upgrades.
This chart (Arieotech fix for upstream issue #5575) separates CRDs so you can:
- Upgrade CRDs ahead of the operator upgrade
- Roll back CRDs independently
- Use
--force-conflictssafely when CRDs change
Install order
Always install keda-crds before keda:
helm repo add arieotech https://charts.arieotech.com
helm repo update
# 1. Install CRDs first
helm install keda-crds arieotech/keda-crds --namespace keda --create-namespace
# 2. Install operator
helm install keda arieotech/keda --namespace keda
An OCI registry is also available if you prefer it over the Helm repo:
helm install keda-crds oci://ghcr.io/arieotech/charts/keda-crds
helm install keda oci://ghcr.io/arieotech/charts/keda
Upgrading CRDs
helm upgrade keda-crds arieotech/keda-crds --namespace keda
ArgoCD integration
In your ArgoCD Application for the operator, set:
spec:
syncPolicy:
syncOptions:
- ServerSideApply=true
- CreateNamespace=true
And deploy keda-crds as a separate Application with sync-wave: "-1" to ensure CRDs are applied before the operator.
CRDs included
| CRD | Group | Scope |
|---|---|---|
| ScaledObject | keda.sh/v1alpha1 | Namespaced |
| ScaledJob | keda.sh/v1alpha1 | Namespaced |
| TriggerAuthentication | keda.sh/v1alpha1 | Namespaced |
| ClusterTriggerAuthentication | keda.sh/v1alpha1 | Cluster |
| CloudEventSource | eventing.keda.sh/v1alpha1 | Namespaced |
| ClusterCloudEventSource | eventing.keda.sh/v1alpha1 | Cluster |
Deploy keda-crds with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has keda-crds on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkeda-crds is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply