From b0bf7524095cbac451fee632272e2200efa097cc Mon Sep 17 00:00:00 2001 From: Sebastian Gaiser Date: Tue, 29 Oct 2024 16:07:54 +0000 Subject: [PATCH] fix(crd-gen): use correct description for 'spec.indicator.bool_gauge.grouping' Signed-off-by: Sebastian Gaiser --- .../setup/pyrra-slo-CustomResourceDefinition.yaml | 2 +- .../manifests/setup/pyrra-slo-CustomResourceDefinition.yaml | 2 +- .../manifests/setup/pyrra-slo-CustomResourceDefinition.yaml | 2 +- jsonnet/controller-gen/pyrra.dev_servicelevelobjectives.json | 2 +- kubernetes/api/v1alpha1/servicelevelobjective_types.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/kubernetes/manifests-webhook/setup/pyrra-slo-CustomResourceDefinition.yaml b/examples/kubernetes/manifests-webhook/setup/pyrra-slo-CustomResourceDefinition.yaml index 579f3c87..765cb827 100644 --- a/examples/kubernetes/manifests-webhook/setup/pyrra-slo-CustomResourceDefinition.yaml +++ b/examples/kubernetes/manifests-webhook/setup/pyrra-slo-CustomResourceDefinition.yaml @@ -88,7 +88,7 @@ spec: successful. properties: grouping: - description: Total is the metric that returns how many requests there are in total. + description: Grouping allows an SLO to be defined for many SLI at once, like HTTP handlers for example. items: type: string type: array diff --git a/examples/kubernetes/manifests/setup/pyrra-slo-CustomResourceDefinition.yaml b/examples/kubernetes/manifests/setup/pyrra-slo-CustomResourceDefinition.yaml index 579f3c87..765cb827 100644 --- a/examples/kubernetes/manifests/setup/pyrra-slo-CustomResourceDefinition.yaml +++ b/examples/kubernetes/manifests/setup/pyrra-slo-CustomResourceDefinition.yaml @@ -88,7 +88,7 @@ spec: successful. properties: grouping: - description: Total is the metric that returns how many requests there are in total. + description: Grouping allows an SLO to be defined for many SLI at once, like HTTP handlers for example. items: type: string type: array diff --git a/examples/openshift/manifests/setup/pyrra-slo-CustomResourceDefinition.yaml b/examples/openshift/manifests/setup/pyrra-slo-CustomResourceDefinition.yaml index 579f3c87..765cb827 100644 --- a/examples/openshift/manifests/setup/pyrra-slo-CustomResourceDefinition.yaml +++ b/examples/openshift/manifests/setup/pyrra-slo-CustomResourceDefinition.yaml @@ -88,7 +88,7 @@ spec: successful. properties: grouping: - description: Total is the metric that returns how many requests there are in total. + description: Grouping allows an SLO to be defined for many SLI at once, like HTTP handlers for example. items: type: string type: array diff --git a/jsonnet/controller-gen/pyrra.dev_servicelevelobjectives.json b/jsonnet/controller-gen/pyrra.dev_servicelevelobjectives.json index 049a2f3b..9e12be16 100644 --- a/jsonnet/controller-gen/pyrra.dev_servicelevelobjectives.json +++ b/jsonnet/controller-gen/pyrra.dev_servicelevelobjectives.json @@ -99,7 +99,7 @@ "description": "BoolGauge is the indicator that measures whether a boolean gauge is\nsuccessful.", "properties": { "grouping": { - "description": "Total is the metric that returns how many requests there are in total.", + "description": "Grouping allows an SLO to be defined for many SLI at once, like HTTP handlers for example.", "items": { "type": "string" }, diff --git a/kubernetes/api/v1alpha1/servicelevelobjective_types.go b/kubernetes/api/v1alpha1/servicelevelobjective_types.go index 349a9c21..9e86a8f3 100644 --- a/kubernetes/api/v1alpha1/servicelevelobjective_types.go +++ b/kubernetes/api/v1alpha1/servicelevelobjective_types.go @@ -172,7 +172,7 @@ type BoolGaugeIndicator struct { Query `json:",inline"` // +optional - // Total is the metric that returns how many requests there are in total. + // Grouping allows an SLO to be defined for many SLI at once, like HTTP handlers for example. Grouping []string `json:"grouping"` }