Skip to content

Repository files navigation

guardian

Guardian runs on a Cozystack-native management cluster. Development is done via GitOps.

Quickstart

Run eval "$(scripts/bootstrap.sh path)" && aspect tools install && eval "$(aspect tools path)" to install the pinned bootstrap toolchain plus repo-pinned CLIs and build tools, aspect build, aspect lint, aspect test, and aspect tidy to build, lint, test, and format the repo (fast with cache), and aspect --help / aspect <task> --help to view development tasks and their options.

Deeper reading: AGENTS.md (conventions and the durable command surface), the web frontend dev loop in src/products/viteplus-monorepo/README.md, the runbooks in src/infrastructure/runbooks/, and the design docs in docs/.

Authenticating to the Cluster

Sessions carry authority by persona. The default is read; ask for a higher rung only when you need it.

aspect infra auth                        # read: cluster-wide read + port-forward, unattended
aspect infra auth --persona=write-basic  # delete pods/jobs, scale, mint secrets-writer tokens
aspect infra auth --persona=write-all    # cluster-admin, for emergencies

Only read holds offline_access, so every other rung expires with its Keycloak session and needs a fresh device approval.

Bootstrapping the cluster

This repo has first class support for various levels of bootstrapping.

  1. Bootstrap (first time, no backups to restore from, airgapped landing zone pattern): src/infrastructure/runbooks/cold-boot-bootstrap.md
  2. Disaster recovery (cluster non-operational, backups available): src/infrastructure/runbooks/cold-boot-bootstrap.md (use custody bundle)
  3. Break-glass (cluster operational, root access for debugging/emergencies): aspect infra auth --persona=root --reason "<why>" # Audit logged, pages human

About

Guardian: the world needs your business to succeed. We're here to help.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages