exiting with an error when a capability cannot be found.

This commit is contained in:
erik committed 2025-01-03 20:40:28 +01:00
1 parent 852833764c
commit 144a624985
2 files changed
+25 -1

No files matched your search

@@ -0,0 +1,23 @@
{{- if not .Open }}
apiVersion: networking.k8s.io/v1
metadata:
name: allow-monitoring
namespace: {{.Name}}
spec:
podSelector:
matchLabels: {}
policyTypes:
- Ingress
ingress:
- from:
- podSelector:
matchLabels:
app.kubernetes.io/name: prometheus
namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: monitoring
ports:
- port: prometheus
{{- end }}