komodo

by alekc

Helm chartv4.0.1App 2.2.0GPL-3.0Verified publisher

Self-hosted infrastructure management platform with GitOps, deployments, alerting, and a web UI. Kept up to date automatically.

About this chart

komodo

Self-hosted infrastructure management platform with GitOps, deployments, alerting, and a web UI. Kept up to date automatically.

Komodo is an open-source infrastructure management platform. It provides GitOps-style deployments, stack and container management, alerting, resource syncing, and a web UI, all from a single self-hosted binary backed by MongoDB.

This chart requires a MongoDB instance reachable by the pod. The database connection is configured via the KOMODO_DATABASE_* environment variables. Use additionalManifests to provision an ExternalSecret if the password comes from a secret store.

Quick start

From the classic chart repository:

helm repo add alekc https://charts.alekc.dev
helm repo update
helm install komodo alekc/komodo -f my-values.yaml

Or directly from the OCI registry, no helm repo add needed:

helm install komodo oci://charts.alekc.dev/komodo --version 3.0.1 -f my-values.yaml

Verifying the signature

curl -sO https://charts.alekc.dev/pubring.gpg
helm pull oci://charts.alekc.dev/komodo --version 3.0.1 --verify --keyring pubring.gpg

Minimum values

workload:
  main:
    podSpec:
      containers:
        main:
          env:
            KOMODO_HOST: "https://komodo.example.com"
            KOMODO_PASSKEY: "change-me"
            KOMODO_DATABASE_ADDRESS: "rs0.mongodb.svc:27017"
            KOMODO_DATABASE_USERNAME: komodo
            KOMODO_DATABASE_PASSWORD:
              secretKeyRef:
                key: password
                name: komodo-mongodb-password
                expandObjectName: false

persistence:
  config:
    enabled: true
    type: pvc
    mountPath: /config
    accessMode: ReadWriteOnce
    size: 1Gi

ingress:
  main:
    enabled: true
    hosts:
      - host: komodo.example.com
        paths:
          - path: /
            pathType: ImplementationSpecific
    tls:
      - hosts:
          - komodo.example.com
        secretName: komodo-tls

Maintainers

NameEmailUrl
alekc[email protected]

Source Code

Requirements

RepositoryNameVersion
https://charts.alekc.devcommon39.0.3

Gotchas

  • persistence.config is required, not optional, despite being toggleable. Komodo core writes core.key to /config on first boot and reuses it to decrypt previously stored stack/sync data. Disabling it or leaving it as an emptyDir regenerates the key on every pod restart, silently losing access to everything encrypted with the old one. This chart defaults it to a 1Gi PVC; only turn it off for a genuinely disposable test instance.
  • KOMODO_PASSKEY and KOMODO_INIT_ADMIN_PASSWORD ship with placeholder values. Both must be overridden before exposing the instance; the passkey signs auth tokens and the admin password is only read on the very first boot that creates the admin account.
  • No database is bundled. Point KOMODO_DATABASE_ADDRESS at a MongoDB you already run, and wire the password through a Secret (an additionalManifests-provisioned ExternalSecret works well here), never a plain string in values.yaml.
  • See the common library's own contract for the shared workload/persistence/ingress shape: https://gitlab.com/alexander-chernov/helm/common/-/blob/master/README.md#chart-authors-guide-contract-and-gotchas

Upgrade notes

No breaking changes yet. This section will list migration steps for any future release with a kind: removed or kind: changed entry in artifacthub.io/changes that requires one.

Values

KeyTypeDefaultDescription
fullnameOverridestring"komodo"
image.repositorystring"ghcr.io/moghtech/komodo-core"
image.tagstring"2.3.4"
ingress.main.enabledbooltrue
ingress.main.hosts[0].hoststring"komodo.example.com"
ingress.main.hosts[0].paths[0].pathstring"/"
ingress.main.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
persistence.action-cache.enabledbooltrue
persistence.action-cache.mountPathstring"/action-cache"
persistence.action-cache.targetSelectAllbooltrue
persistence.action-cache.typestring"emptyDir"
persistence.config.accessModestring"ReadWriteOnce"
persistence.config.enabledbooltrue
persistence.config.mountPathstring"/config"
persistence.config.sizestring"1Gi"
persistence.config.typestring"pvc"
persistence.repo-cache.enabledbooltrue
persistence.repo-cache.mountPathstring"/repo-cache"
persistence.repo-cache.targetSelectAllbooltrue
persistence.repo-cache.typestring"emptyDir"
persistence.syncs.enabledbooltrue
persistence.syncs.mountPathstring"/syncs"
persistence.syncs.targetSelectAllbooltrue
persistence.syncs.typestring"emptyDir"
service.main.ports.main.portint9120
service.main.ports.main.protocolstring"http"
workload.main.podSpec.containers.main.env.KOMODO_DATABASE_ADDRESSstring"rs0.mongodb.svc:27017"
workload.main.podSpec.containers.main.env.KOMODO_DATABASE_PASSWORD.secretKeyRef.expandObjectNameboolfalse
workload.main.podSpec.containers.main.env.KOMODO_DATABASE_PASSWORD.secretKeyRef.keystring"password"
workload.main.podSpec.containers.main.env.KOMODO_DATABASE_PASSWORD.secretKeyRef.namestring"komodo-mongodb-password"
workload.main.podSpec.containers.main.env.KOMODO_DATABASE_USERNAMEstring"komodo"
workload.main.podSpec.containers.main.env.KOMODO_DISABLE_USER_REGISTRATIONboolfalse
workload.main.podSpec.containers.main.env.KOMODO_HOSTstring"https://komodo.example.com"
workload.main.podSpec.containers.main.env.KOMODO_INIT_ADMIN_PASSWORDstring"changeme123"
workload.main.podSpec.containers.main.env.KOMODO_INIT_ADMIN_USERNAMEstring"admin"
workload.main.podSpec.containers.main.env.KOMODO_LOCAL_AUTHbooltrue
workload.main.podSpec.containers.main.env.KOMODO_PASSKEYstring"changeme123"

Deploy komodo with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has komodo 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 chartkomodo is pinned at v4.0.1 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