Skip to content
Closed
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
2 changes: 1 addition & 1 deletion docs/examples/src/charts/charts.k
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ charts: helm.Charts = {
crdPaths = ["**/crds/crds/*.yaml"]
repoURL = "https://prometheus-community.github.io/helm-charts"
schemaGenerator = "AUTO"
targetRevision = "86.2.2"
targetRevision = "89.2.3"
}
simple_chart: {
chart = "simple-chart"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1641,7 +1641,7 @@ schema MonitoringCoreosComV1AlertmanagerSpecAlertmanagerConfigurationGlobalHTTPC

check:
_regex_match(str(proxyUrl), r"^(http|https|socks5)://.+$") if proxyUrl
len(tokenUrl) >= 1
_regex_match(str(tokenUrl), r"^(http|https)://.+$")

schema MonitoringCoreosComV1AlertmanagerSpecAlertmanagerConfigurationGlobalHTTPConfigOauth2ClientID:
r"""
Expand Down Expand Up @@ -4253,7 +4253,6 @@ schema MonitoringCoreosComV1AlertmanagerSpecContainersItems0SecurityContext:
procMount denotes the type of proc mount to use for the containers.
The default value is Default which uses the container runtime defaults for
readonly paths and masked paths.
This requires the ProcMountType feature flag to be enabled.
Note that this field cannot be set when spec.os.name is windows.
readOnlyRootFilesystem : bool, default is Undefined, optional
Whether this container has a read-only root filesystem.
Expand Down Expand Up @@ -5814,7 +5813,6 @@ schema MonitoringCoreosComV1AlertmanagerSpecInitContainersItems0SecurityContext:
procMount denotes the type of proc mount to use for the containers.
The default value is Default which uses the container runtime defaults for
readonly paths and masked paths.
This requires the ProcMountType feature flag to be enabled.
Note that this field cannot be set when spec.os.name is windows.
readOnlyRootFilesystem : bool, default is Undefined, optional
Whether this container has a read-only root filesystem.
Expand Down Expand Up @@ -8506,7 +8504,7 @@ schema MonitoringCoreosComV1AlertmanagerSpecVolumesItems0Image:
A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message.
The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field.
The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images.
The volume will be mounted read-only (ro) and non-executable files (noexec).
The volume will be mounted read-only (ro).
Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33.
The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.

Expand Down Expand Up @@ -8661,8 +8659,7 @@ schema MonitoringCoreosComV1AlertmanagerSpecVolumesItems0PortworxVolume:
r"""
portworxVolume represents a portworx volume attached and mounted on kubelets host machine.
Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type
are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate
is on.
are redirected to the pxd.portworx.com CSI driver.

Attributes
----------
Expand Down Expand Up @@ -9451,6 +9448,10 @@ schema MonitoringCoreosComV1AlertmanagerSpecWeb:
timeout?: int
tlsConfig?: MonitoringCoreosComV1AlertmanagerSpecWebTLSConfig

check:
getConcurrency >= 0 if getConcurrency not in [None, Undefined]
timeout >= 0 if timeout not in [None, Undefined]

schema MonitoringCoreosComV1AlertmanagerSpecWebHTTPConfig:
r"""
httpConfig defines HTTP parameters for web server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,15 @@ schema MonitoringCoreosComV1PodMonitorSpec:

check:
_regex_match(str(bodySizeLimit), r"(^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$") if bodySizeLimit
keepDroppedTargets >= 0 if keepDroppedTargets not in [None, Undefined]
labelLimit >= 0 if labelLimit not in [None, Undefined]
labelNameLengthLimit >= 0 if labelNameLengthLimit not in [None, Undefined]
labelValueLengthLimit >= 0 if labelValueLengthLimit not in [None, Undefined]
nativeHistogramBucketLimit >= 0 if nativeHistogramBucketLimit not in [None, Undefined]
_regex_match(str(nativeHistogramMinBucketFactor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if nativeHistogramMinBucketFactor
sampleLimit >= 0 if sampleLimit not in [None, Undefined]
len(scrapeClass) >= 1 if scrapeClass
targetLimit >= 0 if targetLimit not in [None, Undefined]

schema MonitoringCoreosComV1PodMonitorSpecAttachMetadata:
r"""
Expand All @@ -181,6 +188,10 @@ schema MonitoringCoreosComV1PodMonitorSpecAttachMetadata:

The Prometheus service account must have the `list` and `watch`
permissions on the `Nodes` objects.

Node metadata labels are not automatically added to scraped metrics. They are
exposed as `__meta_kubernetes_node_*` labels and can be copied to timeseries
with relabeling configuration.
"""
node?: bool

Expand Down Expand Up @@ -535,6 +546,9 @@ schema MonitoringCoreosComV1PodMonitorSpecPodMetricsEndpointsItems0MetricRelabel
sourceLabels?: [str]
targetLabel?: str

check:
modulus >= 0 if modulus not in [None, Undefined]

schema MonitoringCoreosComV1PodMonitorSpecPodMetricsEndpointsItems0Oauth2:
r"""
oauth2 defines the OAuth2 settings used by the client.
Expand Down Expand Up @@ -591,7 +605,7 @@ schema MonitoringCoreosComV1PodMonitorSpecPodMetricsEndpointsItems0Oauth2:

check:
_regex_match(str(proxyUrl), r"^(http|https|socks5)://.+$") if proxyUrl
len(tokenUrl) >= 1
_regex_match(str(tokenUrl), r"^(http|https)://.+$")

schema MonitoringCoreosComV1PodMonitorSpecPodMetricsEndpointsItems0Oauth2ClientID:
r"""
Expand Down Expand Up @@ -940,6 +954,9 @@ schema MonitoringCoreosComV1PodMonitorSpecPodMetricsEndpointsItems0RelabelingsIt
sourceLabels?: [str]
targetLabel?: str

check:
modulus >= 0 if modulus not in [None, Undefined]

schema MonitoringCoreosComV1PodMonitorSpecPodMetricsEndpointsItems0TLSConfig:
r"""
tlsConfig defines the TLS configuration used by the client.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,17 @@ schema MonitoringCoreosComV1ProbeSpec:

check:
_regex_match(str(interval), r"^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$") if interval
keepDroppedTargets >= 0 if keepDroppedTargets not in [None, Undefined]
labelLimit >= 0 if labelLimit not in [None, Undefined]
labelNameLengthLimit >= 0 if labelNameLengthLimit not in [None, Undefined]
labelValueLengthLimit >= 0 if labelValueLengthLimit not in [None, Undefined]
nativeHistogramBucketLimit >= 0 if nativeHistogramBucketLimit not in [None, Undefined]
_regex_match(str(nativeHistogramMinBucketFactor), r"^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$") if nativeHistogramMinBucketFactor
len(params) >= 1 if params
sampleLimit >= 0 if sampleLimit not in [None, Undefined]
len(scrapeClass) >= 1 if scrapeClass
_regex_match(str(scrapeTimeout), r"^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$") if scrapeTimeout
targetLimit >= 0 if targetLimit not in [None, Undefined]

schema MonitoringCoreosComV1ProbeSpecAuthorization:
r"""
Expand Down Expand Up @@ -356,6 +363,9 @@ schema MonitoringCoreosComV1ProbeSpecMetricRelabelingsItems0:
sourceLabels?: [str]
targetLabel?: str

check:
modulus >= 0 if modulus not in [None, Undefined]

schema MonitoringCoreosComV1ProbeSpecOauth2:
r"""
oauth2 defines the OAuth2 settings used by the client.
Expand Down Expand Up @@ -412,7 +422,7 @@ schema MonitoringCoreosComV1ProbeSpecOauth2:

check:
_regex_match(str(proxyUrl), r"^(http|https|socks5)://.+$") if proxyUrl
len(tokenUrl) >= 1
_regex_match(str(tokenUrl), r"^(http|https)://.+$")

schema MonitoringCoreosComV1ProbeSpecOauth2ClientID:
r"""
Expand Down Expand Up @@ -1054,6 +1064,9 @@ schema MonitoringCoreosComV1ProbeSpecTargetsIngressRelabelingConfigsItems0:
sourceLabels?: [str]
targetLabel?: str

check:
modulus >= 0 if modulus not in [None, Undefined]

schema MonitoringCoreosComV1ProbeSpecTargetsIngressSelector:
r"""
selector to select the Ingress objects.
Expand Down Expand Up @@ -1165,6 +1178,9 @@ schema MonitoringCoreosComV1ProbeSpecTargetsStaticConfigRelabelingConfigsItems0:
sourceLabels?: [str]
targetLabel?: str

check:
modulus >= 0 if modulus not in [None, Undefined]

schema MonitoringCoreosComV1ProbeStatus:
r"""
status defines the status subresource. It is under active development and is updated only when the
Expand Down
Loading
Loading