diff --git a/metrics-operator/api/v1alpha3/keptnmetric_types.go b/metrics-operator/api/v1alpha3/keptnmetric_types.go index 9135e783b3..da1f05d049 100644 --- a/metrics-operator/api/v1alpha3/keptnmetric_types.go +++ b/metrics-operator/api/v1alpha3/keptnmetric_types.go @@ -64,6 +64,7 @@ type RangeSpec struct { // +kubebuilder:subresource:status // +kubebuilder:printcolumn:name="Provider",type=string,JSONPath=`.spec.provider.name` // +kubebuilder:printcolumn:name="Query",type=string,JSONPath=`.spec.query` +// +kubebuilder:printcolumn:name="Interval",type=string,JSONPath=`.spec.range.interval` // +kubebuilder:printcolumn:name="Value",type=string,JSONPath=`.status.value` // +kubebuilder:storageversion diff --git a/metrics-operator/config/crd/bases/metrics.keptn.sh_keptnmetrics.yaml b/metrics-operator/config/crd/bases/metrics.keptn.sh_keptnmetrics.yaml index 08e9e2155b..fafde197b0 100644 --- a/metrics-operator/config/crd/bases/metrics.keptn.sh_keptnmetrics.yaml +++ b/metrics-operator/config/crd/bases/metrics.keptn.sh_keptnmetrics.yaml @@ -173,6 +173,9 @@ spec: - jsonPath: .spec.query name: Query type: string + - jsonPath: .spec.range.interval + name: Interval + type: string - jsonPath: .status.value name: Value type: string