fix(helm): Fix wrong port name referenced for ingress NetworkPolicy
What this PR does / why we need it:
As described in issue #12906, the NetworkPolicy for ingress references wrong port name (http instead of current http-metrics), therefore if network policies are enabled, ingress traffic is dropped.
Which issue(s) this PR fixes: Fixes #12906
Checklist
- [x] Reviewed the
CONTRIBUTING.mdguide (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,
featPRs are unlikely to be accepted unless a case can be made for the feature actually being a bug fix to existing behavior.
- Note that Promtail is considered to be feature complete, and future development for logs collection will be in Grafana Alloy. As such,
- [ ] Changes that require user attention or interaction to upgrade are documented in
docs/sources/setup/upgrade/_index.md - [ ] For Helm chart changes bump the Helm chart version in
production/helm/loki/Chart.yamland updateproduction/helm/loki/CHANGELOG.mdandproduction/helm/loki/README.md. Example PR - [ ] If the change is deprecating or removing a configuration option, update the
deprecated-config.yamlanddeleted-config.yamlfiles respectively in thetools/deprecated-config-checkerdirectory. Example PR
This is an easy fix to the broken NetworkPolicies for Loki (still applies to recent Loki chart 6.12.0), esp. if I already provide a PR. I'm just wondering what's wrong, what can I do more to have this issue fixed. Any communication would be appreciated. Thank you.
Kubernetes Manifest Diff Summary
Scenario: default-single-binary-values (Added: 0, Modified: 0, Removed: 0)
Summary:
-
Added: 0
-
Modified: 0
-
Removed: 0
Added Files
No added files
Modified Files
No modified files
Removed Files
No removed files
Scenario: default-values (Added: 0, Modified: 0, Removed: 0)
Summary:
-
Added: 0
-
Modified: 0
-
Removed: 0
Added Files
No added files
Modified Files
No modified files
Removed Files
No removed files
Scenario: ingress-values (Added: 0, Modified: 0, Removed: 0)
Summary:
-
Added: 0
-
Modified: 0
-
Removed: 0
Added Files
No added files
Modified Files
No modified files
Removed Files
No removed files
Scenario: legacy-monitoring-values (Added: 0, Modified: 0, Removed: 0)
Summary:
-
Added: 0
-
Modified: 0
-
Removed: 0
Added Files
No added files
Modified Files
No modified files
Removed Files
No removed files
Scenario: simple-scalable-aws-kube-irsa-values (Added: 0, Modified: 0, Removed: 0)
Summary:
-
Added: 0
-
Modified: 0
-
Removed: 0
Added Files
No added files
Modified Files
No modified files
Removed Files
No removed files
Still an issue (chart 6.18.0, Loki 3.2.0).