Skip to content

Commit 22ea373

Browse files
pgodowskiPiotr GodowskiDaniel-Fan
authored
Usage Metering Service Ingress Network Policy (#2566)
* Add clarification about ingress vs egress network policies https://github.ibm.com/IBMPrivateCloud/roadmap/issues/66645 * Usage Metering Service Network Policy Signed-off-by: Piotr Godowski <piotr.godowski@ibm.com> * Moved NetworkPolicy file location into the proper subfolder --------- Signed-off-by: Piotr Godowski <piotr.godowski@ibm.com> Co-authored-by: Piotr Godowski <Piotr.Godowski@pl.ibm.com> Co-authored-by: Daniel Fan <fanyuchensx@gmail.com>
1 parent e9166e0 commit 22ea373

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
kind: NetworkPolicy
2+
apiVersion: networking.k8s.io/v1
3+
metadata:
4+
name: access-to-ibm-usage-metering-instance
5+
namespace: "csNamespace"
6+
labels:
7+
component: cpfs3
8+
spec:
9+
podSelector:
10+
matchLabels:
11+
app.kubernetes.io/component: ibm-usage-metering-instance
12+
ingress:
13+
- ports:
14+
- protocol: TCP
15+
port: 8080
16+
- protocol: TCP
17+
port: 8081
18+
policyTypes:
19+
- Ingress

0 commit comments

Comments
 (0)