atlas-cmms
by f3k-tech
CMMS Software Built to Make Managing Maintenance Easier
About this chart
IMPORTANT: Cluster-wide Prerequisites
This chart depends on two operators being installed cluster-wide before you deploy. Find installation instructions at the bottom of this page.
- MinIO Operator (installs CRDs and controller)
- CloudNativePG (CNPG) Operator (installs CRDs and controller)
Atlas CMMS Helm Chart
This chart is designed to do a lot of heavy lifting for you. It wires together frontend, backend, PostgreSQL, and MinIO with sensible defaults so you don’t need to set many values to get a working deployment.
We encourage starting with the minimal example below and only adding functionality as needed. For production or stricter security setups, we also recommend setting the MinIO and PostgreSQL secrets manually rather than relying on auto-generation.
Environment Variable Behavior
For env.common.user, env.frontend.user, and env.backend.user:
- The chart always renders a fixed set of known user-settable env vars into the Deployment manifests.
- You can omit individual keys from your values file; the chart applies internal defaults for missing keys.
- If you explicitly set a key to
"", the env var is still rendered with an empty value. - Only known keys are rendered. Extra custom keys under these maps are ignored.
RECAPTCHA_SITE_KEYbelongs inenv.frontend.user(public browser key), not in Kubernetes Secrets.
For custom variables outside the fixed set, use env.frontend.extra and env.backend.extra:
- These lists are appended directly to each container
envsection. - Expected format:
env:
frontend:
extra:
- name: "EXAMPLE_VAR"
value: "example-value"
backend:
extra:
- name: "EXAMPLE_VAR"
value: "example-value"
ArgoCD Sync Waves (Ordering)
When using ArgoCD the components need to be synced in a certain order to prevent errors. This is not problem when using traditional helm commands.
- MinIO Secret first
- Config generator Job second
- Everything else
Example values to achieve this ordering:
secrets:
minio:
annotations:
argocd.argoproj.io/sync-wave: "-2" # First in sync
minio:
tenant:
configSecret:
configGeneratorJob:
annotations:
argocd.argoproj.io/sync-wave: "-1" # Second in sync
With the above, Argo CD will apply all Secrets at wave -2, then run the config generator Job at wave -1, and finally sync the core app resources at wave 0.
Recommended Minimal Values
secrets:
postgres:
auth:
username: "atlas"
password: "" # If empty, auto-generated
minio:
root:
accessKey: "minio"
secretKey: "" # If empty, auto-generated
frontend:
ingress:
enabled: true
className: ""
annotations: {}
hosts:
- host: example.com
paths:
- path: /
pathType: Prefix
tls:
- secretName: example.com-tls
hosts:
- example.com
backend:
ingress:
enabled: true
className: ""
annotations: {}
hosts:
- host: api.example.com
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: api.example.com-tls
hosts:
- api.example.com
postgresql:
enabled: true
storage:
enabled: true
size: 2Gi
storageClass: ""
minio:
enabled: true
tenant:
pools:
- name: "pool-0"
servers: 1
volumesPerServer: 1
size: 2Gi
storageClassName: ""
ingress:
api:
enabled: true
ingressClassName: ""
host: "api.minio.example.com"
path: /
annotations: {}
tls:
- secretName: api.minio.example.com-tls
hosts:
- api.minio.example.com
console:
enabled: true
ingressclassName: ""
host: "minio.example.com"
path: /
annotations: {}
tls:
- secretName: minio.example.com-tls
hosts:
- minio.example.com
CNPG Cluster-wide Watch Example
To ensure CNPG reconciles clusters across all namespaces, install it with a values file that enables cluster-wide watching:
helm repo add cnpg https://cloudnative-pg.github.io/charts
helm repo update
helm upgrade --install cnpg cnpg/cloudnative-pg \
--namespace cnpg-system \
--create-namespace \
--set serviceAccount.create=true \
--set serviceAccount.name=cnpg-operator \
--set-string watchNamespaces[0]="*"
MinIO Operator Cluster-wide Watch Example
To ensure the MinIO Operator watches all namespaces, set WATCHED_NAMESPACE to an empty string:
helm repo add minio https://operator.min.io/
helm repo update
helm upgrade --install minio-operator minio/operator \
--namespace minio-operator \
--create-namespace \
--set-string operator.env[0].name=WATCHED_NAMESPACE \
--set-string operator.env[0].value=""
Deploy atlas-cmms with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has atlas-cmms 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 chartatlas-cmms is pinned at v0.151.5 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