CLI
This repository contains CLI 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