harness-delegate-ng

by Harness

Helm chartv1.0.34App 26.10.90313Verified publisher

A Helm chart for deploying harness-delegate

About this chart

Harness Delegate

Harness Delegate is a service you run in your local network or VPC to connect your artifact servers, infrastructure, collaboration, and verification providers with the Harness Manager.

Introduction

This chart creates a Harness Delegate deployment on a Kubernetes cluster using the Helm package manager.

Installing the Chart

To add Harness helm repo with name harness-delegate:

This chart is only compatible with helm version >= 3.2

$ helm repo add harness-delegate https://app.harness.io/storage/harness-download/delegate-helm-chart

Note: Older helm chart repo: https://app.harness.io/storage/harness-download/harness-helm-charts is DEPRECATED and receives no further update, please use the new repo mentioned above.

The chart requires some account specific information. To install harness delegate using helm chart go to delegates page in harness UI and click on install delegate using helm chart. Follow on screen instructions to install harness-delegate using helm.

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm uninstall my-release

Useful commands

Get pod names:

kubectl get pods -n <namespace>

See startup logs:

kubectl logs <pod-name> -n <namespace> -f

Run a shell in a pod:

kubectl exec <pod-name> -n <namespace> -it -- bash

Deploy harness-delegate-ng with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has harness-delegate-ng on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartharness-delegate-ng is pinned at v1.0.34 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply