Skip to content

fixing api docs errors #94478

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ Required::

| `allowedUnsafeSysctls`
| ``
| AllowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.
Examples: e.g. "foo/*" allows "foo/bar", "foo/baz", etc. e.g. "foo.*" allows "foo.bar", "foo.baz", etc.
| AllowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "\*" in which case it is considered as a prefix of allowed sysctls. Single \* means all unsafe sysctls are allowed. Kubelet has to whitelist all allowed unsafe sysctls explicitly to avoid rejection.
Examples: e.g. "foo/\*" allows "foo/bar", "foo/baz", etc. e.g. "foo.\*" allows "foo.bar", "foo.baz", etc.

| `apiVersion`
| `string`
Expand All @@ -89,7 +89,7 @@ Required::

| `forbiddenSysctls`
| ``
| ForbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "*" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.
| ForbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in "\*" in which case it is considered as a prefix of forbidden sysctls. Single \* means all sysctls are forbidden.
Examples: e.g. "foo/*" forbids "foo/bar", "foo/baz", etc. e.g. "foo.*" forbids "foo.bar", "foo.baz", etc.

| `fsGroup`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Required::
| TagReferencePolicy describes how pull-specs for images in this image stream tag are generated when image change triggers in deployment configs or builds are resolved. This allows the image stream author to control how images are accessed.

| `to`
| xref:../objects/index.adoc#io-k8s-api-core-v1-LocalObjectReference_v2[`LocalObjectReference_v2`]
| `LocalObjectReference_v2`
| To is a tag in the current image stream to assign the imported image to, if name is not specified the default tag from from.name will be used

|===
Expand Down Expand Up @@ -2524,7 +2524,7 @@ Description::
| Parameter | Type | Description
| `body`
| xref:../image_apis/imagestreamimport-image-openshift-io-v1.adoc#imagestreamimport-image-openshift-io-v1[`ImageStreamImport`] schema
|
|
|===

.HTTP responses
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ Cannot be set at the same time as `authorization`, or `basicAuth`.

| `params{}`
| `array (string)`
|
|

| `path`
| `string`
Expand Down Expand Up @@ -401,7 +401,7 @@ metadata labels.

The Operator automatically adds relabelings for a few standard Kubernetes fields.

The original scrape job's name is available via the `__tmp_prometheus_job_name` label.
The original scrape job's name is available via the `\__tmp_prometheus_job_name` label.

More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config

Expand Down Expand Up @@ -800,7 +800,7 @@ It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.

| `proxyConnectHeader{}`
| `array`
|
|

| `proxyConnectHeader{}[]`
| `object`
Expand Down Expand Up @@ -1336,7 +1336,7 @@ metadata labels.

The Operator automatically adds relabelings for a few standard Kubernetes fields.

The original scrape job's name is available via the `__tmp_prometheus_job_name` label.
The original scrape job's name is available via the `\__tmp_prometheus_job_name` label.

More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
--
Expand Down Expand Up @@ -1886,7 +1886,7 @@ Description::
| Parameter | Type | Description
| `body`
| xref:../monitoring_apis/podmonitor-monitoring-coreos-com-v1.adoc#podmonitor-monitoring-coreos-com-v1[`PodMonitor`] schema
|
|
|===

.HTTP responses
Expand Down Expand Up @@ -2019,7 +2019,7 @@ Description::
| Parameter | Type | Description
| `body`
| xref:../monitoring_apis/podmonitor-monitoring-coreos-com-v1.adoc#podmonitor-monitoring-coreos-com-v1[`PodMonitor`] schema
|
|
|===

.HTTP responses
Expand Down
14 changes: 7 additions & 7 deletions rest_api/monitoring_apis/probe-monitoring-coreos-com-v1.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.

| `proxyConnectHeader{}`
| `array`
|
|

| `proxyConnectHeader{}[]`
| `object`
Expand Down Expand Up @@ -1150,9 +1150,9 @@ Type::
| RelabelConfigs to apply to the label set of the target before it gets
scraped.
The original ingress address is available via the
`__tmp_prometheus_ingress_address` label. It can be used to customize the
`\__tmp_prometheus_ingress_address` label. It can be used to customize the
probed URL.
The original scrape job's name is available via the `__tmp_prometheus_job_name` label.
The original scrape job's name is available via the `\__tmp_prometheus_job_name` label.
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config

| `relabelingConfigs[]`
Expand Down Expand Up @@ -1201,9 +1201,9 @@ Description::
RelabelConfigs to apply to the label set of the target before it gets
scraped.
The original ingress address is available via the
`__tmp_prometheus_ingress_address` label. It can be used to customize the
`\__tmp_prometheus_ingress_address` label. It can be used to customize the
probed URL.
The original scrape job's name is available via the `__tmp_prometheus_job_name` label.
The original scrape job's name is available via the `\__tmp_prometheus_job_name` label.
More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
--

Expand Down Expand Up @@ -1875,7 +1875,7 @@ Description::
| Parameter | Type | Description
| `body`
| xref:../monitoring_apis/probe-monitoring-coreos-com-v1.adoc#probe-monitoring-coreos-com-v1[`Probe`] schema
|
|
|===

.HTTP responses
Expand Down Expand Up @@ -2008,7 +2008,7 @@ Description::
| Parameter | Type | Description
| `body`
| xref:../monitoring_apis/probe-monitoring-coreos-com-v1.adoc#probe-monitoring-coreos-com-v1[`Probe`] schema
|
|
|===

.HTTP responses
Expand Down
32 changes: 16 additions & 16 deletions rest_api/monitoring_apis/prometheus-monitoring-coreos-com-v1.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ in a breaking way.

| `scrapeClasses[]`
| `object`
|
|

| `scrapeConfigNamespaceSelector`
| `object`
Expand Down Expand Up @@ -989,7 +989,7 @@ ServiceMonitor and ScrapeConfig resources.
* The `__param_target__` label for Probe resources.

Users can define their own sharding implementation by setting the
`__tmp_hash` label during the target discovery with relabeling
`\__tmp_hash` label during the target discovery with relabeling
configuration (either in the monitoring resources or via scrape class).

| `storage`
Expand Down Expand Up @@ -1027,7 +1027,7 @@ the triple <key,value,effect> using the matching operator <operator>.

| `topologySpreadConstraints[]`
| `object`
|
|

| `tracingConfig`
| `object`
Expand Down Expand Up @@ -3108,7 +3108,7 @@ It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.

| `proxyConnectHeader{}`
| `array`
|
|

| `proxyConnectHeader{}[]`
| `object`
Expand Down Expand Up @@ -4526,7 +4526,7 @@ Type::

| `deny`
| `boolean`
|
|

|===
=== .spec.containers
Expand Down Expand Up @@ -10372,7 +10372,7 @@ It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.

| `proxyConnectHeader{}`
| `array`
|
|

| `proxyConnectHeader{}[]`
| `object`
Expand Down Expand Up @@ -10646,7 +10646,7 @@ It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.

| `proxyConnectHeader{}`
| `array`
|
|

| `proxyConnectHeader{}[]`
| `object`
Expand Down Expand Up @@ -11655,7 +11655,7 @@ It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.

| `proxyConnectHeader{}`
| `array`
|
|

| `proxyConnectHeader{}[]`
| `object`
Expand Down Expand Up @@ -12168,7 +12168,7 @@ It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.

| `proxyConnectHeader{}`
| `array`
|
|

| `proxyConnectHeader{}[]`
| `object`
Expand Down Expand Up @@ -13739,7 +13739,7 @@ More info: https://prometheus.io/docs/prometheus/latest/configuration/configurat
| Relabelings configures the relabeling rules to apply to all scrape targets.

The Operator automatically adds relabelings for a few standard Kubernetes fields
like `__meta_kubernetes_namespace` and `__meta_kubernetes_service_name`.
like `\__meta_kubernetes_namespace` and `\__meta_kubernetes_service_name`.
Then the Operator adds the scrape class relabelings defined here.
Then the Operator adds the target-specific relabelings defined in the scrape object.

Expand Down Expand Up @@ -13952,7 +13952,7 @@ Description::
Relabelings configures the relabeling rules to apply to all scrape targets.

The Operator automatically adds relabelings for a few standard Kubernetes fields
like `__meta_kubernetes_namespace` and `__meta_kubernetes_service_name`.
like `\__meta_kubernetes_namespace` and `\__meta_kubernetes_service_name`.
Then the Operator adds the scrape class relabelings defined here.
Then the Operator adds the target-specific relabelings defined in the scrape object.

Expand Down Expand Up @@ -21397,7 +21397,7 @@ being performed. Only delete actions will be performed.

| `shardStatuses[]`
| `object`
|
|

| `shards`
| `integer`
Expand Down Expand Up @@ -21651,7 +21651,7 @@ Description::
| Parameter | Type | Description
| `body`
| xref:../monitoring_apis/prometheus-monitoring-coreos-com-v1.adoc#prometheus-monitoring-coreos-com-v1[`Prometheus`] schema
|
|
|===

.HTTP responses
Expand Down Expand Up @@ -21784,7 +21784,7 @@ Description::
| Parameter | Type | Description
| `body`
| xref:../monitoring_apis/prometheus-monitoring-coreos-com-v1.adoc#prometheus-monitoring-coreos-com-v1[`Prometheus`] schema
|
|
|===

.HTTP responses
Expand Down Expand Up @@ -21886,7 +21886,7 @@ Description::
| Parameter | Type | Description
| `body`
| xref:../autoscale_apis/scale-autoscaling-v1.adoc#scale-autoscaling-v1[`Scale`] schema
|
|
|===

.HTTP responses
Expand Down Expand Up @@ -21988,7 +21988,7 @@ Description::
| Parameter | Type | Description
| `body`
| xref:../monitoring_apis/prometheus-monitoring-coreos-com-v1.adoc#prometheus-monitoring-coreos-com-v1[`Prometheus`] schema
|
|
|===

.HTTP responses
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ Cannot be set at the same time as `authorization`, or `basicAuth`.

| `params{}`
| `array (string)`
|
|

| `path`
| `string`
Expand All @@ -387,7 +387,7 @@ metadata labels.

The Operator automatically adds relabelings for a few standard Kubernetes fields.

The original scrape job's name is available via the `__tmp_prometheus_job_name` label.
The original scrape job's name is available via the `\__tmp_prometheus_job_name` label.

More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config

Expand Down Expand Up @@ -784,7 +784,7 @@ It requires Prometheus >= v2.43.0 or Alertmanager >= 0.25.0.

| `proxyConnectHeader{}`
| `array`
|
|

| `proxyConnectHeader{}[]`
| `object`
Expand Down Expand Up @@ -1320,7 +1320,7 @@ metadata labels.

The Operator automatically adds relabelings for a few standard Kubernetes fields.

The original scrape job's name is available via the `__tmp_prometheus_job_name` label.
The original scrape job's name is available via the `\__tmp_prometheus_job_name` label.

More info: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
--
Expand Down Expand Up @@ -1910,7 +1910,7 @@ Description::
| Parameter | Type | Description
| `body`
| xref:../monitoring_apis/servicemonitor-monitoring-coreos-com-v1.adoc#servicemonitor-monitoring-coreos-com-v1[`ServiceMonitor`] schema
|
|
|===

.HTTP responses
Expand Down Expand Up @@ -2043,7 +2043,7 @@ Description::
| Parameter | Type | Description
| `body`
| xref:../monitoring_apis/servicemonitor-monitoring-coreos-com-v1.adoc#servicemonitor-monitoring-coreos-com-v1[`ServiceMonitor`] schema
|
|
|===

.HTTP responses
Expand Down
Loading