Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Latest commit

 

History

History
27 lines (22 loc) · 829 Bytes

EXAMPLES.md

File metadata and controls

27 lines (22 loc) · 829 Bytes

Deploy Hub Agent on a different namespace

export HUB_TOKEN=XXXXX
helm upgrade --install hub-agent traefik/hub-agent \
  --namespace hub --create-namespace
  --set token="${HUB_TOKEN}"

Deploy Hub Agent with IngressClass and debug Log Level

export INGRESS_CLASS_NAME=my-ingress-class
export HUB_TOKEN=XXXXX
helm upgrade --install hub-agent traefik/hub-agent \
  --set controllerDeployment.args="{--log-level=debug,--ingress-class-name=${INGRESS_CLASS_NAME}}"
  --set token="${HUB_TOKEN}"

Generate YAML to manage with a GitOps tool

You will need to create a Secret hub-token with a valid token

helm template traefik-hub --namespace hub-agent \
  --set tokenSecretRef.name=hub-token --set tokenSecretRef.key=token \
  --set withoutHelmLabels=true --include-crds traefik/hub-agent