Skip to content
Snippets Groups Projects
Commit a9035af8 authored by Björn Vonheiden's avatar Björn Vonheiden
Browse files

use properties map for slos in crd execution definition

parent 47c17c47
No related branches found
No related tags found
1 merge request!172Use the properties of the slo checker and add lag trend percent
...@@ -52,20 +52,19 @@ spec: ...@@ -52,20 +52,19 @@ spec:
type: array type: array
items: items:
type: object type: object
required: ["sloType", "threshold", "prometheusUrl", "externalSloUrl", "offset", "warmup"] required: ["sloType", "prometheusUrl", "offset"]
properties: properties:
sloType: sloType:
type: string type: string
threshold:
type: integer
prometheusUrl: prometheusUrl:
type: string type: string
externalSloUrl:
type: string
offset: offset:
type: integer type: integer
warmup: properties:
type: integer type: object
additionalProperties: true
x-kubernetes-map-type: "granular"
default: {}
execution: # def execution config execution: # def execution config
type: object type: object
required: ["strategy", "duration", "repetitions", "restrictions"] required: ["strategy", "duration", "repetitions", "restrictions"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment