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

Helm: fix egress-dicovery netpols #11838

Merged
merged 9 commits into from
Feb 12, 2024
1 change: 1 addition & 0 deletions production/helm/loki/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Entries should include a reference to the pull request that introduced the chang

## 5.42.2

- [BUGFIX] Added condition for `egress-discovery` networkPolicies and ciliumNetworkPolicies.
- [BUGFIX] Remove trailing tab character in statefulset templates

## 5.42.1
Expand Down
2 changes: 1 addition & 1 deletion production/helm/loki/templates/ciliumnetworkpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ spec:

{{- end }}

{{- if .Values.networkPolicy.discovery.port }}
{{- if and .Values.networkPolicy.discovery.port (eq .Values.networkPolicy.flavor "cilium") }}
---
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
Expand Down
2 changes: 1 addition & 1 deletion production/helm/loki/templates/networkpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ spec:

{{- end }}

{{- if .Values.networkPolicy.discovery.port }}
{{- if and .Values.networkPolicy.discovery.port (eq .Values.networkPolicy.flavor "kubernetes") }}
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
Expand Down
Loading