Created
January 3, 2020 02:46
-
-
Save AymenSegni/f9c5902fa54e043c37018f72ce7c5111 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: NetworkPolicy | |
apiVersion: networking.k8s.io/v1 | |
metadata: | |
name: backend-policy | |
namespace: development | |
spec: | |
podSelector: | |
matchLabels: | |
app: webapp | |
role: backend | |
ingress: | |
- from: | |
- namespaceSelector: | |
matchLabels: | |
purpose: development | |
podSelector: | |
matchLabels: | |
app: webapp | |
role: frontend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment