k3s-io / docs

k3s Documentation
http://docs.k3s.io
17 stars 129 forks source link

Example Traefik chart config is out of date #218

Closed brandond closed 9 months ago

brandond commented 10 months ago

When creating the traefik-config.yaml in /var/lib/rancher/k3s/server/manifests/traefik-config.yaml

kind: HelmChartConfig
metadata:
  name: traefik
  namespace: kube-system
spec:
  valuesContent: |-
    image:
      name: traefik
      tag: v2.8.5
    forwardedHeaders:
      enabled: true
      trustedIPs:
        - 10.0.0.0/8
    ssl:
      enabled: true
      permanentRedirect: false

official guide needs to be updated as I get an image pull error and back off.

There must be an overlooked step that is missing from that guide.

Originally posted by @gavan1 in https://github.com/k3s-io/k3s/issues/1313#issuecomment-1848362432

brandond commented 10 months ago

Note that you can always find the correct values structure at https://github.com/k3s-io/k3s-charts/tree/main/charts/traefik

brandond commented 9 months ago

cc @dereknola

The example valuesContent in the docs no longer fits the values used by the chart.