Skip to content

Commit 3cc0bee

Browse files
committed
chore: Regenerate CRD for ServiceLevelObjective
1 parent 6c05f58 commit 3cc0bee

File tree

1 file changed

+22
-9
lines changed

1 file changed

+22
-9
lines changed

jsonnet/controller-gen/pyrra.dev_servicelevelobjectives.json

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
"kind": "CustomResourceDefinition",
44
"metadata": {
55
"annotations": {
6-
"controller-gen.kubebuilder.io/version": "v0.14.0"
6+
"controller-gen.kubebuilder.io/version": "v0.8.0"
77
},
8+
"creationTimestamp": null,
89
"name": "servicelevelobjectives.pyrra.dev"
910
},
1011
"spec": {
@@ -49,11 +50,11 @@
4950
"description": "ServiceLevelObjective is the Schema for the ServiceLevelObjectives API.",
5051
"properties": {
5152
"apiVersion": {
52-
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
53+
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
5354
"type": "string"
5455
},
5556
"kind": {
56-
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
57+
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
5758
"type": "string"
5859
},
5960
"metadata": {
@@ -89,14 +90,14 @@
8990
"type": "object"
9091
},
9192
"description": {
92-
"description": "Description describes the ServiceLevelObjective in more detail and\ngives extra context for engineers that might not directly work on the service.",
93+
"description": "Description describes the ServiceLevelObjective in more detail and gives extra context for engineers that might not directly work on the service.",
9394
"type": "string"
9495
},
9596
"indicator": {
96-
"description": "ServiceLevelIndicator is the underlying data source that indicates how the service is doing.\nThis will be a Prometheus metric with specific selectors for your service.",
97+
"description": "ServiceLevelIndicator is the underlying data source that indicates how the service is doing. This will be a Prometheus metric with specific selectors for your service.",
9798
"properties": {
9899
"bool_gauge": {
99-
"description": "BoolGauge is the indicator that measures whether a boolean gauge is\nsuccessful.",
100+
"description": "BoolGauge is the indicator that measures whether a boolean gauge is successful.",
100101
"properties": {
101102
"grouping": {
102103
"description": "Grouping allows an SLO to be defined for many SLI at once, like HTTP handlers for example.",
@@ -156,7 +157,7 @@
156157
"type": "object"
157158
},
158159
"latencyNative": {
159-
"description": "LatencyNative is the indicator that measures a certain percentage to be faster than the expected latency.\nThis uses the new native histograms in Prometheus.",
160+
"description": "LatencyNative is the indicator that measures a certain percentage to be faster than the expected latency. This uses the new native histograms in Prometheus.",
160161
"properties": {
161162
"grouping": {
162163
"description": "Grouping allows an SLO to be defined for many SLI at once, like HTTP handlers for example.",
@@ -234,16 +235,20 @@
234235
},
235236
"partial_response_strategy": {
236237
"default": "abort",
237-
"description": "PartialResponseStrategy is only used by ThanosRuler and will\nbe ignored by Prometheus instances.\nMore info: https://github.com/thanos-io/thanos/blob/main/docs/components/rule.md#partial-response",
238+
"description": "PartialResponseStrategy is only used by ThanosRuler and will be ignored by Prometheus instances. More info: https://github.com/thanos-io/thanos/blob/main/docs/components/rule.md#partial-response",
238239
"enum": [
239240
"abort",
240241
"warn",
241242
""
242243
],
243244
"type": "string"
244245
},
246+
"performance_over_accuracy": {
247+
"default": false,
248+
"type": "boolean"
249+
},
245250
"target": {
246-
"description": "Target is a string that's casted to a float64 between 0 - 100.\nIt represents the desired availability of the service in the given window.\nfloat64 are not supported: https://github.com/kubernetes-sigs/controller-tools/issues/245",
251+
"description": "Target is a string that's casted to a float64 between 0 - 100. It represents the desired availability of the service in the given window. float64 are not supported: https://github.com/kubernetes-sigs/controller-tools/issues/245",
247252
"type": "string"
248253
},
249254
"window": {
@@ -279,5 +284,13 @@
279284
}
280285
}
281286
]
287+
},
288+
"status": {
289+
"acceptedNames": {
290+
"kind": "",
291+
"plural": ""
292+
},
293+
"conditions": [],
294+
"storedVersions": []
282295
}
283296
}

0 commit comments

Comments
 (0)