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 // +optional
SecretRef *meta.LocalObjectReference `json:"secretRef,omitempty"` 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:Type=string
// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" // +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
// +required // +required

View File

@ -78,7 +78,9 @@ type BucketSpec struct {
// +optional // +optional
SecretRef *meta.LocalObjectReference `json:"secretRef,omitempty"` 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:Type=string
// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" // +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
// +required // +required

View File

@ -46,7 +46,9 @@ type HelmChartSpec struct {
// +required // +required
SourceRef LocalHelmChartSourceReference `json:"sourceRef"` 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:Type=string
// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" // +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
// +required // +required

View File

@ -72,7 +72,9 @@ type HelmRepositorySpec struct {
// +optional // +optional
PassCredentials bool `json:"passCredentials,omitempty"` 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:Type=string
// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" // +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
// +required // +required

View File

@ -111,7 +111,9 @@ type OCIRepositorySpec struct {
// +optional // +optional
CertSecretRef *meta.LocalObjectReference `json:"certSecretRef,omitempty"` 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:Type=string
// +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$" // +kubebuilder:validation:Pattern="^([0-9]+(\\.[0-9]+)?(ms|s|m|h))+$"
// +required // +required

View File

@ -326,7 +326,9 @@ spec:
description: Insecure allows connecting to a non-TLS HTTP Endpoint. description: Insecure allows connecting to a non-TLS HTTP Endpoint.
type: boolean type: boolean
interval: 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))+$ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
type: string type: string
provider: provider:

View File

@ -87,7 +87,9 @@ spec:
type: object type: object
type: array type: array
interval: 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))+$ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
type: string type: string
proxySecretRef: proxySecretRef:

View File

@ -346,8 +346,9 @@ spec:
at in the SourceRef. at in the SourceRef.
type: string type: string
interval: interval:
description: Interval is the interval at which to check the Source description: Interval at which the HelmChart SourceRef is checked
for updates. 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))+$ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
type: string type: string
reconcileStrategy: reconcileStrategy:

View File

@ -309,7 +309,9 @@ spec:
- name - name
type: object type: object
interval: 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))+$ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
type: string type: string
passCredentials: passCredentials:

View File

@ -75,7 +75,9 @@ spec:
registry. registry.
type: boolean type: boolean
interval: 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))+$ pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
type: string type: string
layerSelector: layerSelector:

View File

@ -108,7 +108,9 @@ Kubernetes meta/v1.Duration
</em> </em>
</td> </td>
<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> </td>
</tr> </tr>
<tr> <tr>
@ -559,7 +561,9 @@ Kubernetes meta/v1.Duration
</em> </em>
</td> </td>
<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> </td>
</tr> </tr>
<tr> <tr>

View File

@ -161,7 +161,9 @@ Kubernetes meta/v1.Duration
</em> </em>
</td> </td>
<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> </td>
</tr> </tr>
<tr> <tr>
@ -593,7 +595,9 @@ Kubernetes meta/v1.Duration
</em> </em>
</td> </td>
<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> </td>
</tr> </tr>
<tr> <tr>
@ -840,7 +844,9 @@ Kubernetes meta/v1.Duration
</em> </em>
</td> </td>
<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> </td>
</tr> </tr>
<tr> <tr>
@ -1126,7 +1132,9 @@ Kubernetes meta/v1.Duration
</em> </em>
</td> </td>
<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> </td>
</tr> </tr>
<tr> <tr>
@ -1424,7 +1432,9 @@ Kubernetes meta/v1.Duration
</em> </em>
</td> </td>
<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> </td>
</tr> </tr>
<tr> <tr>
@ -2214,7 +2224,9 @@ Kubernetes meta/v1.Duration
</em> </em>
</td> </td>
<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> </td>
</tr> </tr>
<tr> <tr>
@ -2524,7 +2536,9 @@ Kubernetes meta/v1.Duration
</em> </em>
</td> </td>
<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> </td>
</tr> </tr>
<tr> <tr>
@ -3013,7 +3027,9 @@ Kubernetes meta/v1.Duration
</em> </em>
</td> </td>
<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> </td>
</tr> </tr>
<tr> <tr>