79397482

Date: 2025-01-29 16:42:56
Score: 1
Natty:
Report link

Thanks to a Redditor, this is solved:

https://www.reddit.com/r/k3s/comments/1icg32i/make_traefik_listen_on_8443_and_8080_instead_of/

  1. The yaml indentation was misaligned; too many spaces on some lines (not a cut-n-paste error). I copied someone else's work and didn't check it (note to self).

  2. The 'expose' entries aren't needed and made traefik unhappy.

This worked:

apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
  name: traefik
  namespace: kube-system
spec:
  valuesContent: |-
    ports:
      web:
        port: 8088
        exposedPort: 8088
      websecure:
        port: 8443
        exposedPort: 8443
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: bchill