now also supporting linkerd
and some cleanup
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{{- if not .app.Namespace.Open }}
|
||||
---
|
||||
kind: CiliumNetworkPolicy
|
||||
apiVersion: cilium.io/v2
|
||||
@@ -24,3 +25,4 @@ spec:
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
|
||||
{{- end }}
|
||||
@@ -1,4 +1,3 @@
|
||||
---
|
||||
{{- define "ports" }}
|
||||
{{- range $port := . }}
|
||||
- port: {{ $port.Port }}
|
||||
@@ -36,6 +35,7 @@
|
||||
{{- end }}
|
||||
|
||||
{{- if not .app.Namespace.Open }}
|
||||
---
|
||||
kind: NetworkPolicy
|
||||
apiVersion: networking.k8s.io/v1
|
||||
metadata:
|
||||
|
||||
Reference in New Issue
Block a user