Skip to content

feat(ingress): expose helm_release_name_override on nginx_gateway_fabric#343

Open
sanmesh-kakade wants to merge 3 commits intomainfrom
feat/helm-release-name-override
Open

feat(ingress): expose helm_release_name_override on nginx_gateway_fabric#343
sanmesh-kakade wants to merge 3 commits intomainfrom
feat/helm-release-name-override

Conversation

@sanmesh-kakade
Copy link
Copy Markdown
Contributor

Summary

  • Adds an advanced helm_release_name_override spec field to the four nginx_gateway_fabric modules (AWS, Azure, GCP, OVH). Lets users pin a stable Helm release name when the auto-derived 34-char-truncated default is undesirable (e.g. instance/namespace renames or names that collide post-truncation).
  • The field is consumed directly by the utility module via var.instance.spec (see facets-utility-modules#36); no main.tf passthrough needed here.

Why

Paired with the utility-module change, this gives end users the escape hatch to keep a Helm release name stable across renames or to dodge truncation collisions, without us having to hand-hold them through manual state moves.

Test plan

  • Existing module instances: leave helm_release_name_override unset → terraform plan shows no diff.
  • New instance with helm_release_name_override set in spec → release deploys with that name.
  • Pairs cleanly with utility-modules PR feat: Add alert_group module  #36 once that lands.

🤖 Generated with Claude Code

sanmesh-kakade and others added 3 commits May 8, 2026 11:34
Add a `helm_release_name_override` advanced spec field to the AWS, Azure,
GCP, and OVH nginx_gateway_fabric modules so users can pin a stable Helm
release name. The utility module reads this field directly from
var.instance.spec; no main.tf passthrough needed.

Empty/unset preserves the existing truncated-name behavior, so existing
deployments see no state diff.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Add JSON-schema pattern (DNS-1123 label) and maxLength: 34 on the
helm_release_name_override field across AWS/Azure/GCP/OVH modules.
Includes x-ui-error-message and placeholder so the UI surfaces a clear
error before submit. Pairs with the TF-side validation in
facets-utility-modules#36.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Add proxy_{connect,read,send}_timeout (default 60s) at the instance level and
per-rule nginx_timeouts overrides on all four nginx_gateway_fabric_* flavors
(aws, azure, gcp, ovh). Lower body_size default from 150m to 1m to match the
utility module change.

Required for workloads migrating off legacy nginx_ingress_controller, which
exposed these as per-ingress annotations.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants