api: document jitter effect on interval fields

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
This commit is contained in:
Hidde Beydals 2023-08-03 09:55:18 +02:00
parent 6f3eb22613
commit e391c2fb88
No known key found for this signature in database
GPG Key ID: 979F380FC2341744
12 changed files with 60 additions and 21 deletions

View File

@ -55,7 +55,9 @@ type GitRepositorySpec struct {
// +optional
SecretRef *meta.LocalObjectReference `json:"secretRef,omitempty"`
// Interval at which to check the GitRepository for updates.
// Interval at which the GitRepository URL is checked for updates.
// This interval is approximate and may be subject to jitter to ensure
// efficient use of resources.
// +kubebuilder:validation:Type=string
// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
// +required

View File

@ -78,7 +78,9 @@ type BucketSpec struct {
// +optional
SecretRef *meta.LocalObjectReference `json:"secretRef,omitempty"`
// Interval at which to check the Endpoint for updates.
// Interval at which the Bucket Endpoint is checked for updates.
// This interval is approximate and may be subject to jitter to ensure
// efficient use of resources.
// +kubebuilder:validation:Type=string
// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
// +required

View File

@ -46,7 +46,9 @@ type HelmChartSpec struct {
// +required
SourceRef LocalHelmChartSourceReference `json:"sourceRef"`
// Interval is the interval at which to check the Source for updates.
// Interval at which the HelmChart SourceRef is checked for updates.
// This interval is approximate and may be subject to jitter to ensure
// efficient use of resources.
// +kubebuilder:validation:Type=string
// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
// +required

View File

@ -72,7 +72,9 @@ type HelmRepositorySpec struct {
// +optional
PassCredentials bool `json:"passCredentials,omitempty"`
// Interval at which to check the URL for updates.
// Interval at which the HelmRepository URL is checked for updates.
// This interval is approximate and may be subject to jitter to ensure
// efficient use of resources.
// +kubebuilder:validation:Type=string
// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
// +required

View File

@ -111,7 +111,9 @@ type OCIRepositorySpec struct {
// +optional
CertSecretRef *meta.LocalObjectReference `json:"certSecretRef,omitempty"`
// The interval at which to check for image updates.
// Interval at which the OCIRepository URL is checked for updates.
// This interval is approximate and may be subject to jitter to ensure
// efficient use of resources.
// +kubebuilder:validation:Type=string
// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
// +required

View File

@ -326,7 +326,9 @@ spec:
description: Insecure allows connecting to a non-TLS HTTP Endpoint.
type: boolean
interval:
description: Interval at which to check the Endpoint for updates.
description: Interval at which the Bucket Endpoint is checked for
updates. This interval is approximate and may be subject to jitter
to ensure efficient use of resources.
pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
type: string
provider:

View File

@ -87,7 +87,9 @@ spec:
type: object
type: array
interval:
description: Interval at which to check the GitRepository for updates.
description: Interval at which the GitRepository URL is checked for
updates. This interval is approximate and may be subject to jitter
to ensure efficient use of resources.
pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
type: string
proxySecretRef:

View File

@ -346,8 +346,9 @@ spec:
at in the SourceRef.
type: string
interval:
description: Interval is the interval at which to check the Source
for updates.
description: Interval at which the HelmChart SourceRef is checked
for updates. This interval is approximate and may be subject to
jitter to ensure efficient use of resources.
pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
type: string
reconcileStrategy:

View File

@ -309,7 +309,9 @@ spec:
- name
type: object
interval:
description: Interval at which to check the URL for updates.
description: Interval at which the HelmRepository URL is checked for
updates. This interval is approximate and may be subject to jitter
to ensure efficient use of resources.
pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
type: string
passCredentials:

View File

@ -75,7 +75,9 @@ spec:
registry.
type: boolean
interval:
description: The interval at which to check for image updates.
description: Interval at which the OCIRepository URL is checked for
updates. This interval is approximate and may be subject to jitter
to ensure efficient use of resources.
pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
type: string
layerSelector:

View File

@ -108,7 +108,9 @@ Kubernetes meta/v1.Duration
</em>
</td>
<td>
<p>Interval at which to check the GitRepository for updates.</p>
<p>Interval at which the GitRepository URL is checked for updates.
This interval is approximate and may be subject to jitter to ensure
efficient use of resources.</p>
</td>
</tr>
<tr>
@ -559,7 +561,9 @@ Kubernetes meta/v1.Duration
</em>
</td>
<td>
<p>Interval at which to check the GitRepository for updates.</p>
<p>Interval at which the GitRepository URL is checked for updates.
This interval is approximate and may be subject to jitter to ensure
efficient use of resources.</p>
</td>
</tr>
<tr>

View File

@ -161,7 +161,9 @@ Kubernetes meta/v1.Duration
</em>
</td>
<td>
<p>Interval at which to check the Endpoint for updates.</p>
<p>Interval at which the Bucket Endpoint is checked for updates.
This interval is approximate and may be subject to jitter to ensure
efficient use of resources.</p>
</td>
</tr>
<tr>
@ -593,7 +595,9 @@ Kubernetes meta/v1.Duration
</em>
</td>
<td>
<p>Interval is the interval at which to check the Source for updates.</p>
<p>Interval at which the HelmChart SourceRef is checked for updates.
This interval is approximate and may be subject to jitter to ensure
efficient use of resources.</p>
</td>
</tr>
<tr>
@ -840,7 +844,9 @@ Kubernetes meta/v1.Duration
</em>
</td>
<td>
<p>Interval at which to check the URL for updates.</p>
<p>Interval at which the HelmRepository URL is checked for updates.
This interval is approximate and may be subject to jitter to ensure
efficient use of resources.</p>
</td>
</tr>
<tr>
@ -1126,7 +1132,9 @@ Kubernetes meta/v1.Duration
</em>
</td>
<td>
<p>The interval at which to check for image updates.</p>
<p>Interval at which the OCIRepository URL is checked for updates.
This interval is approximate and may be subject to jitter to ensure
efficient use of resources.</p>
</td>
</tr>
<tr>
@ -1424,7 +1432,9 @@ Kubernetes meta/v1.Duration
</em>
</td>
<td>
<p>Interval at which to check the Endpoint for updates.</p>
<p>Interval at which the Bucket Endpoint is checked for updates.
This interval is approximate and may be subject to jitter to ensure
efficient use of resources.</p>
</td>
</tr>
<tr>
@ -2214,7 +2224,9 @@ Kubernetes meta/v1.Duration
</em>
</td>
<td>
<p>Interval is the interval at which to check the Source for updates.</p>
<p>Interval at which the HelmChart SourceRef is checked for updates.
This interval is approximate and may be subject to jitter to ensure
efficient use of resources.</p>
</td>
</tr>
<tr>
@ -2524,7 +2536,9 @@ Kubernetes meta/v1.Duration
</em>
</td>
<td>
<p>Interval at which to check the URL for updates.</p>
<p>Interval at which the HelmRepository URL is checked for updates.
This interval is approximate and may be subject to jitter to ensure
efficient use of resources.</p>
</td>
</tr>
<tr>
@ -3013,7 +3027,9 @@ Kubernetes meta/v1.Duration
</em>
</td>
<td>
<p>The interval at which to check for image updates.</p>
<p>Interval at which the OCIRepository URL is checked for updates.
This interval is approximate and may be subject to jitter to ensure
efficient use of resources.</p>
</td>
</tr>
<tr>