diff --git a/deploy/operator.yaml b/deploy/operator.yaml index df91d032900..d4a3adad3e4 100644 --- a/deploy/operator.yaml +++ b/deploy/operator.yaml @@ -1152,7 +1152,6 @@ spec: type: string type: array interval: - default: "0" description: interval represents a task schedule interval e.g. 3d2h10m, valid units are d, h, m, s. type: string keyspace: @@ -1189,7 +1188,6 @@ spec: type: string type: array startDate: - default: now description: startDate specifies the task start date expressed in the RFC3339 format or now[+duration], e.g. now+3d2h10m, valid units are d, h, m, s. type: string uploadParallel: @@ -3120,7 +3118,6 @@ spec: description: intensity indicates how many token ranges (per shard) to repair in a single Scylla repair job. By default this is 1. If you set it to 0 the number of token ranges is adjusted to the maximum supported by node (see max_repair_ranges_in_parallel in Scylla logs). Valid values are 0 and integers >= 1. Higher values will result in increased cluster load and slightly faster repairs. Changing the intensity impacts repair granularity if you need to resume it, the higher the value the more work on resume. For Scylla clusters that *do not support row-level repair*, intensity can be a decimal between (0,1). In that case it specifies percent of shards that can be repaired in parallel on a repair master node. For Scylla clusters that are row-level repair enabled, setting intensity below 1 has the same effect as setting intensity 1. type: string interval: - default: "0" description: interval represents a task schedule interval e.g. 3d2h10m, valid units are d, h, m, s. type: string keyspace: @@ -3146,7 +3143,6 @@ spec: description: smallTableThreshold enable small table optimization for tables of size lower than given threshold. Supported units [B, MiB, GiB, TiB]. type: string startDate: - default: now description: startDate specifies the task start date expressed in the RFC3339 format or now[+duration], e.g. now+3d2h10m, valid units are d, h, m, s. type: string type: object @@ -3190,7 +3186,6 @@ spec: description: id is the identification number of the backup task. type: string interval: - default: "0" description: interval represents a task schedule interval e.g. 3d2h10m, valid units are d, h, m, s. type: string keyspace: @@ -3227,7 +3222,6 @@ spec: type: string type: array startDate: - default: now description: startDate specifies the task start date expressed in the RFC3339 format or now[+duration], e.g. now+3d2h10m, valid units are d, h, m, s. type: string uploadParallel: @@ -3373,7 +3367,6 @@ spec: description: intensity indicates how many token ranges (per shard) to repair in a single Scylla repair job. By default this is 1. If you set it to 0 the number of token ranges is adjusted to the maximum supported by node (see max_repair_ranges_in_parallel in Scylla logs). Valid values are 0 and integers >= 1. Higher values will result in increased cluster load and slightly faster repairs. Changing the intensity impacts repair granularity if you need to resume it, the higher the value the more work on resume. For Scylla clusters that *do not support row-level repair*, intensity can be a decimal between (0,1). In that case it specifies percent of shards that can be repaired in parallel on a repair master node. For Scylla clusters that are row-level repair enabled, setting intensity below 1 has the same effect as setting intensity 1. type: string interval: - default: "0" description: interval represents a task schedule interval e.g. 3d2h10m, valid units are d, h, m, s. type: string keyspace: @@ -3399,7 +3392,6 @@ spec: description: smallTableThreshold enable small table optimization for tables of size lower than given threshold. Supported units [B, MiB, GiB, TiB]. type: string startDate: - default: now description: startDate specifies the task start date expressed in the RFC3339 format or now[+duration], e.g. now+3d2h10m, valid units are d, h, m, s. type: string type: object diff --git a/helm/scylla-manager/values.schema.json b/helm/scylla-manager/values.schema.json index 992fe04a2dc..8992cc323d9 100644 --- a/helm/scylla-manager/values.schema.json +++ b/helm/scylla-manager/values.schema.json @@ -209,7 +209,6 @@ "type": "array" }, "interval": { - "default": "0", "description": "interval represents a task schedule interval e.g. 3d2h10m, valid units are d, h, m, s.", "type": "string" }, @@ -258,7 +257,6 @@ "type": "array" }, "startDate": { - "default": "now", "description": "startDate specifies the task start date expressed in the RFC3339 format or now[+duration], e.g. now+3d2h10m, valid units are d, h, m, s.", "type": "string" }, @@ -560,7 +558,6 @@ "type": "string" }, "interval": { - "default": "0", "description": "interval represents a task schedule interval e.g. 3d2h10m, valid units are d, h, m, s.", "type": "string" }, @@ -593,7 +590,6 @@ "type": "string" }, "startDate": { - "default": "now", "description": "startDate specifies the task start date expressed in the RFC3339 format or now[+duration], e.g. now+3d2h10m, valid units are d, h, m, s.", "type": "string" } diff --git a/helm/scylla/values.schema.json b/helm/scylla/values.schema.json index 9794c38064d..70c2a470917 100644 --- a/helm/scylla/values.schema.json +++ b/helm/scylla/values.schema.json @@ -98,7 +98,6 @@ "type": "array" }, "interval": { - "default": "0", "description": "interval represents a task schedule interval e.g. 3d2h10m, valid units are d, h, m, s.", "type": "string" }, @@ -147,7 +146,6 @@ "type": "array" }, "startDate": { - "default": "now", "description": "startDate specifies the task start date expressed in the RFC3339 format or now[+duration], e.g. now+3d2h10m, valid units are d, h, m, s.", "type": "string" }, @@ -449,7 +447,6 @@ "type": "string" }, "interval": { - "default": "0", "description": "interval represents a task schedule interval e.g. 3d2h10m, valid units are d, h, m, s.", "type": "string" }, @@ -482,7 +479,6 @@ "type": "string" }, "startDate": { - "default": "now", "description": "startDate specifies the task start date expressed in the RFC3339 format or now[+duration], e.g. now+3d2h10m, valid units are d, h, m, s.", "type": "string" } diff --git a/pkg/api/scylla/v1/scylla.scylladb.com_scyllaclusters.yaml b/pkg/api/scylla/v1/scylla.scylladb.com_scyllaclusters.yaml index 930bea69eb9..19463a4047b 100644 --- a/pkg/api/scylla/v1/scylla.scylladb.com_scyllaclusters.yaml +++ b/pkg/api/scylla/v1/scylla.scylladb.com_scyllaclusters.yaml @@ -124,7 +124,6 @@ spec: type: string type: array interval: - default: "0" description: interval represents a task schedule interval e.g. 3d2h10m, valid units are d, h, m, s. type: string keyspace: @@ -161,7 +160,6 @@ spec: type: string type: array startDate: - default: now description: startDate specifies the task start date expressed in the RFC3339 format or now[+duration], e.g. now+3d2h10m, valid units are d, h, m, s. type: string uploadParallel: @@ -2092,7 +2090,6 @@ spec: description: intensity indicates how many token ranges (per shard) to repair in a single Scylla repair job. By default this is 1. If you set it to 0 the number of token ranges is adjusted to the maximum supported by node (see max_repair_ranges_in_parallel in Scylla logs). Valid values are 0 and integers >= 1. Higher values will result in increased cluster load and slightly faster repairs. Changing the intensity impacts repair granularity if you need to resume it, the higher the value the more work on resume. For Scylla clusters that *do not support row-level repair*, intensity can be a decimal between (0,1). In that case it specifies percent of shards that can be repaired in parallel on a repair master node. For Scylla clusters that are row-level repair enabled, setting intensity below 1 has the same effect as setting intensity 1. type: string interval: - default: "0" description: interval represents a task schedule interval e.g. 3d2h10m, valid units are d, h, m, s. type: string keyspace: @@ -2118,7 +2115,6 @@ spec: description: smallTableThreshold enable small table optimization for tables of size lower than given threshold. Supported units [B, MiB, GiB, TiB]. type: string startDate: - default: now description: startDate specifies the task start date expressed in the RFC3339 format or now[+duration], e.g. now+3d2h10m, valid units are d, h, m, s. type: string type: object @@ -2162,7 +2158,6 @@ spec: description: id is the identification number of the backup task. type: string interval: - default: "0" description: interval represents a task schedule interval e.g. 3d2h10m, valid units are d, h, m, s. type: string keyspace: @@ -2199,7 +2194,6 @@ spec: type: string type: array startDate: - default: now description: startDate specifies the task start date expressed in the RFC3339 format or now[+duration], e.g. now+3d2h10m, valid units are d, h, m, s. type: string uploadParallel: @@ -2345,7 +2339,6 @@ spec: description: intensity indicates how many token ranges (per shard) to repair in a single Scylla repair job. By default this is 1. If you set it to 0 the number of token ranges is adjusted to the maximum supported by node (see max_repair_ranges_in_parallel in Scylla logs). Valid values are 0 and integers >= 1. Higher values will result in increased cluster load and slightly faster repairs. Changing the intensity impacts repair granularity if you need to resume it, the higher the value the more work on resume. For Scylla clusters that *do not support row-level repair*, intensity can be a decimal between (0,1). In that case it specifies percent of shards that can be repaired in parallel on a repair master node. For Scylla clusters that are row-level repair enabled, setting intensity below 1 has the same effect as setting intensity 1. type: string interval: - default: "0" description: interval represents a task schedule interval e.g. 3d2h10m, valid units are d, h, m, s. type: string keyspace: @@ -2371,7 +2364,6 @@ spec: description: smallTableThreshold enable small table optimization for tables of size lower than given threshold. Supported units [B, MiB, GiB, TiB]. type: string startDate: - default: now description: startDate specifies the task start date expressed in the RFC3339 format or now[+duration], e.g. now+3d2h10m, valid units are d, h, m, s. type: string type: object diff --git a/pkg/api/scylla/v1/zz_generated.deepcopy.go b/pkg/api/scylla/v1/zz_generated.deepcopy.go index ac24c1777dc..ef79479668e 100644 --- a/pkg/api/scylla/v1/zz_generated.deepcopy.go +++ b/pkg/api/scylla/v1/zz_generated.deepcopy.go @@ -594,6 +594,16 @@ func (in *RepairTaskStatus) DeepCopy() *RepairTaskStatus { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *SchedulerTaskSpec) DeepCopyInto(out *SchedulerTaskSpec) { *out = *in + if in.StartDate != nil { + in, out := &in.StartDate, &out.StartDate + *out = new(string) + **out = **in + } + if in.Interval != nil { + in, out := &in.Interval, &out.Interval + *out = new(string) + **out = **in + } if in.NumRetries != nil { in, out := &in.NumRetries, &out.NumRetries *out = new(int64)