CLI:Canasta gitops join

From canasta

canasta > gitops > join

canasta gitops join

Join an existing gitops repository

Synopsis

Join an existing gitops repository for a Canasta installation.

Clones the repo, unlocks git-crypt with the provided key, adds this host to the host inventory, extracts host-specific values into vars.yaml, and pushes the new host entry back to the repo.

The installation must already exist and have a working .env file. Use "canasta gitops init" to bootstrap a new gitops repository instead.

canasta gitops join [flags]

Flags

Flag Shorthand Description Default Required
--help -h help for join
--key Path to the git-crypt key file
--name -n Name for this host in hosts.yaml
--repo Git repository URL
--role Host role: source, sink, or both both
--id -i Canasta instance ID instance associated with current directory
--verbose -v Verbose output