Skip to content

Commit

Permalink
fix: enable triples generator and event log to call themselves
Browse files Browse the repository at this point in the history
  • Loading branch information
olevski committed Nov 20, 2024
1 parent 62065a4 commit a7c6156
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions helm-chart/renku/templates/network-policies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,12 @@ spec:
matchLabels:
app: {{ template "renku.graph.commitEventService.name" . }}
release: {{ .Release.Name }}
- podSelector:
matchLabels:
# The event log calls itself via a k8s service so if it is not allowed in the
# network policy like this then those requests fail.
app: {{ template "renku.graph.eventLog.name" . }}
release: {{ .Release.Name }}
ports:
- protocol: TCP
port: http-event-log
Expand Down Expand Up @@ -872,6 +878,12 @@ spec:
matchLabels:
app: {{ template "renku.graph.knowledgeGraph.name" . }}
release: {{ .Release.Name }}
- podSelector:
matchLabels:
# The triples generator calls itself via a k8s service so if it is not allowed in the
# network policy like this then those requests fail.
app: {{ template "renku.graph.triplesGenerator.name" . }}
release: {{ .Release.Name }}
ports:
- protocol: TCP
port: http-triples-gn

0 comments on commit a7c6156

Please sign in to comment.