forked from juice-shop/multi-juicer
-
-
Notifications
You must be signed in to change notification settings - Fork 15
small steps for the nsps #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or 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
apiVersion: v1
items:
- apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
creationTimestamp: "2022-09-19T20:57:26Z"
generation: 1
name: default-deny-all
namespace: t-aaa
resourceVersion: "2417"
uid: 1e6f07ee-9414-43e6-8c13-2d447281bc76
spec:
podSelector: {}
policyTypes:
- Ingress
- Egress
status: {}
- apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
creationTimestamp: "2022-09-19T20:57:26Z"
generation: 1
name: deny-all-egress-excpet-dns
namespace: t-aaa
resourceVersion: "2421"
uid: 6e066ce9-0147-4aa5-b5d9-7d6add674eff
spec:
egress:
- ports:
- port: 53
protocol: UDP
- port: 53
protocol: TCP
podSelector:
matchLabels:
app: wrongsecrets-no-vault
policyTypes:
- Egress
status: {}
- apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
creationTimestamp: "2022-09-19T20:57:26Z"
generation: 1
name: deny-traffic-from-other-namespaces
namespace: t-aaa
resourceVersion: "2419"
uid: bc2fbd4d-6586-47bb-91f0-239cd7004f76
spec:
ingress:
- from:
- podSelector: {}
podSelector: {}
policyTypes:
- Ingress
status: {}
- apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
creationTimestamp: "2022-09-19T20:58:22Z"
generation: 1
name: default-deny-all
namespace: t-target
resourceVersion: "2614"
uid: 69150884-8fda-43d0-b98b-38a8ff78c815
spec:
podSelector: {}
policyTypes:
- Ingress
- Egress
status: {}
- apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
creationTimestamp: "2022-09-19T20:58:22Z"
generation: 1
name: deny-all-egress-excpet-dns
namespace: t-target
resourceVersion: "2620"
uid: a3245db8-80ed-46a1-be9f-b32ab05a66e2
spec:
egress:
- ports:
- port: 53
protocol: UDP
- port: 53
protocol: TCP
podSelector:
matchLabels:
app: wrongsecrets-no-vault
policyTypes:
- Egress
status: {}
- apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
creationTimestamp: "2022-09-19T20:58:22Z"
generation: 1
name: deny-traffic-from-other-namespaces
namespace: t-target
resourceVersion: "2618"
uid: 3ed1692c-6c13-4833-8604-b04d0de7210e
spec:
ingress:
- from:
- podSelector: {}
podSelector: {}
policyTypes:
- Ingress
status: {}
kind: List
metadata:
resourceVersion: "" |
Fixed NSP for the namespace access stuff
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.