Skip to content

fix(helm): Allow metrics networkpolicy only from namespace - #17555

Merged
Jayclifford345 merged 2 commits into
grafana:mainfrom
jplitza:patch-1
Jul 8, 2025
Merged

fix(helm): Allow metrics networkpolicy only from namespace#17555
Jayclifford345 merged 2 commits into
grafana:mainfrom
jplitza:patch-1

Conversation

@jplitza

@jplitza jplitza commented May 2, 2025

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
Previously, setting .Values.networkPolicy.metrics.cidrs to a non-empty list was required to include the configured .Values.networkPolicy.metrics.namespaceSelector

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Documentation added
  • Tests updated
  • Title matches the required conventional commits format, see here
    • Note that Promtail is considered to be feature complete, and future development for logs collection will be in Grafana Alloy. As such, feat PRs are unlikely to be accepted unless a case can be made for the feature actually being a bug fix to existing behavior.
  • Changes that require user attention or interaction to upgrade are documented in docs/sources/setup/upgrade/_index.md
  • If the change is deprecating or removing a configuration option, update the deprecated-config.yaml and deleted-config.yaml files respectively in the tools/deprecated-config-checker directory. Example PR
Previously, setting .Values.networkPolicy.metrics.cidrs to a non-empty list was required to include the configured .Values.networkPolicy.metrics.namespaceSelector

Signed-off-by: Jan-Philipp Litza <jplitza@users.noreply.github.com>
@jplitza
jplitza requested a review from a team as a code owner May 2, 2025 14:42
@CLAassistant

CLAassistant commented May 2, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@jkroepke

Copy link
Copy Markdown
Contributor

LGTM

@Jayclifford345
Jayclifford345 merged commit 3a9b8e8 into grafana:main Jul 8, 2025
felix0102 pushed a commit to felix0102/loki that referenced this pull request Aug 2, 2026
…7555)

Signed-off-by: Jan-Philipp Litza <jplitza@users.noreply.github.com>
Co-authored-by: J Stickler <julie.stickler@grafana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment