@@ -47,6 +47,38 @@ tests:
4747 initialDelaySeconds : 90
4848 periodSeconds : 3
4949 template : templates/daemonset.yaml
50+ - it : " [DaemonSet] Readiness Probe (agent == dev)"
51+ set :
52+ image :
53+ tag : dev
54+ asserts :
55+ - equal :
56+ path : spec.template.spec.containers[0].readinessProbe
57+ value :
58+ exec :
59+ command :
60+ - test
61+ - -e
62+ - /opt/draios/logs/running
63+ initialDelaySeconds : 90
64+ periodSeconds : 3
65+ template : templates/daemonset.yaml
66+ - it : " [DaemonSet] Readiness Probe (agent == latest)"
67+ set :
68+ image :
69+ tag : latest
70+ asserts :
71+ - equal :
72+ path : spec.template.spec.containers[0].readinessProbe
73+ value :
74+ exec :
75+ command :
76+ - test
77+ - -e
78+ - /opt/draios/logs/running
79+ initialDelaySeconds : 90
80+ periodSeconds : 3
81+ template : templates/daemonset.yaml
5082 - it : " [DelegatedAgentDeployment] Readiness Probe (agent > 12.18.0)"
5183 set :
5284 delegatedAgentDeployment :
@@ -94,6 +126,40 @@ tests:
94126 - /opt/draios/logs/running
95127 initialDelaySeconds : 90
96128 periodSeconds : 3
129+ - it : " [DelegatedAgentDeployment] Readiness Probe (agent == dev)"
130+ set :
131+ delegatedAgentDeployment :
132+ enabled : true
133+ image :
134+ tag : dev
135+ asserts :
136+ - equal :
137+ path : spec.template.spec.containers[0].readinessProbe
138+ value :
139+ exec :
140+ command :
141+ - test
142+ - -e
143+ - /opt/draios/logs/running
144+ initialDelaySeconds : 90
145+ periodSeconds : 3
146+ - it : " [DelegatedAgentDeployment] Readiness Probe (agent == latest)"
147+ set :
148+ delegatedAgentDeployment :
149+ enabled : true
150+ image :
151+ tag : latest
152+ asserts :
153+ - equal :
154+ path : spec.template.spec.containers[0].readinessProbe
155+ value :
156+ exec :
157+ command :
158+ - test
159+ - -e
160+ - /opt/draios/logs/running
161+ initialDelaySeconds : 90
162+ periodSeconds : 3
97163 - it : Test setting probe delays
98164 set :
99165 daemonset :
0 commit comments