work in progress. working on pod templatest.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
####################################################################################
|
||||
# LINKERD NETPOL TBD
|
||||
####################################################################################
|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
|
||||
{{- if not .Open }}
|
||||
---
|
||||
kind: NetworkPolicy
|
||||
apiVersion: networking.k8s.io/v1
|
||||
metadata:
|
||||
name: default-allow-nothing
|
||||
namespace: "{{.Name}}"
|
||||
spec:
|
||||
podSelector: {}
|
||||
policyTypes:
|
||||
- Ingress
|
||||
- Egress
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user