Skip to content

Commit c82e407

Browse files
authored
Update api.md
Reference Prometheus operator Api spec, the pod/service monitorSelector nil will matches no objects.
1 parent dfa7dcb commit c82e407

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/api.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -28344,7 +28344,7 @@ All CR instances which the ServiceAccount has access to will be retrieved. This
2834428344
PodMonitors to be selected for target discovery.
2834528345
This is a map of {key,value} pairs. Each {key,value} in the map is going to exactly match a label in a
2834628346
PodMonitor's meta labels. The requirements are ANDed.
28347-
Empty or nil map matches all pod monitors.<br/>
28347+
Empty map matches all pod monitors, nil selector matches no objects.<br/>
2834828348
</td>
2834928349
<td>false</td>
2835028350
</tr><tr>
@@ -28366,7 +28366,7 @@ Default: "30s"<br/>
2836628366
ServiceMonitors to be selected for target discovery.
2836728367
This is a map of {key,value} pairs. Each {key,value} in the map is going to exactly match a label in a
2836828368
ServiceMonitor's meta labels. The requirements are ANDed.
28369-
Empty or nil map matches all service monitors.<br/>
28369+
Empty map matches all service monitors, nil selector matches no objects.<br/>
2837028370
</td>
2837128371
<td>false</td>
2837228372
</tr></tbody>
@@ -54000,4 +54000,4 @@ Deployment, Daemonset, StatefulSet.<br/>
5400054000
</td>
5400154001
<td>false</td>
5400254002
</tr></tbody>
54003-
</table>
54003+
</table>

0 commit comments

Comments
 (0)