Skip to content
Snippets Groups Projects
Commit d674d832 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6716 add helm test for monitoring rule

parent 51571d11
Branches
Tags
1 merge request!1Ozg 6716 add service_monitor
......@@ -100,6 +100,22 @@ tests:
protocol: UDP
- port: 5353
protocol: TCP
- it: should set rule for monitoring
set:
networkPolicy:
dnsServerNamespace: test-dns-namespace
monitoringNamespace: test-monitoring
asserts:
- contains:
path: spec.ingress
content:
from:
- namespaceSelector:
matchLabels:
name: test-monitoring
ports:
- port: 8081
protocol: TCP
- it: add ingress rule by values local
set:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment