forked from k-space/kube
19 lines
368 B
YAML
19 lines
368 B
YAML
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: NetworkPolicy
|
|
metadata:
|
|
name: mysql-operator
|
|
spec:
|
|
podSelector: {}
|
|
policyTypes:
|
|
- Egress
|
|
egress:
|
|
- # TODO: Not sure why mysql-operator needs to be able to connect
|
|
to:
|
|
- namespaceSelector: {}
|
|
ports:
|
|
- protocol: TCP
|
|
port: 33060
|
|
- protocol: TCP
|
|
port: 3306
|