Skip to content

CLI

This repository contains CLI tools for performing specific automations.

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.yaml

Installation and contributing

  1. Clone the repository:

    git clone https://github.com/uug-ai/cli.git
    cd cli
  2. Install dependencies:

    go mod tidy
  3. Run example. This will execute the vault-to-hub-migration action. Please have a look at the various options you can provide for each action.

    go run main.go -action vault-to-hub-migration \
                   ...options