Skip to content
Snippets Groups Projects
Commit 6054e79b authored by remche's avatar remche
Browse files

add networkpolicy

parent 782843e0
No related branches found
No related tags found
No related merge requests found
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: mariadb
spec:
podSelector:
matchLabels:
app: mariadb
policyTypes:
- Ingress
ingress:
- from:
- podSelector:
matchLabels:
app: vapormap
ports:
- protocol: TCP
port: 3306
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment