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:
type: array
items:
type: object
required: ["sloType", "threshold", "prometheusUrl", "externalSloUrl", "offset", "warmup"]
required: ["sloType", "prometheusUrl", "offset"]
properties:
sloType:
type: string
threshold:
type: integer
prometheusUrl:
type: string
externalSloUrl:
type: string
offset:
type: integer
warmup:
type: integer
properties:
type: object
additionalProperties: true
x-kubernetes-map-type: "granular"
default: {}
execution: # def execution config
type: object
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