NetworkPolicy
This commit is contained in:
@@ -8,7 +8,6 @@ spec:
|
||||
podSelector:
|
||||
matchLabels:
|
||||
app: memelord-raiko-redis
|
||||
app.kubernetes.io/name: dragonfly
|
||||
policyTypes:
|
||||
- Ingress
|
||||
ingress:
|
||||
@@ -16,7 +15,7 @@ spec:
|
||||
- from:
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
app: memelord
|
||||
app: memelord-raiko
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 6379
|
||||
@@ -29,7 +28,6 @@ spec:
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 6379
|
||||
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
|
||||
Reference in New Issue
Block a user