diff --git a/helm/templates/theodolite/crd-execution.yaml b/helm/templates/theodolite/crd-execution.yaml index 3238ec517389db6410e8565b3341717b0e1956f7..163835e9b37aca774983d4f019cc61d4bde06510 100644 --- a/helm/templates/theodolite/crd-execution.yaml +++ b/helm/templates/theodolite/crd-execution.yaml @@ -55,12 +55,16 @@ spec: required: ["sloType", "prometheusUrl", "offset"] properties: sloType: + description: The type of the SLO. It must match 'lag trend'. type: string prometheusUrl: + description: Connection string for Promehteus. type: string offset: + description: Hours by which the start and end timestamp will be shifted (for different timezones). type: integer properties: + description: (Optional) SLO specific additional arguments. type: object additionalProperties: true x-kubernetes-map-type: "granular" diff --git a/theodolite/crd/crd-execution.yaml b/theodolite/crd/crd-execution.yaml index f0588ecf98d40aadc10c1804f32d4bce72d22b03..47d0306f5150a8126f021c40bf3c4a4ce0e1abb1 100644 --- a/theodolite/crd/crd-execution.yaml +++ b/theodolite/crd/crd-execution.yaml @@ -60,26 +60,23 @@ spec: type: array items: type: object - required: ["sloType", "threshold", "prometheusUrl", "externalSloUrl", "offset", "warmup"] + required: ["sloType", "prometheusUrl", "offset"] properties: sloType: description: The type of the SLO. It must match 'lag trend'. type: string - threshold: - description: The threshold the SUT should meet for a sucessful experiment. - type: integer prometheusUrl: description: Connection string for Promehteus. type: string - externalSloUrl: - description: Connection string for a external slo analysis. - type: string offset: description: Hours by which the start and end timestamp will be shifted (for different timezones). type: integer - warmup: - description: Seconds of time that are ignored in the analysis. - type: integer + properties: + description: (Optional) SLO specific additional arguments. + type: object + additionalProperties: true + x-kubernetes-map-type: "granular" + default: {} execution: # def execution config description: Defines the overall parameter for the execution. type: object @@ -152,4 +149,4 @@ spec: jsonPath: .metadata.creationTimestamp subresources: status: {} - scope: Namespaced \ No newline at end of file + scope: Namespaced