30 lines
843 B
YAML
30 lines
843 B
YAML
|
|
apiVersion: cilium.io/v2
|
||
|
|
kind: CiliumNetworkPolicy
|
||
|
|
metadata:
|
||
|
|
name: stalwart-controller-continuous
|
||
|
|
namespace: stalwart
|
||
|
|
spec:
|
||
|
|
endpointSelector:
|
||
|
|
matchLabels:
|
||
|
|
app.kubernetes.io/name: stalwart-controller
|
||
|
|
app.kubernetes.io/instance: stalwart
|
||
|
|
egress:
|
||
|
|
- toEndpoints:
|
||
|
|
- matchLabels:
|
||
|
|
k8s:io.kubernetes.pod.namespace: stalwart
|
||
|
|
app.kubernetes.io/name: stalwart
|
||
|
|
app.kubernetes.io/instance: stalwart
|
||
|
|
toPorts:
|
||
|
|
- ports:
|
||
|
|
- port: "8080"
|
||
|
|
protocol: TCP
|
||
|
|
- toEndpoints:
|
||
|
|
- matchLabels:
|
||
|
|
k8s:io.kubernetes.pod.namespace: vault
|
||
|
|
app.kubernetes.io/name: vault
|
||
|
|
app.kubernetes.io/instance: vault
|
||
|
|
component: server
|
||
|
|
toPorts:
|
||
|
|
- ports:
|
||
|
|
- port: "8200"
|
||
|
|
protocol: TCP
|