Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(helm/ai-gateway): render service nodePort with an explicit if guard - #27682

Merged
pawbana merged 1 commit into
mainfrom
pawel/standalone-gateway-heml-chart-nodePort-fix
Jul 30, 2026
Merged

fix(helm/ai-gateway): render service nodePort with an explicit if guard#27682
pawbana merged 1 commit into
mainfrom
pawel/standalone-gateway-heml-chart-nodePort-fix

Conversation

@pawbana

@pawbana pawbana commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Coder Agents generated this commit

Replace the with block around the Service nodePort field with an if guard that references .Values.service.nodePort directly. The with form rebinds the dot inside the block, so a later addition that needs .Values or .Release there would break.

Extend the default_values fixture to enable ingress and httproute with only the values each one requires, so the golden file covers every template with the minimum viable configuration.

Add a mustNotContain list to the render test cases. Golden files are rewritten wholesale by TestUpdateGoldenFiles, so these assertions pin optional fields and resources that each fixture leaves unset, including the Service nodePort.

Replace the with block around the Service nodePort field with an if guard
that references .Values.service.nodePort directly. The with form rebinds
the dot inside the block, so a later addition that needs .Values or
.Release there would break.

Extend the default_values fixture to enable ingress and httproute with
only the values each one requires, so the golden file covers every
template with the minimum viable configuration.

Add a mustNotContain list to the render test cases. Golden files are
rewritten wholesale by TestUpdateGoldenFiles, so these assertions pin
optional fields and resources that each fixture leaves unset, including
the Service nodePort.
@pawbana
pawbana merged commit e819dd4 into main Jul 30, 2026
50 of 51 checks passed
@pawbana
pawbana deleted the pawel/standalone-gateway-heml-chart-nodePort-fix branch July 30, 2026 12:47
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants