helm repo add traefik https://traefik.github.io/charts
helm repo update
helm template traefik traefik/traefik > traefik.yaml

curl https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml > traefik-crd.yaml

curl https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/content/reference/dynamic-configuration/kubernetes-crd-rbac.yml > traefik-rbac.yaml


kubectl apply -f traefik-crd.yaml
kubectl apply -f traefik-rbac.yaml
kubectl apply -f traefik.yaml
