fmt.Fprintln(stderr,"felis mirror-build-tools: no registry credential: set FELIS_REGISTRY_PASSWORD or run as root on the node (REGISTRY_PLATFORM_TOKEN in /etc/felis/secrets.env)")
archiveDir:=fs.String("archive-dir","","host directory of the world archive volume (default: resolved from the backup PVC through the cluster)")
backupPVC:=fs.String("backup-pvc","felis-backups",`the world archive PVC, in the [k8s] namespace ("" when backups are off)`)
dbDir:=fs.String("db-dir",dbbackup.DefaultDir,`database bundle directory ("" copies no bundles)`)
registry:=fs.String("registry","",`host[:port] of the registry whose user images are copied (default: the in-cluster registry's loopback hostPort; "off" copies none)`)
statusFile:=fs.String("status-file",offsite.DefaultStatusFile,"where the result of this run is recorded for the watchdog and `status`")
return"","",errors.New("no registry credential: set FELIS_REGISTRY_PASSWORD or run as root on the node (REGISTRY_PLATFORM_TOKEN in /etc/felis/secrets.env)")
cfgPath:=fs.String("config","/etc/felis/felis.toml","path to felis.toml (the host copy)")
envFile:=fs.String("env-file",defaultOffsiteEnvFile,"file with the [offsite] secrets, for variables not already set")
registry:=fs.String("registry","","host[:port] of the registry to push into (default: the loopback hostPort of the in-cluster registry)")
secrets:=fs.String("secrets-env","/etc/felis/secrets.env","installer secrets file holding REGISTRY_PLATFORM_TOKEN, read when FELIS_REGISTRY_PASSWORD is unset")
at:=fs.String("at","","registry index version to restore (default: the newest; `felis offsite list` shows them)")
Changes for cmd/felis/run.go: 1 added line, 1 removed line.
Original line number
Diff line number
Diff line
@@ -13,7 +13,7 @@ Usage:
Commands:
migrate up Apply embedded database migrations under an advisory lock (snapshots the database first)
db Back up, verify, list and restore the control-plane database (backup|restore|verify|list|check)
offsite Copy world archives and database bundles to an off-site bucket, and fetch them back (sync|status|list|fetch-db|fetch-worlds|keygen)
offsite Copy world archives, database bundles and user images to an off-site bucket, and fetch them back (sync|status|list|fetch-db|fetch-worlds|fetch-images|keygen)
operator Run the MinecraftServer controller-manager
api Run the felis-api HTTP server
nano Run the Felis-nano hasJoined multiplexer (multi-Yggdrasil, no control plane)