Skip to content

Commit

Permalink
Kontena Lens: add missing redis network policy (#1298)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakolehm committed Apr 16, 2019
1 parent 15b7257 commit f26c781
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: redis
namespace: kontena-lens
spec:
podSelector:
matchLabels:
app: redis
policyTypes:
- Ingress
ingress:
- from:
- podSelector: {} # matches to all pods within kontena-lens namespace
ports:
- port: 6379
protocol: TCP

0 comments on commit f26c781

Please sign in to comment.