Skip to content

Commit

Permalink
Add metrics port to allow ingress traffic in the netpols (bitnami-lab…
Browse files Browse the repository at this point in the history
…s#1473)

**Description of the change**

Include metrics port to allow ingress traffics when the network policies
are enabled.

**Benefits**

Allow metrics traffic

<!-- Enter any applicable Issues here (You can reference an issue using
#) -->
- fixes bitnami-labs#1469

Signed-off-by: Alvaro Neira Ayuso <[email protected]>
  • Loading branch information
alvneiayu authored Feb 29, 2024
1 parent b47834d commit 269c66f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helm/sealed-secrets/templates/networkpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spec:
ingress:
- ports:
- port: {{ .Values.service.port }}
- port: {{ .Values.metrics.service.port }}
{{- if .Values.networkPolicy.egress.enabled }}
egress:
- to:
Expand Down

0 comments on commit 269c66f

Please sign in to comment.