k8s/004-traefik/install.sh

15 lines
307 B
Bash
Executable file

#!/bin/bash
CHART_VERSION=10.24.0
helm repo add traefik https://helm.traefik.io/traefik
helm repo update
helm upgrade --install \
traefik \
traefik/traefik \
-f values.yaml \
-n traefik \
--version ${CHART_VERSION} \
--create-namespace \
--cleanup-on-fail
kubectl apply -f dashboard.yaml -n traefik