now also supporting linkerd

and some cleanup
This commit is contained in:
erik committed 2025-01-02 19:30:31 +01:00
1 parent c522f16d64
commit 01700876cf
4 files changed
+41 -7

No files matched your search

@@ -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: