CLI
Audio overview
Automating platform maintenance
Find focused CLI jobs and choose the right execution environment.
AI-generated voices · 1:14 · Adapted from this article
Chapters
Playback highlights and scrolls to the current section when topics change, not every detail. Continue below for setup and limitations.
The CLI repository contains tools for performing specific automations.
vault-to-hub-migration: Migrating data from a Vault database to a Hub database.generate-default-labels: Adding labels to existing users.check-indexes: Check for and add missing indexes compared to recommended versions.
Run
You can run these jobs in your cluster. The benefit is that you do not need to expose anything, and use the internal Kubernetes DNS.
For example:
kubectl apply -f jobs/vault-to-hub-migration-job.yamlInstallation and contributing
Clone the repository:
git clone https://github.com/uug-ai/cli.git cd cliInstall dependencies:
go mod tidyRun example. This will execute the
vault-to-hub-migrationaction. Please have a look at the various options you can provide for each action.go run main.go -action vault-to-hub-migration \ ...options