diff --git a/api/v1beta1/spec.go b/api/v1beta1/spec.go index 9afbfa7a..b363d90f 100644 --- a/api/v1beta1/spec.go +++ b/api/v1beta1/spec.go @@ -671,6 +671,9 @@ type KustomizationRef struct { // KustomizationRef when an update is rejected with an error that only a delete+recreate // can resolve (eg an invalid combination of fields, or a field enforced as immutable). // By default, such errors are surfaced instead of recreating the resource. + // This applies to every resource produced by this KustomizationRef. To force just one + // resource, regardless of this field's value, annotate that resource with + // projectsveltos.io/forceRecreate instead. // +kubebuilder:default:=false // +optional Force bool `json:"force,omitempty"` @@ -838,6 +841,9 @@ type PolicyRef struct { // PolicyRef when an update is rejected with an error that only a delete+recreate can // resolve (eg an invalid combination of fields, or a field enforced as immutable). // By default, such errors are surfaced instead of recreating the resource. + // This applies to every resource produced by this PolicyRef. To force just one + // resource, regardless of this field's value, annotate that resource with + // projectsveltos.io/forceRecreate instead. // +kubebuilder:default:=false // +optional Force bool `json:"force,omitempty"` diff --git a/config/crd/bases/config.projectsveltos.io_clusterprofiles.yaml b/config/crd/bases/config.projectsveltos.io_clusterprofiles.yaml index 56561760..8b72804d 100644 --- a/config/crd/bases/config.projectsveltos.io_clusterprofiles.yaml +++ b/config/crd/bases/config.projectsveltos.io_clusterprofiles.yaml @@ -774,6 +774,9 @@ spec: KustomizationRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this KustomizationRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1128,6 +1131,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1342,7 +1348,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -1555,7 +1561,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -1768,7 +1774,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -2137,7 +2143,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef diff --git a/config/crd/bases/config.projectsveltos.io_clusterpromotions.yaml b/config/crd/bases/config.projectsveltos.io_clusterpromotions.yaml index e3eea918..b92aab89 100644 --- a/config/crd/bases/config.projectsveltos.io_clusterpromotions.yaml +++ b/config/crd/bases/config.projectsveltos.io_clusterpromotions.yaml @@ -676,6 +676,9 @@ spec: KustomizationRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this KustomizationRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1030,6 +1033,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1245,7 +1251,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -1459,7 +1465,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -1673,7 +1679,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -2035,7 +2041,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -2320,7 +2326,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -2472,6 +2478,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -2735,7 +2744,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -2887,6 +2896,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- diff --git a/config/crd/bases/config.projectsveltos.io_clustersummaries.yaml b/config/crd/bases/config.projectsveltos.io_clustersummaries.yaml index 59b4b00e..da5a5332 100644 --- a/config/crd/bases/config.projectsveltos.io_clustersummaries.yaml +++ b/config/crd/bases/config.projectsveltos.io_clustersummaries.yaml @@ -813,6 +813,9 @@ spec: KustomizationRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this KustomizationRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1167,6 +1170,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1382,7 +1388,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -1596,7 +1602,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -1810,7 +1816,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -2180,7 +2186,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef diff --git a/config/crd/bases/config.projectsveltos.io_profiles.yaml b/config/crd/bases/config.projectsveltos.io_profiles.yaml index 87338483..9159af72 100644 --- a/config/crd/bases/config.projectsveltos.io_profiles.yaml +++ b/config/crd/bases/config.projectsveltos.io_profiles.yaml @@ -774,6 +774,9 @@ spec: KustomizationRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this KustomizationRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1128,6 +1131,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1342,7 +1348,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -1555,7 +1561,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -1768,7 +1774,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -2137,7 +2143,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef diff --git a/go.mod b/go.mod index d96e84fe..be250971 100644 --- a/go.mod +++ b/go.mod @@ -20,7 +20,7 @@ require ( github.com/onsi/gomega v1.42.1 github.com/opencontainers/image-spec v1.1.1 github.com/pkg/errors v0.9.1 - github.com/projectsveltos/libsveltos v1.13.1-0.20260804055751-6f6de6aa73cb + github.com/projectsveltos/libsveltos v1.13.1-0.20260809130251-9eb9fb1df8b6 github.com/prometheus/client_golang v1.24.1 github.com/sigstore/cosign/v3 v3.1.2 github.com/sigstore/sigstore v1.10.8 diff --git a/go.sum b/go.sum index c3507fe6..1d558978 100644 --- a/go.sum +++ b/go.sum @@ -642,8 +642,8 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRI github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/poy/onpar v1.1.2 h1:QaNrNiZx0+Nar5dLgTVp5mXkyoVFIbepjyEoGSnhbAY= github.com/poy/onpar v1.1.2/go.mod h1:6X8FLNoxyr9kkmnlqpK6LSoiOtrO6MICtWwEuWkLjzg= -github.com/projectsveltos/libsveltos v1.13.1-0.20260804055751-6f6de6aa73cb h1:nhZnxIOEzx3kJnuMGPNmSBl/TH4NtMLAy24XfgDCzdE= -github.com/projectsveltos/libsveltos v1.13.1-0.20260804055751-6f6de6aa73cb/go.mod h1:TWOi1aZgpKGGI8lGdXhNE9Rnf3akS5bEVUuDV0EfmSo= +github.com/projectsveltos/libsveltos v1.13.1-0.20260809130251-9eb9fb1df8b6 h1:iM/I1/CrWCrkw10WksihcBHlPI99O2Ca1JtmHF59Qvk= +github.com/projectsveltos/libsveltos v1.13.1-0.20260809130251-9eb9fb1df8b6/go.mod h1:TWOi1aZgpKGGI8lGdXhNE9Rnf3akS5bEVUuDV0EfmSo= github.com/projectsveltos/lua-utils/glua-json v0.0.0-20251212200258-2b3cdcb7c0f5 h1:khnc+994UszxZYu69J+R5FKiLA/Nk1JQj0EYAkwTWz0= github.com/projectsveltos/lua-utils/glua-json v0.0.0-20251212200258-2b3cdcb7c0f5/go.mod h1:yVL8KQFa9tmcxgwl9nwIMtKgtmIVC1zaFRSCfOwYvPY= github.com/projectsveltos/lua-utils/glua-runes v0.0.0-20251212200258-2b3cdcb7c0f5 h1:YbsebwRwTRhV8QacvEAdFqxcxHdeu7JTVtsBovbkgos= diff --git a/lib/crd/clusterprofiles.go b/lib/crd/clusterprofiles.go index d32d9187..8d3aa977 100644 --- a/lib/crd/clusterprofiles.go +++ b/lib/crd/clusterprofiles.go @@ -793,6 +793,9 @@ spec: KustomizationRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this KustomizationRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1147,6 +1150,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1361,7 +1367,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -1574,7 +1580,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -1787,7 +1793,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -2156,7 +2162,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef diff --git a/lib/crd/clusterpromotions.go b/lib/crd/clusterpromotions.go index 1f0dde5b..1dd87715 100644 --- a/lib/crd/clusterpromotions.go +++ b/lib/crd/clusterpromotions.go @@ -695,6 +695,9 @@ spec: KustomizationRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this KustomizationRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1049,6 +1052,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1264,7 +1270,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -1478,7 +1484,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -1692,7 +1698,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -2054,7 +2060,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -2339,7 +2345,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -2491,6 +2497,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -2754,7 +2763,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -2906,6 +2915,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- diff --git a/lib/crd/clustersummaries.go b/lib/crd/clustersummaries.go index 4d23014b..8575321b 100644 --- a/lib/crd/clustersummaries.go +++ b/lib/crd/clustersummaries.go @@ -832,6 +832,9 @@ spec: KustomizationRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this KustomizationRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1186,6 +1189,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1401,7 +1407,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -1615,7 +1621,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -1829,7 +1835,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -2199,7 +2205,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef diff --git a/lib/crd/profiles.go b/lib/crd/profiles.go index 9d9eb2f9..c349ca18 100644 --- a/lib/crd/profiles.go +++ b/lib/crd/profiles.go @@ -793,6 +793,9 @@ spec: KustomizationRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this KustomizationRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1147,6 +1150,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1361,7 +1367,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -1574,7 +1580,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -1787,7 +1793,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -2156,7 +2162,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef diff --git a/manifest/manifest.yaml b/manifest/manifest.yaml index eb5c4d2e..382e40a6 100644 --- a/manifest/manifest.yaml +++ b/manifest/manifest.yaml @@ -1083,6 +1083,9 @@ spec: KustomizationRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this KustomizationRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1437,6 +1440,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -1651,7 +1657,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -1864,7 +1870,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -2077,7 +2083,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -2446,7 +2452,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -3515,6 +3521,9 @@ spec: KustomizationRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this KustomizationRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -3869,6 +3878,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -4084,7 +4096,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -4298,7 +4310,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -4512,7 +4524,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -4874,7 +4886,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -5159,7 +5171,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -5311,6 +5323,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -5574,7 +5589,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -5726,6 +5741,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -7074,6 +7092,9 @@ spec: KustomizationRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this KustomizationRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -7428,6 +7449,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -7643,7 +7667,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -7857,7 +7881,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -8071,7 +8095,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -8441,7 +8465,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -9582,6 +9606,9 @@ spec: KustomizationRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this KustomizationRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -9936,6 +9963,9 @@ spec: PolicyRef when an update is rejected with an error that only a delete+recreate can resolve (eg an invalid combination of fields, or a field enforced as immutable). By default, such errors are surfaced instead of recreating the resource. + This applies to every resource produced by this PolicyRef. To force just one + resource, regardless of this field's value, annotate that resource with + projectsveltos.io/forceRecreate instead. type: boolean kind: description: |- @@ -10150,7 +10180,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -10363,7 +10393,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -10576,7 +10606,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef @@ -10945,7 +10975,7 @@ spec: timeout: description: |- Timeout is how long to wait for the Job to reach Complete or Failed - before treating the check as failed. + before treating the check as failed. Defaults to 5 minutes when unset. type: string required: - jobRef diff --git a/test/pullmode-sveltosapplier.yaml b/test/pullmode-sveltosapplier.yaml index a06abfc9..74229052 100644 --- a/test/pullmode-sveltosapplier.yaml +++ b/test/pullmode-sveltosapplier.yaml @@ -99,7 +99,7 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - image: docker.io/projectsveltos/sveltos-applier@sha256:bb4b52e71bb4670ada3048e3f119b20e0491eada29947674cc73abd35ed0c4fa + image: docker.io/projectsveltos/sveltos-applier@sha256:5dda38ec232f80db07b29d23cd95bcbb7271011d3d14a6705b89460a51b15bfd livenessProbe: failureThreshold: 3 httpGet: