Skip to content

Commit d3c8bf6

Browse files
allow sending messages to gotify
1 parent f101983 commit d3c8bf6

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

apps/hermes/networkpolicy.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ spec:
1414
port: "hermes"
1515
from: []
1616
- ports:
17-
- protocol: "TCP"
18-
port: "metrics"
17+
- protocol: TCP
18+
port: metrics
1919
from:
2020
- namespaceSelector:
2121
matchLabels:
@@ -34,6 +34,14 @@ spec:
3434
protocol: TCP
3535
- port: 25
3636
protocol: TCP
37+
- to:
38+
- namespaceSelector:
39+
matchLabels:
40+
name: "gotify"
41+
podSelector: {}
42+
ports:
43+
- port: 8080 # original port of gotify
44+
protocol: TCP
3745
- to:
3846
- namespaceSelector:
3947
matchLabels:

0 commit comments

Comments
 (0)