Usage

CLI Tool

  1. (OPTIONAL) Create and activate a Python virtual environment to isolate project dependencies from the system’s global libraries.

python3 -m venv .venv
. ./.venv/bin/activate
  1. Install the package using:

pip install uptainer
  1. Download the latest config sample from Github

wget "https://raw.githubusercontent.com/asbarbati/uptainer/refs/heads/develop/config.sample.yaml"
  1. Edit the config based your scenarios follow the configuration guide.

  2. Export the environment variable named “GITHUB_API_TOKEN” (How to create the tokens)

export GITHUB_API_TOKEN="ghp_...."
  1. Run it using:

uptainer --config-file <path of your config yml>
  1. Verify the results on the logs.

Helm Chart

  1. Adding Helm repository

helm repo add asbarbati-helm https://asbarbati.github.io/helm-charts/
  1. Download the latest package using

helm fetch asbarbati-helm/uptainer
  1. De-compress the package

tar xfz uptainer-<VERSION>.tgz
  1. Create a secret with the SSH private key.

kubectl create secret generic uptainer-sshkey --from-file=ssh-privatekey=/path/to/.ssh/id_rsa
  1. Adding the reference in the values.yaml file like

- name: sshkey
  secret:
    secretName: uptainer-sshkey
  1. Edit the values for your scenarios.

  2. Install it

helm install uptainer asbarbati-helm/uptainer -f values.yaml