File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -145,3 +145,40 @@ rules:
145145 - " Unknown"
146146 - " False"
147147 failed : []
148+ # http://github.com/prometheus-operator/prometheus-operator/blob/main/pkg/apis/monitoring/v1/types.go#L228
149+ - resourceGroup : " monitoring.coreos.com"
150+ resourceKind : " Prometheus"
151+ jsonPath : " $.status.conditions[?(@.type=='Available')].status"
152+ humanJsonPath : " status.conditions[type=Available].status"
153+ conditions :
154+ ready :
155+ - " True"
156+ progressing :
157+ - " Degraded"
158+ - " Unknown"
159+ - " False"
160+ failed : []
161+ - resourceGroup : " monitoring.coreos.com"
162+ resourceKind : " Alertmanager"
163+ jsonPath : " $.status.conditions[?(@.type=='Available')].status"
164+ humanJsonPath : " status.conditions[type=Available].status"
165+ conditions :
166+ ready :
167+ - " True"
168+ progressing :
169+ - " Degraded"
170+ - " Unknown"
171+ - " False"
172+ failed : []
173+ - resourceGroup : " monitoring.coreos.com"
174+ resourceKind : " ThanosRuler"
175+ jsonPath : " $.status.conditions[?(@.type=='Available')].status"
176+ humanJsonPath : " status.conditions[type=Available].status"
177+ conditions :
178+ ready :
179+ - " True"
180+ progressing :
181+ - " Degraded"
182+ - " Unknown"
183+ - " False"
184+ failed : []
You can’t perform that action at this time.
0 commit comments