Skip to content

fix: traefik values in rancher - #28

Merged
vthwang merged 2 commits into
mainfrom
fix/traefik-values-in-rancher
Aug 17, 2026
Merged

fix: traefik values in rancher#28
vthwang merged 2 commits into
mainfrom
fix/traefik-values-in-rancher

Conversation

@vthwang

@vthwang vthwang commented Aug 17, 2026

Copy link
Copy Markdown
Member

No description provided.

Every fpp cluster is Rancher-managed, and Rancher owns the HelmChartConfig
object (objectset.rio.cattle.io/owner-name: managed-chart-config). Applying it
with kubectl holds until the next sync or upgrade and is then reverted, which
is the same thing that kept wiping ingress-nginx's default-ssl-certificate.
The values belong in the cluster's rkeConfig.chartValues; the manifest stays
for clusters Rancher does not manage.

Trimmed to what is not already a chart default. Only the redirect and
isDefaultClass were doing anything — the providers block and the websecure TLS
flag matched the chart's own values, and websecure TLS is kept explicit only
because its silent absence takes down HTTPS everywhere.

Also worth knowing when verifying: a values change re-runs the helm-install job
whether or not it changes anything, so a completed job proves nothing. dev has
the proof — the job re-ran while the pod stayed older than it, because the
mistyped paths rendered identical args. Read the rendered args instead.

Signed-off-by: vthwang <vthwang.work@gmail.com>
The block now carries a sibling entry so it is obvious the map is added to
rather than replaced, and says plainly that the chart ships no values schema —
a misspelled or misplaced key is accepted, emits no argument, and reads as a
working config.

Also completes the hand-applied ClusterRole further down, which was missing
traefik.io/middlewares and cert-manager.io/certificates. It is the list a
manually built cluster copies, so without them Middlewares and custom-domain
certificates fail there while the Helm-deployed chart works.

Signed-off-by: vthwang <vthwang.work@gmail.com>
@vthwang vthwang self-assigned this Aug 17, 2026
@vthwang vthwang added the bug Something isn't working label Aug 17, 2026
@vthwang
vthwang merged commit 5f37f67 into main Aug 17, 2026
1 check passed
@vthwang
vthwang deleted the fix/traefik-values-in-rancher branch August 17, 2026 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant