Skip to content

Commit 3803975

Browse files
authored
fix(chart): Missing ports on network policies (#1210)
Signed-off-by: Javier Rodriguez <[email protected]>
1 parent 5aa5303 commit 3803975

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

deployment/chainloop/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: Chainloop is an open source software supply chain control plane, a
77

88
type: application
99
# Bump the patch (not minor, not major) version on each change in the Chart Source code
10-
version: 1.86.15
10+
version: 1.86.16
1111
# Do not update appVersion, this is handled automatically by the release process
1212
appVersion: v0.95.3
1313

deployment/chainloop/templates/cas/networkpolicy.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ spec:
3333
protocol: TCP
3434
# Allow outbound connections to other cluster pods
3535
- ports:
36-
- port: {{ .Values.controlplane.containerPorts.http }}
37-
- port: {{ .Values.controlplane.containerPorts.grpc }}
38-
- port: {{ .Values.controlplane.containerPorts.metrics }}
36+
- port: {{ .Values.cas.containerPorts.http }}
37+
- port: {{ .Values.cas.containerPorts.grpc }}
38+
- port: {{ .Values.cas.containerPorts.metrics }}
3939
to:
4040
- podSelector:
4141
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 14 }}
@@ -46,6 +46,8 @@ spec:
4646
ingress:
4747
- ports:
4848
- port: {{ .Values.cas.containerPorts.http }}
49+
- port: {{ .Values.cas.containerPorts.grpc }}
50+
- port: {{ .Values.cas.containerPorts.metrics }}
4951
{{- if not .Values.cas.networkPolicy.allowExternal }}
5052
from:
5153
- podSelector:

deployment/chainloop/templates/controlplane/networkpolicy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ spec:
3434
# Allow outbound connections to other cluster pods
3535
- ports:
3636
- port: {{ .Values.controlplane.containerPorts.http }}
37+
- port: {{ .Values.controlplane.containerPorts.grpc }}
38+
- port: {{ .Values.controlplane.containerPorts.metrics }}
3739
to:
3840
- podSelector:
3941
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 14 }}

0 commit comments

Comments
 (0)