Install on Kubernetes
The FireHawk Helm chart is published at oci://ghcr.io/eos916101/charts/firehawk. Its version matches the FireHawk release (the current release is 1.0.0), and the images it uses default to the same version.
What the chart deploys
Section titled “What the chart deploys”| Component | Kind | Notes |
|---|---|---|
| api | Deployment + Service <release>-api |
Runs the database migrations at start (serialized, so several replicas are safe). Probes: /api/health (startup, liveness), /api/ready (readiness, checks the database) |
| worker | Deployment, 2 replicas by default | Same image as the API: drift checks, rollouts, alias refreshes, safe-deploy checks, notifications. Replicas share the job queue in PostgreSQL; running jobs go back to the queue on SIGTERM |
| frontend | Deployment + Service <release> |
nginx serving the UI and proxying /api/ to the api Service |
| postgresql | StatefulSet + PVC (optional, enabled by default) | postgres:16-alpine, one replica |
| Ingress | optional | Points at the frontend only (it proxies /api/) |
ConfigMap, Secret <release> |
Non-secret settings; SECRET_KEY, the bootstrap admin password and the database credentials |
The api and worker pods are stateless and configured by environment only, so any number of replicas can run and their start order does not matter.
Install
Section titled “Install”Requires Helm 3.8 or later (OCI support).
helm install firehawk oci://ghcr.io/eos916101/charts/firehawk --version 1.0.0 \ -n firehawk --create-namespace \ --set ingress.enabled=true \ --set ingress.className=nginx \ --set ingress.host=firehawk.example.comFor anything beyond a test, keep your settings in a values file and install with -f values.yaml. The full list of values can be shown with:
helm show values oci://ghcr.io/eos916101/charts/firehawk --version 1.0.0First sign-in
Section titled “First sign-in”The bootstrap admin is admin@firehawk.local (bootstrapAdmin.email). Its password is generated unless bootstrapAdmin.password is set:
kubectl -n firehawk get secret firehawk -o jsonpath='{.data.BOOTSTRAP_ADMIN_PASSWORD}' | base64 -d; echoWith existingSecret, the password is the BOOTSTRAP_ADMIN_PASSWORD key of your own Secret. The account is only created on the first start, while the database has no user. Change the password after signing in.
Without an ingress, open the UI with a port forward:
kubectl -n firehawk port-forward svc/firehawk 8085:80# then http://localhost:8085or expose the frontend Service with frontend.service.type: LoadBalancer or NodePort (frontend.service.nodePort).
Test the installation
Section titled “Test the installation”helm test firehawk -n firehawkThe test calls /api/ready through the frontend Service, which checks the UI, the API and the database in one request.
Common values
Section titled “Common values”Public URL, ingress and TLS
Section titled “Public URL, ingress and TLS”publicUrl: https://firehawk.example.com # default: derived from the ingress hostingress: enabled: true className: nginx host: firehawk.example.com annotations: cert-manager.io/cluster-issuer: letsencrypt tls: enabled: true secretName: "" # empty = <release>-tlspublicUrl is the address users open. It is used in notification links and for the single sign-on redirect URI ({publicUrl}/api/auth/oidc/callback). It can also be changed later in the UI under Users & access, Single sign-on, Public URL.
Secrets
Section titled “Secrets”SECRET_KEY signs sessions and encrypts stored SSH credentials, notification secrets and single sign-on settings. When secretKey is empty, the chart generates it once. The Secret <release> keeps it across upgrades and carries helm.sh/resource-policy: keep, so helm uninstall does not delete it. Delete that Secret yourself only together with the database.
To manage the secret yourself (for example with an external secrets operator), create a Secret with the keys SECRET_KEY and BOOTSTRAP_ADMIN_PASSWORD and reference it:
kubectl -n firehawk create secret generic firehawk-app \ --from-literal=SECRET_KEY=$(openssl rand -hex 32) \ --from-literal=BOOTSTRAP_ADMIN_PASSWORD='choose-a-strong-password'existingSecret: firehawk-appBuilt-in or external database
Section titled “Built-in or external database”The built-in PostgreSQL is enabled by default:
postgresql: enabled: true auth: username: firehawk database: firehawk password: "" # empty = generated once and kept; only used when the data directory is created persistence: enabled: true size: 8Gi storageClass: ""For production, prefer a managed or operator-run PostgreSQL 14 or later:
postgresql: enabled: falseexternalDatabase: url: postgresql://firehawk:secret@db.example.com:5432/firehawk # or read the URL from an existing Secret, e.g. the one CloudNativePG creates: # existingSecret: firehawk-db-app # existingSecretKey: uripostgres://, postgresql:// and postgresql+asyncpg:// URLs are accepted. The default existingSecretKey is DATABASE_URL.
SSH key files
Section titled “SSH key files”Hosts using key file authentication read the file from /app/sshkeys. Mount the files from a Secret (read-only):
kubectl -n firehawk create secret generic firehawk-sshkeys --from-file=id_ed25519=./id_ed25519sshKeys: existingSecret: firehawk-sshkeysStored credentials on the Credentials page need no files and support rotation; prefer them on Kubernetes. See Credentials and jump hosts.
Workers
Section titled “Workers”worker: replicaCount: 2 concurrency: 8 # jobs per worker pod (WORKER_CONCURRENCY) terminationGracePeriodSeconds: 40With worker.replicaCount: 0, drift checks, rollouts, alias refreshes and notifications never run. See Background jobs and workers.
Application settings
Section titled “Application settings”config: tokenExpireMinutes: 720 sshConnectTimeout: 10 driftCheckIntervalMinutes: 30 # 0 = off jobRetentionDays: 7 dbWaitSeconds: 90extraEnv: [] # extra environment variables for api and worker podsSee Configuration for what each setting does.
Private registry or mirror
Section titled “Private registry or mirror”imagePullSecrets: - name: registry-pullapi: image: repository: registry.example.com/firehawk-api tag: "1.0.0"frontend: image: repository: registry.example.com/firehawk-frontend tag: "1.0.0"The worker uses the api image. Empty tags use the chart’s app version (the release version for published charts). Tags main and latest are pulled with Always, other tags with IfNotPresent unless pullPolicy is set.
Scheduling and security
Section titled “Scheduling and security”Each component (api, worker, frontend, postgresql) accepts replicaCount (not postgresql), resources, nodeSelector, tolerations and affinity; api, worker and frontend also take podAnnotations, podLabels and securityContext. Top-level podSecurityContext and serviceAccount apply to all pods.
Upgrade
Section titled “Upgrade”helm upgrade firehawk oci://ghcr.io/eos916101/charts/firehawk --version 1.0.1 \ -n firehawk -f values.yamlMigrations run automatically when the new api and worker pods start. Back up the database and SECRET_KEY first; see Versions and upgrades.
Uninstall
Section titled “Uninstall”helm uninstall firehawk -n firehawkThe Secret firehawk (with SECRET_KEY) is kept on purpose. The built-in database’s PersistentVolumeClaim is created by the StatefulSet and is not removed by Helm either; delete it and the Secret yourself if you want to remove all data.
