Installing DKubeX#

This guide installs DKubeX using the Helm chart.

Prerequisites#

Install Helm (Helm 3.x).

Install Helm#

macOS (Homebrew):

brew install helm

Linux:

curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

Verify Helm:

helm version

Tokens#

You need two GitHub PATs:

  1. GITHUB_TOKEN and dkubex.env.helm_token: the same fine-grained read-only token used to read the DKubeX Helm chart repository.

  2. registry.token: a GitHub PAT for registry access. The user must have access to the DKubeX repository on GitHub.

Export them:

export GITHUB_TOKEN="<finegrained_readonly_token_for_helm_repo>"
export REGISTRY_TOKEN="<github_pat_with_access_to_dkubex_repo>"

Install DKubeX#

helm repo add dkubeio \
	--username "${GITHUB_TOKEN}" \
	--password "${GITHUB_TOKEN}" \
	"https://raw.githubusercontent.com/dkubeio/helm-charts/main/"

helm repo update

helm install -n dkubex --create-namespace dkubex-installer dkubeio/dkubex-installer \
	--set registry.token="${REGISTRY_TOKEN}" \
	--set dkubex.env.helm_token="${GITHUB_TOKEN}"