Skip to content

Index


title: Hotel on-site stack description: The on-site hotel stack (ibc-iac): hardening, operations and roll-out. audience: internal type: landing owner: platform-team last_reviewed: 2026-11-19


On-site hotel stack (ibc-iac): hardening, operations and roll-out.

Works today Not built yet
install.sh, the setup wizard, Argo CD updates, the local DNS and certificate steps, the scripts in scripts/ The approval step against coreapi's edge API, license renewals and modules changes from the Console, and the nightly backup (switched off until backup storage is decided)

ibc-iac installs a TellyBoard head-end on a hotel or site server:

  • k3s, APISIX, cert-manager and Kyverno, installed by install.sh.
  • All services, deployed and kept up to date from the repo by Argo CD.
  • A browser setup wizard, where the owner names the company, gets the address (for example https://ariyana.castis.io) and finishes the install.

Reading order

  1. Hotel install end to end: start here if you're new. It explains every building block in plain words, tours the repo, then follows one hotel step by step through installation, the running system, updates and maintenance, including which value lands in which file at each step.
  2. Prepare, approve and support a hotel install: the checklist with the commands you run, for preparing the repo, each install, approvals, rolling out updates, removing a site and restoring a hotel.
  3. Install on your own server: what the person on site does (send them this).
  4. Prove the hotel install step by step: a hands-on lab to prove each piece yourself on a test VM.

Reference, when you need it:

You are Read
Wanting the whole picture: install to updates Hotel install end to end
Installing a site Prepare a VM (if you need a VM), then Install on your own server
Castis DevOps, preparing or supporting an install Prepare, approve and support a hotel install
Wanting to verify each piece yourself Prove the hotel install step by step
Building the approval API in coreapi Castis edge API (not built yet: installs stop at "Approval by Castis" until it exists)
Adding or checking a variable Site variables
Giving one hotel a different setting Override settings for one hotel
Selling only some products (playout, tellyboard, spatio-view) Site modules
Switching SpatioView Hotel on for a hotel Switch SpatioView Hotel on for a hotel
Debugging k3s, APISIX, cert-manager or CoreDNS Prerequisite script explained
Publishing a release to partners Castis-only release tools

Guides

Guide Description
IBC hotel hardening Autoscaling, Kyverno image-signature Deny, re-runnable prerequisite.sh, streamer startup order, sudo cluster access, password tool, audit log, per-hotel JWT key, roll-out checklist

Repository layout

Path What it is
install.sh One-command base install: k3s, APISIX, cert-manager, Argo CD, tailnet, setup wizard
prerequisite.sh k3s, APISIX and cert-manager (base phase), and certificate and local DNS (site phase). Called by install.sh, the wizard and restore.sh. See Prerequisite script explained
reset.sh Wipes the machine back to clean
scripts/ Day-to-day tools for a running site: show-secrets.sh (prints the passwords and keys: sudo ./scripts/show-secrets.sh, or --save <file>), change-password.sh (change one, on record), audit-log.sh (who did what), change-ip.sh (after the server's IP changes). scripts/lib/ holds the shared helpers: ibc-audit.sh (the audit log writer) and ibc-kube.sh (kubectl and helm through sudo with root's kubeconfig)
docs/ The source of these pages: install, DevOps runbook, walkthrough, edge API, site variables, modules, prerequisite notes, VM setup
restore.sh Rebuilds a hotel as itself on a new machine, from its nightly backup (the backup is switched off for now; see section 2.6 of Prepare, approve and support a hotel install)
versions.env Every pinned base version (k3s, Helm, charts), and every image Nexus must hold
host/macos/setup-host.sh Run once on the Mac mini host: no sleep, restart after power failure, starts the VM at boot without login (see Prepare a VM)
setup-agent/ The setup wizard (agent.py, index.html), the edge API client (cloud.py), shared defaults (defaults.env), and a mock edge API with a lab license for testing (dev/)
gitops/ Argo CD: its install (argocd/), the root app (root/), one app per component in deploy order (apps/), extras that replace old script logic (components/), and render.sh, which fills in each site's values
setup-agent/modules.txt The list of products (modules) a site can be licensed for; read by render.sh, the wizard and the mock. See Site modules
sites/ Optional per-hotel, non-secret overrides (sites/<hotel>/site.env). See Override settings for one hotel
tools/ Castis-only tooling, left out of releases. See Castis-only release tools
infrastructure/, cdn/, application/, apisix/private/route/ The component manifests Argo CD deploys. They hold placeholders (${IBC_…}, your-domain.example.com), never real site values
apisix/apisix-values.yaml, cert-manager/, kyverno/, coredns/, registry-secret.yml Used by prerequisite.sh (install.sh also reads registry-secret.yml)
archive/ Not current. The old manual flow and unused files

How sites get updates

Every site follows one branch of the repo (main for the lab, canary for the pilot hotel, stable for everyone else), set when install.sh runs. Argo CD on the site pulls that branch, fills in the values (defaults, the site's sites/ folder, and its own values in Secret argocd/ibc-site, copied from /etc/ibc/site.env at install), applies the result, and restarts whatever changed. So merging into a branch updates every site on it, with no login to any site. Details: Part F of Hotel install end to end.