now also supporting linkerd

and some cleanup
This commit is contained in:
2025-01-02 19:30:31 +01:00
parent c522f16d64
commit 01700876cf
4 changed files with 41 additions and 7 deletions
@@ -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 -1
View File
@@ -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: