Skip to content

Feat: Add user-provided helm values for additional control plane service labels #3499

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 11, 2025

Conversation

michasHL
Copy link
Contributor

Proposed changes

Problem: As a user that uses prometheus for everything metrics, I would like to target the control plane service with a specific label.

Solution: Add the ability for users to provide additional service labels for the NGINX Gateway Fabric control plane service in the helm chart.

Testing: Local helm lint/install testing

Closes #3498

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

Release notes

If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.

All additional labels for the NGINX Gateway Fabric control plane service.

Copy link

nginx-bot bot commented Jun 11, 2025

Hi @michasHL! Welcome to the project! 🎉

Thanks for opening this pull request!
Be sure to check out our Contributing Guidelines while you wait for someone on the team to review this.

Copy link
Contributor

github-actions bot commented Jun 11, 2025

✅ All required contributors have signed the F5 CLA for this PR. Thank you!
Posted by the CLA Assistant Lite bot.

@github-actions github-actions bot added documentation Improvements or additions to documentation enhancement New feature or request helm-chart Relates to helm chart labels Jun 11, 2025
@michasHL
Copy link
Contributor Author

I have hereby read the F5 CLA and agree to its terms

…bels

Problem: As a user that uses prometheus for everything metrics, I would like to target the control plane service with a specific label.

Solution: Add the ability for users to provide additional service labels for the NGINX Gateway Fabric control plane service in the helm chart.

Testing: Used helm lint/install --dry-run to make sure the k8s resources are created correctly
@sjberman
Copy link
Collaborator

@michasHL Not sure exactly what's causing the pipeline failure, but try another run of make generate-all?

@sjberman
Copy link
Collaborator

Ah yeah, one field in the README was not generated correctly. Running that make command will fix it.

Problem: As a user that uses prometheus for everything metrics, I would like to target the control plane service with a specific label.

Solution: Add the ability for users to provide additional service labels for the NGINX Gateway Fabric control plane service in the helm chart.

Testing: Used helm lint/install --dry-run to make sure the k8s resources are created correctly
@michasHL
Copy link
Contributor Author

michasHL commented Jun 11, 2025

Ah yeah, one field in the README was not generated correctly. Running that make command will fix it.

Yeah I initially manually updated the file and missed that one.
Had some trouble getting the pre-commit hooks going on my machine, but should be all resolved now.

Thank you.

@sjberman sjberman enabled auto-merge (squash) June 11, 2025 20:29
@sjberman sjberman removed the enhancement New feature or request label Jun 11, 2025
@sjberman sjberman merged commit fbcb48d into nginx:main Jun 11, 2025
48 checks passed
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in NGINX Gateway Fabric Jun 11, 2025
salonichf5 pushed a commit that referenced this pull request Jun 11, 2025
…ice labels (#3499)

Problem: As a user that uses prometheus for everything metrics, I would like to target the control plane service with a specific label.

Solution: Add the ability for users to provide additional service labels for the NGINX Gateway Fabric control plane service in the helm chart.

Testing: Used helm lint/install --dry-run to make sure the k8s resources are created correctly
salonichf5 added a commit that referenced this pull request Jun 11, 2025
…ice labels #3499 (#3501)

Feat: Add user-provided helm values for additional control plane service labels (#3499)

Problem: As a user that uses prometheus for everything metrics, I would like to target the control plane service with a specific label.

Solution: Add the ability for users to provide additional service labels for the NGINX Gateway Fabric control plane service in the helm chart.

Testing: Used helm lint/install --dry-run to make sure the k8s resources are created correctly

Co-authored-by: Michael Kranz <[email protected]>
nowjean pushed a commit to nowjean/nginx-gateway-fabric that referenced this pull request Jun 14, 2025
…ice labels (nginx#3499)

Problem: As a user that uses prometheus for everything metrics, I would like to target the control plane service with a specific label.

Solution: Add the ability for users to provide additional service labels for the NGINX Gateway Fabric control plane service in the helm chart.

Testing: Used helm lint/install --dry-run to make sure the k8s resources are created correctly
nowjean pushed a commit to nowjean/nginx-gateway-fabric that referenced this pull request Jun 14, 2025
…ice labels (nginx#3499)

Problem: As a user that uses prometheus for everything metrics, I would like to target the control plane service with a specific label.

Solution: Add the ability for users to provide additional service labels for the NGINX Gateway Fabric control plane service in the helm chart.

Testing: Used helm lint/install --dry-run to make sure the k8s resources are created correctly
nowjean pushed a commit to nowjean/nginx-gateway-fabric that referenced this pull request Jun 14, 2025
…ice labels (nginx#3499)

Problem: As a user that uses prometheus for everything metrics, I would like to target the control plane service with a specific label.

Solution: Add the ability for users to provide additional service labels for the NGINX Gateway Fabric control plane service in the helm chart.

Testing: Used helm lint/install --dry-run to make sure the k8s resources are created correctly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community documentation Improvements or additions to documentation helm-chart Relates to helm chart release-notes
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Allow users to provide additional labels for the NGINX Gateway Fabric control plane service
3 participants