17 lines
320 B
YAML
17 lines
320 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: 3306
|