keda-crds

by arieotech

Helm chartv0.1.0App 2.16.0Apache-2.0Verified publisher

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:

  1. ArgoCD/Flux CRD drift — Helm does not upgrade CRDs on helm upgrade by default. When the operator chart is upgraded, CRDs may become stale, causing schema validation failures.
  2. 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-conflicts safely 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

CRDGroupScope
ScaledObjectkeda.sh/v1alpha1Namespaced
ScaledJobkeda.sh/v1alpha1Namespaced
TriggerAuthenticationkeda.sh/v1alpha1Namespaced
ClusterTriggerAuthenticationkeda.sh/v1alpha1Cluster
CloudEventSourceeventing.keda.sh/v1alpha1Namespaced
ClusterCloudEventSourceeventing.keda.sh/v1alpha1Cluster

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkeda-crds is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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