Skip to content
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

Chart: Add controller.metrics.service.enabled. #12056

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

LeMyst
Copy link
Contributor

@LeMyst LeMyst commented Sep 30, 2024

What this PR does / why we need it:

Add support to disable the controller metrics service, because sometimes we don't need to have the service exposed cluster-wide, like you have a local agent on the node (like datadog agent)
So a new values in created: controller.metrics.service.enabled.
Allow to have the same behaviour as before chart v4.10.0 and #10959
So you can have metrics enabled on nginx but no service created.
Default is to have the service created if the controller metrics part is enabled, so there is no regression.
Updated the test to reflect the changes.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • CVE Report (Scanner found CVE and adding report)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation only

Which issue/s this PR fixes

No Issue created.

How Has This Been Tested?

Modified the chart on my non-production environement and confirm we got the same behaviour as before chart 4.10.0.

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have added unit and/or e2e tests to cover my changes.
  • All new and existing tests passed.

Copy link

linux-foundation-easycla bot commented Sep 30, 2024

CLA Signed


The committers listed above are authorized under a signed CLA.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. label Sep 30, 2024
@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Sep 30, 2024
@k8s-ci-robot k8s-ci-robot added the area/helm Issues or PRs related to helm charts label Sep 30, 2024
@k8s-ci-robot
Copy link
Contributor

Welcome @LeMyst!

It looks like this is your first PR to kubernetes/ingress-nginx 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/ingress-nginx has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. needs-priority labels Sep 30, 2024
@k8s-ci-robot
Copy link
Contributor

Hi @LeMyst. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Sep 30, 2024
Copy link

netlify bot commented Sep 30, 2024

Deploy Preview for kubernetes-ingress-nginx canceled.

Name Link
🔨 Latest commit ced332b
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-ingress-nginx/deploys/66faca7a5face10008fa4c9f

@Gacko
Copy link
Member

Gacko commented Sep 30, 2024

/retitle Chart: Add controller.metrics.service.enabled.
/triage accepted
/kind feature
/priority backlog
/assign
/hold

Basically looks fine, gonna have another look and leave some suggestions later.

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 30, 2024
@k8s-ci-robot k8s-ci-robot changed the title Add support to disable controller metrics service Chart: Add controller.metrics.service.enabled. Sep 30, 2024
@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. kind/feature Categorizes issue or PR as related to a new feature. priority/backlog Higher priority than priority/awaiting-more-evidence. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-priority labels Sep 30, 2024
@Gacko
Copy link
Member

Gacko commented Sep 30, 2024

Done. We can merge as soon as you signed the CLA.

@Gacko
Copy link
Member

Gacko commented Sep 30, 2024

/ok-to-test
/lgtm

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Sep 30, 2024
@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Sep 30, 2024
@LeMyst
Copy link
Contributor Author

LeMyst commented Sep 30, 2024

Done. We can merge as soon as you signed the CLA.

Hello @Gacko ,
I am trying to find out how the personal data provided when signing the CLA is managed, do you know where I can read them?
Because I am wondering who can have access to the data provided.

Thank you,

BR

@Gacko
Copy link
Member

Gacko commented Sep 30, 2024

Hello @LeMyst,

unfortunately I don't know this. Have you checked the Privacy Policy of the Linux Foundation?

@strongjz @rikatz @cpanato Do you happen to know something about this?

Regards
Marco

@strongjz
Copy link
Member

No, but here are the directions, and you can read more in the docusign before signing it.

https://docs.linuxfoundation.org/lfx/easycla/v2-current/contributors/individual-contributor

@strongjz
Copy link
Member

Here's the privacy policy https://www.linuxfoundation.org/legal/privacy-policy

@strongjz
Copy link
Member

@LeMyst
Copy link
Contributor Author

LeMyst commented Sep 30, 2024

Here's the privacy policy https://www.linuxfoundation.org/legal/privacy-policy

More specific about the EasyCLA process:
https://www.linuxfoundation.org/legal/lfx-privacy-policy-addendum "LFX EasyCLA" section

Thank you and @Gacko

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Sep 30, 2024
Copy link
Member

@Gacko Gacko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/unhold

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 1, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Gacko, LeMyst

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit f3bfa56 into kubernetes:main Oct 1, 2024
32 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/helm Issues or PRs related to helm charts cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. priority/backlog Higher priority than priority/awaiting-more-evidence. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants