Skip to content
Snippets Groups Projects
Verified Commit e657266c authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(goharbor): Add networkpolicy to project

parent 8fee47ae
Branches
Tags 38.85.2
No related merge requests found
......@@ -5,3 +5,4 @@ resources:
- namespace.yaml
- repository.yaml
- release.yaml
- networkpolicy.yaml
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-ingress
spec:
podSelector:
matchLabels:
app: harbor
ingress:
- from:
- namespaceSelector:
matchLabels:
ingress.shivering-isles.com/network-access-required: "true"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment