From d436c917bf5f83fc9f5a1a2949fb05f5646ad685 Mon Sep 17 00:00:00 2001 From: realanna Date: Fri, 4 Aug 2023 10:24:55 +0200 Subject: [PATCH 1/4] feat(metrics-operator): add Analysis CRD Signed-off-by: realanna feat(metrics-operator): fix ref Signed-off-by: realanna Update lifecycle-operator/apis/lifecycle/v1alpha1/common/phases.go Co-authored-by: odubajDT <93584209+odubajDT@users.noreply.github.com> Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com> feat(metrics-operator): make Ondrej happy Signed-off-by: realanna feat(metrics-operator): sample times Signed-off-by: realanna feat(metrics-operator): sample times Signed-off-by: realanna feat(metrics-operator): sample times Signed-off-by: realanna feat(metrics-operator): sample times Signed-off-by: realanna Update lifecycle-operator/apis/lifecycle/v1alpha1/common/phases.go Co-authored-by: Florian Bacher Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com> feat(metrics-operator): integrwtion test Signed-off-by: realanna feat(metrics-operator): fix ref to Def Signed-off-by: realanna feat(metrics-operator): fix review Signed-off-by: realanna feat(metrics-operator): fix review Signed-off-by: realanna Update docs/content/en/docs/crd-ref/metrics/v1alpha3/_index.md Co-authored-by: Meg McRoberts Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com> Update metrics-operator/config/crd/bases/metrics.keptn.sh_analyses.yaml Co-authored-by: Meg McRoberts Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com> Update docs/content/en/docs/crd-ref/metrics/v1alpha3/_index.md Co-authored-by: Meg McRoberts Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com> Update docs/content/en/docs/crd-ref/metrics/v1alpha3/_index.md Co-authored-by: Meg McRoberts Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com> Update metrics-operator/api/v1alpha3/analysis_types.go Co-authored-by: Giovanni Liva Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com> feat(metrics-operator): fix error Signed-off-by: realanna feat(metrics-operator): fix error Signed-off-by: realanna feat(metrics-operator): fix error Signed-off-by: realanna feat(metrics-operator): regenerate crd md files Signed-off-by: realanna feat(metrics-operator): regenerate crd md files Signed-off-by: realanna feat(metrics-operator): remove wrong makefi;le change Signed-off-by: realanna feat(metrics-operator): review Signed-off-by: realanna feat(metrics-operator): review Signed-off-by: realanna feat(metrics-operator): fix lint Signed-off-by: realanna feat(metrics-operator): fix lint Signed-off-by: realanna feat(metrics-operator): fix lint Signed-off-by: realanna feat(metrics-operator): fix failing pipelines Signed-off-by: realanna feat(metrics-operator): add integration test Signed-off-by: realanna feat(metrics-operator): add example analysis CRD Signed-off-by: realanna feat(metrics-operator): add analysis CRD Signed-off-by: realanna --- .../docs/crd-ref/metrics/v1alpha3/_index.md | 147 +----------- helm/chart/templates/analysis-crd.yaml | 93 ++++++++ .../apis/lifecycle/v1alpha1/common/phases.go | 1 + .../lifecycle.keptn.sh_keptnappversions.yaml | 2 + ...cycle.keptn.sh_keptnworkloadinstances.yaml | 2 + metrics-operator/PROJECT | 8 + .../api/v1alpha3/analysis_types.go | 64 ++++++ .../api/v1alpha3/zz_generated.deepcopy.go | 210 +++++++----------- .../crd/bases/metrics.keptn.sh_analyses.yaml | 89 ++++++++ .../config/crd/kustomization.yaml | 3 + .../crd/patches/webhook_in_analyses.yaml | 16 ++ .../config/rbac/analysis_editor_role.yaml | 31 +++ .../config/rbac/analysis_viewer_role.yaml | 27 +++ .../samples/metrics_v1alpha3_analysis.yaml | 21 ++ test/integration/analysis/00-assert.yaml | 21 ++ test/integration/analysis/00-install.yaml | 21 ++ 16 files changed, 482 insertions(+), 274 deletions(-) create mode 100644 helm/chart/templates/analysis-crd.yaml create mode 100644 metrics-operator/api/v1alpha3/analysis_types.go create mode 100644 metrics-operator/config/crd/bases/metrics.keptn.sh_analyses.yaml create mode 100644 metrics-operator/config/crd/patches/webhook_in_analyses.yaml create mode 100644 metrics-operator/config/rbac/analysis_editor_role.yaml create mode 100644 metrics-operator/config/rbac/analysis_viewer_role.yaml create mode 100644 metrics-operator/config/samples/metrics_v1alpha3_analysis.yaml create mode 100644 test/integration/analysis/00-assert.yaml create mode 100644 test/integration/analysis/00-install.yaml diff --git a/docs/content/en/docs/crd-ref/metrics/v1alpha3/_index.md b/docs/content/en/docs/crd-ref/metrics/v1alpha3/_index.md index 42fabb0d24..1732420d81 100644 --- a/docs/content/en/docs/crd-ref/metrics/v1alpha3/_index.md +++ b/docs/content/en/docs/crd-ref/metrics/v1alpha3/_index.md @@ -13,8 +13,6 @@ description: Reference information for metrics.keptn.sh/v1alpha3 Package v1alpha3 contains API Schema definitions for the metrics v1alpha3 API group ### Resource Types -- [AnalysisDefinition](#analysisdefinition) -- [AnalysisDefinitionList](#analysisdefinitionlist) - [KeptnMetric](#keptnmetric) - [KeptnMetricList](#keptnmetriclist) - [KeptnMetricsProvider](#keptnmetricsprovider) @@ -22,55 +20,6 @@ Package v1alpha3 contains API Schema definitions for the metrics v1alpha3 API gr -#### AnalysisDefinition - - - -AnalysisDefinition is the Schema for the analysisdefinitions APIs - -_Appears in:_ -- [AnalysisDefinitionList](#analysisdefinitionlist) - -| Field | Description | -| --- | --- | -| `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` -| `kind` _string_ | `AnalysisDefinition` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | -| `spec` _[AnalysisDefinitionSpec](#analysisdefinitionspec)_ | | -| `status` _string_ | unused field | - - -#### AnalysisDefinitionList - - - -AnalysisDefinitionList contains a list of AnalysisDefinition - - - -| Field | Description | -| --- | --- | -| `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` -| `kind` _string_ | `AnalysisDefinitionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | -| `items` _[AnalysisDefinition](#analysisdefinition) array_ | | - - -#### AnalysisDefinitionSpec - - - -AnalysisDefinitionSpec defines the desired state of AnalysisDefinition - -_Appears in:_ -- [AnalysisDefinition](#analysisdefinition) - -| Field | Description | -| --- | --- | -| `objectives` _[Objective](#objective) array_ | Objectives defines a list of objectives to evaluate for an analysis | -| `totalScore` _[TotalScore](#totalscore)_ | TotalScore defines the required score for an analysis to be successful | - - #### KeptnMetric @@ -189,70 +138,6 @@ _Appears in:_ | `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#secretkeyselector-v1-core)_ | SecretKeyRef defines an optional secret for access credentials to the metrics provider. | -#### ObjectReference - - - - - -_Appears in:_ -- [Objective](#objective) - -| Field | Description | -| --- | --- | -| `name` _string_ | Name defines the name of the referenced object | -| `namespace` _string_ | Namespace defines the namespace of the referenced object | - - -#### Objective - - - -Objective defines an objective for analysis - -_Appears in:_ -- [AnalysisDefinitionSpec](#analysisdefinitionspec) - -| Field | Description | -| --- | --- | -| `analysisValueTemplateRef` _[ObjectReference](#objectreference)_ | AnalysisValueTemplateRef refers to the appropriate AnalysisValueTemplate | -| `target` _[Target](#target)_ | Target defines failure or warning criteria | -| `weight` _integer_ | Weight can be used to emphasize the importance of one Objective over the others | -| `keyObjective` _boolean_ | KeyObjective defines whether the whole analysis fails when this objective's target is not met | - - -#### Operator - - - -Operator specifies the supported operators for value comparisons - -_Appears in:_ -- [Target](#target) - -| Field | Description | -| --- | --- | -| `lessThanOrEqual` _[OperatorValue](#operatorvalue)_ | LessThanOrEqual represents '<=' operator | -| `lessThan` _[OperatorValue](#operatorvalue)_ | LessThan represents '<' operator | -| `greaterThan` _[OperatorValue](#operatorvalue)_ | GreaterThan represents '>' operator | -| `greaterThanOrEqual` _[OperatorValue](#operatorvalue)_ | GreaterThanOrEqual represents '>=' operator | -| `equalTo` _[OperatorValue](#operatorvalue)_ | EqualTo represents '==' operator | - - -#### OperatorValue - - - -OperatorValue represents the value to which the result is compared - -_Appears in:_ -- [Operator](#operator) - -| Field | Description | -| --- | --- | -| `fixedValue` _Quantity_ | FixedValue defines the value for comparison | - - #### ProviderRef @@ -280,36 +165,6 @@ _Appears in:_ | --- | --- | | `interval` _string_ | Interval specifies the duration of the time interval for the data query | | `step` _string_ | Step represents the query resolution step width for the data query | -| `aggregation` _string_ | Aggregation defines the type of aggregation function to be applied on the data. Accepted values: p90, p95, p99, max, min, avg, median | - - -#### Target - - - -Target defines the failure and warning criteria - -_Appears in:_ -- [Objective](#objective) - -| Field | Description | -| --- | --- | -| `failure` _[Operator](#operator)_ | Failure defines limits up to which an analysis fails | -| `warning` _[Operator](#operator)_ | Warning defines limits where the result does not pass or fail | - - -#### TotalScore - - - -TotalScore defines the required score for an analysis to be successful - -_Appears in:_ -- [AnalysisDefinitionSpec](#analysisdefinitionspec) - -| Field | Description | -| --- | --- | -| `passPercentage` _integer_ | PassPercentage defines the threshold to reach for an analysis to pass | -| `warningPercentage` _integer_ | WarningPercentage defines the threshold to reach for an analysis to pass with a 'warning' status | +| `aggregation` _string_ | Aggregation defines as the type of aggregation function to be applied on the data. Accepted values: p90, p95, p99, max, min, avg, median | diff --git a/helm/chart/templates/analysis-crd.yaml b/helm/chart/templates/analysis-crd.yaml new file mode 100644 index 0000000000..8e12b28a67 --- /dev/null +++ b/helm/chart/templates/analysis-crd.yaml @@ -0,0 +1,93 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + name: analyses.metrics.keptn.sh + annotations: + controller-gen.kubebuilder.io/version: v0.12.1 + labels: + app.kubernetes.io/part-of: keptn-lifecycle-toolkit + crdGroup: metrics.keptn.sh + keptn.sh/inject-cert: "true" + {{- include "chart.labels" . | nindent 4 }} +spec: + group: metrics.keptn.sh + names: + kind: Analysis + listKind: AnalysisList + plural: analyses + singular: analysis + scope: Namespaced + versions: + - name: v1alpha3 + schema: + openAPIV3Schema: + description: Analysis is the Schema for the analyses API + properties: + apiVersion: + 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' + type: string + kind: + 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' + type: string + metadata: + type: object + spec: + description: AnalysisSpec defines the desired state of Analysis + properties: + analysisDefinition: + description: AnalysisDefinition refers to the AnalysisDefinition, a + CRD that stores the AnalysisValuesTemplates + properties: + name: + description: Name of the AnalysisDefinition + type: string + required: + - name + type: object + args: + additionalProperties: + type: string + description: Args corresponds to a map of key/value pairs that can be + used to substitute placeholders in the AnalysisValueTemplate query. + The placeholder must be the capitalized version of the key; i.e. for + args foo:bar the query could be "query:percentile(95)?scope=tag(my_foo_label:{{.Foo}})". + type: object + timeframe: + description: Timeframe specifies the range for the corresponding query + in the AnalysisValueTemplate + properties: + from: + description: From is the time of start for the query, this field + follows RFC3339 time format + format: date-time + type: string + to: + description: To is the time of end for the query, this field follows + RFC3339 time format + format: date-time + type: string + required: + - from + - to + type: object + required: + - analysisDefinition + - timeframe + type: object + status: + type: string + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] \ No newline at end of file diff --git a/lifecycle-operator/apis/lifecycle/v1alpha1/common/phases.go b/lifecycle-operator/apis/lifecycle/v1alpha1/common/phases.go index 179a7e31fe..b8c8fec5b0 100644 --- a/lifecycle-operator/apis/lifecycle/v1alpha1/common/phases.go +++ b/lifecycle-operator/apis/lifecycle/v1alpha1/common/phases.go @@ -85,6 +85,7 @@ var ( PhaseCancelled = KeptnPhaseType{LongName: "Cancelled", ShortName: "Cancelled"} ) +// PhaseTraceID is a map storing TraceIDs of OpenTelemetry spans in lifecycle phases type PhaseTraceID map[string]propagation.MapCarrier func (pid PhaseTraceID) SetPhaseTraceID(phase string, carrier propagation.MapCarrier) { diff --git a/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptnappversions.yaml b/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptnappversions.yaml index 67754f1d2b..078d4437a6 100644 --- a/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptnappversions.yaml +++ b/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptnappversions.yaml @@ -123,6 +123,8 @@ spec: description: MapCarrier is a TextMapCarrier that uses a map held in memory as a storage medium for propagated key-value pairs. type: object + description: PhaseTraceID is a map using OpenTelemetry propagation + MapCarrier type type: object postDeploymentEvaluationStatus: default: Pending diff --git a/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptnworkloadinstances.yaml b/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptnworkloadinstances.yaml index e26f6bc42d..28eae6f01d 100644 --- a/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptnworkloadinstances.yaml +++ b/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptnworkloadinstances.yaml @@ -140,6 +140,8 @@ spec: description: MapCarrier is a TextMapCarrier that uses a map held in memory as a storage medium for propagated key-value pairs. type: object + description: PhaseTraceID is a map using OpenTelemetry propagation + MapCarrier type type: object postDeploymentEvaluationStatus: default: Pending diff --git a/metrics-operator/PROJECT b/metrics-operator/PROJECT index 12af78e4fd..0accda4a10 100644 --- a/metrics-operator/PROJECT +++ b/metrics-operator/PROJECT @@ -64,4 +64,12 @@ resources: webhooks: validation: true webhookVersion: v1 +- api: + crdVersion: v1 + namespaced: true + domain: keptn.sh + group: metrics + kind: Analysis + path: github.com/keptn/lifecycle-toolkit/metrics-operator/api/v1alpha3 + version: v1alpha3 version: "3" diff --git a/metrics-operator/api/v1alpha3/analysis_types.go b/metrics-operator/api/v1alpha3/analysis_types.go new file mode 100644 index 0000000000..e5e5985d85 --- /dev/null +++ b/metrics-operator/api/v1alpha3/analysis_types.go @@ -0,0 +1,64 @@ +/* +Copyright 2023. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha3 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// AnalysisSpec defines the desired state of Analysis +type AnalysisSpec struct { + //Timeframe specifies the range for the corresponding query in the AnalysisValueTemplate + Timeframe `json:"timeframe"` + // Args corresponds to a map of key/value pairs that can be used to substitute placeholders in the AnalysisValueTemplate query. The placeholder must be the capitalized version of the key; i.e. for args foo:bar the query could be "query:percentile(95)?scope=tag(my_foo_label:{{.Foo}})". + Args map[string]string `json:"args,omitempty"` + // AnalysisDefinition refers to the AnalysisDefinition, a CRD that stores the AnalysisValuesTemplates + AnalysisDefinition ObjectReference `json:"analysisDefinition"` +} + +//+kubebuilder:object:root=true +//+kubebuilder:subresource:status +//+kubebuilder:printcolumn:name="AnalysisDefinition",type=string,JSONPath=.spec.analysisDefinition.name + +// Analysis is the Schema for the analyses API +type Analysis struct { + metav1.TypeMeta `json:",inline"` + metav1.ObjectMeta `json:"metadata,omitempty"` + + Spec AnalysisSpec `json:"spec,omitempty"` + Status string `json:"status,omitempty"` +} + +//+kubebuilder:object:root=true + +// AnalysisList contains a list of Analysis +type AnalysisList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []Analysis `json:"items"` +} + +type Timeframe struct { + // From is the time of start for the query, this field follows RFC3339 time format + From metav1.Time `json:"from"` + // To is the time of end for the query, this field follows RFC3339 time format + To metav1.Time `json:"to"` +} + +func init() { + SchemeBuilder.Register(&Analysis{}, &AnalysisList{}) +} diff --git a/metrics-operator/api/v1alpha3/zz_generated.deepcopy.go b/metrics-operator/api/v1alpha3/zz_generated.deepcopy.go index ea277610c9..9ed795b63c 100644 --- a/metrics-operator/api/v1alpha3/zz_generated.deepcopy.go +++ b/metrics-operator/api/v1alpha3/zz_generated.deepcopy.go @@ -25,6 +25,88 @@ import ( "k8s.io/apimachinery/pkg/runtime" ) +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Analysis) DeepCopyInto(out *Analysis) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Analysis. +func (in *Analysis) DeepCopy() *Analysis { + if in == nil { + return nil + } + out := new(Analysis) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *Analysis) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalysisList) DeepCopyInto(out *AnalysisList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]Analysis, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisList. +func (in *AnalysisList) DeepCopy() *AnalysisList { + if in == nil { + return nil + } + out := new(AnalysisList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalysisList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *AnalysisSpec) DeepCopyInto(out *AnalysisSpec) { + *out = *in + in.Timeframe.DeepCopyInto(&out.Timeframe) + if in.Args != nil { + in, out := &in.Args, &out.Args + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val + } + } + out.AnalysisDefinition = in.AnalysisDefinition +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisSpec. +func (in *AnalysisSpec) DeepCopy() *AnalysisSpec { + if in == nil { + return nil + } + out := new(AnalysisSpec) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *AnalysisDefinition) DeepCopyInto(out *AnalysisDefinition) { *out = *in @@ -281,94 +363,6 @@ func (in *KeptnMetricsProviderSpec) DeepCopy() *KeptnMetricsProviderSpec { return out } -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *ObjectReference) DeepCopyInto(out *ObjectReference) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. -func (in *ObjectReference) DeepCopy() *ObjectReference { - if in == nil { - return nil - } - out := new(ObjectReference) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Objective) DeepCopyInto(out *Objective) { - *out = *in - out.AnalysisValueTemplateRef = in.AnalysisValueTemplateRef - in.Target.DeepCopyInto(&out.Target) -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Objective. -func (in *Objective) DeepCopy() *Objective { - if in == nil { - return nil - } - out := new(Objective) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Operator) DeepCopyInto(out *Operator) { - *out = *in - if in.LessThanOrEqual != nil { - in, out := &in.LessThanOrEqual, &out.LessThanOrEqual - *out = new(OperatorValue) - (*in).DeepCopyInto(*out) - } - if in.LessThan != nil { - in, out := &in.LessThan, &out.LessThan - *out = new(OperatorValue) - (*in).DeepCopyInto(*out) - } - if in.GreaterThan != nil { - in, out := &in.GreaterThan, &out.GreaterThan - *out = new(OperatorValue) - (*in).DeepCopyInto(*out) - } - if in.GreaterThanOrEqual != nil { - in, out := &in.GreaterThanOrEqual, &out.GreaterThanOrEqual - *out = new(OperatorValue) - (*in).DeepCopyInto(*out) - } - if in.EqualTo != nil { - in, out := &in.EqualTo, &out.EqualTo - *out = new(OperatorValue) - (*in).DeepCopyInto(*out) - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Operator. -func (in *Operator) DeepCopy() *Operator { - if in == nil { - return nil - } - out := new(Operator) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *OperatorValue) DeepCopyInto(out *OperatorValue) { - *out = *in - out.FixedValue = in.FixedValue.DeepCopy() -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorValue. -func (in *OperatorValue) DeepCopy() *OperatorValue { - if in == nil { - return nil - } - out := new(OperatorValue) - in.DeepCopyInto(out) - return out -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ProviderRef) DeepCopyInto(out *ProviderRef) { *out = *in @@ -398,43 +392,3 @@ func (in *RangeSpec) DeepCopy() *RangeSpec { in.DeepCopyInto(out) return out } - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *Target) DeepCopyInto(out *Target) { - *out = *in - if in.Failure != nil { - in, out := &in.Failure, &out.Failure - *out = new(Operator) - (*in).DeepCopyInto(*out) - } - if in.Warning != nil { - in, out := &in.Warning, &out.Warning - *out = new(Operator) - (*in).DeepCopyInto(*out) - } -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target. -func (in *Target) DeepCopy() *Target { - if in == nil { - return nil - } - out := new(Target) - in.DeepCopyInto(out) - return out -} - -// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *TotalScore) DeepCopyInto(out *TotalScore) { - *out = *in -} - -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TotalScore. -func (in *TotalScore) DeepCopy() *TotalScore { - if in == nil { - return nil - } - out := new(TotalScore) - in.DeepCopyInto(out) - return out -} diff --git a/metrics-operator/config/crd/bases/metrics.keptn.sh_analyses.yaml b/metrics-operator/config/crd/bases/metrics.keptn.sh_analyses.yaml new file mode 100644 index 0000000000..8e9cbe8457 --- /dev/null +++ b/metrics-operator/config/crd/bases/metrics.keptn.sh_analyses.yaml @@ -0,0 +1,89 @@ +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.12.1 + name: analyses.metrics.keptn.sh +spec: + group: metrics.keptn.sh + names: + kind: Analysis + listKind: AnalysisList + plural: analyses + singular: analysis + scope: Namespaced + versions: + - additionalPrinterColumns: + - jsonPath: .spec.analysisDefinition.name + name: AnalysisDefinition + type: string + name: v1alpha3 + schema: + openAPIV3Schema: + description: Analysis is the Schema for the analyses API + properties: + apiVersion: + 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' + type: string + kind: + 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' + type: string + metadata: + type: object + spec: + description: AnalysisSpec defines the desired state of Analysis + properties: + analysisDefinition: + description: AnalysisDefinition refers to the AnalysisDefinition, + a CRD that stores the AnalysisValuesTemplates + properties: + name: + type: string + namespace: + type: string + required: + - name + - namespace + type: object + args: + additionalProperties: + type: string + description: Args corresponds to a map of key/value pairs that can + be used to substitute placeholders in the AnalysisValueTemplate + query. The placeholder must be the capitalized version of the key; + i.e. for args foo:bar the query could be "query:percentile(95)?scope=tag(my_foo_label:{{.Foo}})". + type: object + timeframe: + description: Timeframe specifies the range for the corresponding query + in the AnalysisValueTemplate + properties: + from: + description: From is the time of start for the query, this field + follows RFC3339 time format + format: date-time + type: string + to: + description: To is the time of end for the query, this field follows + RFC3339 time format + format: date-time + type: string + required: + - from + - to + type: object + required: + - analysisDefinition + - timeframe + type: object + status: + type: string + type: object + served: true + storage: true + subresources: + status: {} diff --git a/metrics-operator/config/crd/kustomization.yaml b/metrics-operator/config/crd/kustomization.yaml index e32b655345..474932803b 100644 --- a/metrics-operator/config/crd/kustomization.yaml +++ b/metrics-operator/config/crd/kustomization.yaml @@ -4,6 +4,7 @@ resources: - bases/metrics.keptn.sh_keptnmetricsproviders.yaml - bases/metrics.keptn.sh_keptnmetrics.yaml + - bases/metrics.keptn.sh_analyses.yaml - bases/metrics.keptn.sh_analysisdefinitions.yaml # +kubebuilder:scaffold:crdkustomizeresource @@ -12,6 +13,7 @@ patchesStrategicMerge: # patches here are for enabling the conversion webhook for each CRD # - patches/webhook_in_keptnmetricsproviders.yaml - patches/webhook_in_keptnmetrics.yaml +#- patches/webhook_in_analyses.yaml # - patches/webhook_in_analysisdefinitions.yaml # +kubebuilder:scaffold:crdkustomizewebhookpatch @@ -19,6 +21,7 @@ patchesStrategicMerge: # patches here are for enabling the CA injection for each CRD # - patches/cainjection_in_keptnmetricsproviders.yaml # - patches/cainjection_in_keptnmetrics.yaml +#- patches/cainjection_in_analyses.yaml # - patches/cainjection_in_analysisdefinitions.yaml # +kubebuilder:scaffold:crdkustomizecainjectionpatch diff --git a/metrics-operator/config/crd/patches/webhook_in_analyses.yaml b/metrics-operator/config/crd/patches/webhook_in_analyses.yaml new file mode 100644 index 0000000000..cc2fd29d8a --- /dev/null +++ b/metrics-operator/config/crd/patches/webhook_in_analyses.yaml @@ -0,0 +1,16 @@ +# The following patch enables a conversion webhook for the CRD +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + name: analyses.metrics.keptn.sh +spec: + conversion: + strategy: Webhook + webhook: + clientConfig: + service: + namespace: system + name: webhook-service + path: /convert + conversionReviewVersions: + - v1 diff --git a/metrics-operator/config/rbac/analysis_editor_role.yaml b/metrics-operator/config/rbac/analysis_editor_role.yaml new file mode 100644 index 0000000000..4c87c2cbbe --- /dev/null +++ b/metrics-operator/config/rbac/analysis_editor_role.yaml @@ -0,0 +1,31 @@ +# permissions for end users to edit analyses. +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + labels: + app.kubernetes.io/name: clusterrole + app.kubernetes.io/instance: analysis-editor-role + app.kubernetes.io/component: rbac + app.kubernetes.io/created-by: metrics-operator + app.kubernetes.io/part-of: metrics-operator + app.kubernetes.io/managed-by: kustomize + name: analysis-editor-role +rules: + - apiGroups: + - metrics.keptn.sh + resources: + - analyses + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - metrics.keptn.sh + resources: + - analyses/status + verbs: + - get diff --git a/metrics-operator/config/rbac/analysis_viewer_role.yaml b/metrics-operator/config/rbac/analysis_viewer_role.yaml new file mode 100644 index 0000000000..2d7243c872 --- /dev/null +++ b/metrics-operator/config/rbac/analysis_viewer_role.yaml @@ -0,0 +1,27 @@ +# permissions for end users to view analyses. +apiVersion: rbac.authorization.k8s.io/v1 +kind: ClusterRole +metadata: + labels: + app.kubernetes.io/name: clusterrole + app.kubernetes.io/instance: analysis-viewer-role + app.kubernetes.io/component: rbac + app.kubernetes.io/created-by: metrics-operator + app.kubernetes.io/part-of: metrics-operator + app.kubernetes.io/managed-by: kustomize + name: analysis-viewer-role +rules: + - apiGroups: + - metrics.keptn.sh + resources: + - analyses + verbs: + - get + - list + - watch + - apiGroups: + - metrics.keptn.sh + resources: + - analyses/status + verbs: + - get diff --git a/metrics-operator/config/samples/metrics_v1alpha3_analysis.yaml b/metrics-operator/config/samples/metrics_v1alpha3_analysis.yaml new file mode 100644 index 0000000000..a58ee8466b --- /dev/null +++ b/metrics-operator/config/samples/metrics_v1alpha3_analysis.yaml @@ -0,0 +1,21 @@ +apiVersion: metrics.keptn.sh/v1alpha3 +kind: Analysis +metadata: + labels: + app.kubernetes.io/name: analysis + app.kubernetes.io/instance: analysis-sample + app.kubernetes.io/part-of: metrics-operator + app.kuberentes.io/managed-by: kustomize + app.kubernetes.io/created-by: metrics-operator + name: analysis-sample +spec: + timeframe: + from: 2023-05-05T05:05:05Z + to: 2023-05-05T10:10:10Z + args: + project: my-project + stage: dev + service: svc1 + foo: bar # can be any key/value pair; NOT only project/stage/service + analysisDefinition: + name: ed-my-proj-dev-svc1 diff --git a/test/integration/analysis/00-assert.yaml b/test/integration/analysis/00-assert.yaml new file mode 100644 index 0000000000..a58ee8466b --- /dev/null +++ b/test/integration/analysis/00-assert.yaml @@ -0,0 +1,21 @@ +apiVersion: metrics.keptn.sh/v1alpha3 +kind: Analysis +metadata: + labels: + app.kubernetes.io/name: analysis + app.kubernetes.io/instance: analysis-sample + app.kubernetes.io/part-of: metrics-operator + app.kuberentes.io/managed-by: kustomize + app.kubernetes.io/created-by: metrics-operator + name: analysis-sample +spec: + timeframe: + from: 2023-05-05T05:05:05Z + to: 2023-05-05T10:10:10Z + args: + project: my-project + stage: dev + service: svc1 + foo: bar # can be any key/value pair; NOT only project/stage/service + analysisDefinition: + name: ed-my-proj-dev-svc1 diff --git a/test/integration/analysis/00-install.yaml b/test/integration/analysis/00-install.yaml new file mode 100644 index 0000000000..a58ee8466b --- /dev/null +++ b/test/integration/analysis/00-install.yaml @@ -0,0 +1,21 @@ +apiVersion: metrics.keptn.sh/v1alpha3 +kind: Analysis +metadata: + labels: + app.kubernetes.io/name: analysis + app.kubernetes.io/instance: analysis-sample + app.kubernetes.io/part-of: metrics-operator + app.kuberentes.io/managed-by: kustomize + app.kubernetes.io/created-by: metrics-operator + name: analysis-sample +spec: + timeframe: + from: 2023-05-05T05:05:05Z + to: 2023-05-05T10:10:10Z + args: + project: my-project + stage: dev + service: svc1 + foo: bar # can be any key/value pair; NOT only project/stage/service + analysisDefinition: + name: ed-my-proj-dev-svc1 From 79e6da8b373d595f365eeab36e9a8e5701ce1a29 Mon Sep 17 00:00:00 2001 From: realanna Date: Tue, 8 Aug 2023 16:00:15 +0200 Subject: [PATCH 2/4] chore: rebase main Signed-off-by: realanna --- .../crd-docs-generator-config.yaml | 2 +- .../docs/crd-ref/lifecycle/v1alpha1/_index.md | 62 ++--- .../docs/crd-ref/lifecycle/v1alpha2/_index.md | 60 ++--- .../docs/crd-ref/lifecycle/v1alpha3/_index.md | 94 +++---- .../docs/crd-ref/metrics/v1alpha1/_index.md | 6 +- .../docs/crd-ref/metrics/v1alpha2/_index.md | 12 +- .../docs/crd-ref/metrics/v1alpha3/_index.md | 227 +++++++++++++++- .../docs/crd-ref/options/v1alpha1/_index.md | 4 +- .../api/v1alpha3/zz_generated.deepcopy.go | 255 ++++++++++++++---- .../crd/bases/metrics.keptn.sh_analyses.yaml | 4 +- 10 files changed, 543 insertions(+), 183 deletions(-) diff --git a/.github/scripts/generate-crd-docs/crd-docs-generator-config.yaml b/.github/scripts/generate-crd-docs/crd-docs-generator-config.yaml index 3dd0d4bb40..5a77665b7e 100644 --- a/.github/scripts/generate-crd-docs/crd-docs-generator-config.yaml +++ b/.github/scripts/generate-crd-docs/crd-docs-generator-config.yaml @@ -6,4 +6,4 @@ processor: - "TypeMeta$" - "EmptyStatus$" render: - kubernetesVersion: 1.24 + kubernetesVersion: 1.26 diff --git a/docs/content/en/docs/crd-ref/lifecycle/v1alpha1/_index.md b/docs/content/en/docs/crd-ref/lifecycle/v1alpha1/_index.md index e66645a631..a9b8f40bf0 100644 --- a/docs/content/en/docs/crd-ref/lifecycle/v1alpha1/_index.md +++ b/docs/content/en/docs/crd-ref/lifecycle/v1alpha1/_index.md @@ -65,8 +65,8 @@ _Appears in:_ | `evaluationDefinitionName` _string_ | | | `status` _KeptnState_ | | | `evaluationName` _string_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | #### EvaluationStatusItem @@ -173,7 +173,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnApp` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnAppSpec](#keptnappspec)_ | | | `status` _[KeptnAppStatus](#keptnappstatus)_ | | @@ -190,7 +190,7 @@ KeptnAppList contains a list of KeptnApp | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnAppList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnApp](#keptnapp) array_ | | @@ -241,7 +241,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnAppVersion` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnAppVersionSpec](#keptnappversionspec)_ | | | `status` _[KeptnAppVersionStatus](#keptnappversionstatus)_ | | @@ -258,7 +258,7 @@ KeptnAppVersionList contains a list of KeptnAppVersion | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnAppVersionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnAppVersion](#keptnappversion) array_ | | @@ -308,8 +308,8 @@ _Appears in:_ | `postDeploymentEvaluationTaskStatus` _[EvaluationStatus](#evaluationstatus) array_ | | | `phaseTraceIDs` _object (keys:string, values:object)_ | | | `status` _KeptnState_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | #### KeptnEvaluation @@ -325,7 +325,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnEvaluation` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationSpec](#keptnevaluationspec)_ | | | `status` _[KeptnEvaluationStatus](#keptnevaluationstatus)_ | | @@ -343,7 +343,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnEvaluationDefinition` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationDefinitionSpec](#keptnevaluationdefinitionspec)_ | | | `status` _string_ | unused field | @@ -360,7 +360,7 @@ KeptnEvaluationDefinitionList contains a list of KeptnEvaluationDefinition | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnEvaluationDefinitionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluationDefinition](#keptnevaluationdefinition) array_ | | @@ -391,7 +391,7 @@ KeptnEvaluationList contains a list of KeptnEvaluation | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnEvaluationList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluation](#keptnevaluation) array_ | | @@ -408,7 +408,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnEvaluationProvider` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationProviderSpec](#keptnevaluationproviderspec)_ | | | `status` _string_ | unused field | @@ -425,7 +425,7 @@ KeptnEvaluationProviderList contains a list of KeptnEvaluationProvider | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnEvaluationProviderList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluationProvider](#keptnevaluationprovider) array_ | | @@ -461,7 +461,7 @@ _Appears in:_ | `appVersion` _string_ | | | `evaluationDefinition` _string_ | | | `retries` _integer_ | | -| `retryInterval` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#duration-v1-meta)_ | | +| `retryInterval` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#duration-v1-meta)_ | | | `failAction` _string_ | | | `checkType` _CheckType_ | | @@ -480,8 +480,8 @@ _Appears in:_ | `retryCount` _integer_ | | | `evaluationStatus` _object (keys:string, values:[EvaluationStatusItem](#evaluationstatusitem))_ | | | `overallStatus` _KeptnState_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | #### KeptnTask @@ -497,7 +497,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnTask` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnTaskSpec](#keptntaskspec)_ | | | `status` _[KeptnTaskStatus](#keptntaskstatus)_ | | @@ -515,7 +515,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnTaskDefinition` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnTaskDefinitionSpec](#keptntaskdefinitionspec)_ | | | `status` _[KeptnTaskDefinitionStatus](#keptntaskdefinitionstatus)_ | | @@ -532,7 +532,7 @@ KeptnTaskDefinitionList contains a list of KeptnTaskDefinition | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnTaskDefinitionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnTaskDefinition](#keptntaskdefinition) array_ | | @@ -576,7 +576,7 @@ KeptnTaskList contains a list of KeptnTask | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnTaskList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnTask](#keptntask) array_ | | @@ -616,8 +616,8 @@ _Appears in:_ | `jobName` _string_ | | | `status` _KeptnState_ | | | `message` _string_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | #### KeptnWorkload @@ -633,7 +633,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnWorkload` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnWorkloadSpec](#keptnworkloadspec)_ | | | `status` _[KeptnWorkloadStatus](#keptnworkloadstatus)_ | | @@ -651,7 +651,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnWorkloadInstance` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnWorkloadInstanceSpec](#keptnworkloadinstancespec)_ | | | `status` _[KeptnWorkloadInstanceStatus](#keptnworkloadinstancestatus)_ | | @@ -668,7 +668,7 @@ KeptnWorkloadInstanceList contains a list of KeptnWorkloadInstance | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnWorkloadInstanceList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnWorkloadInstance](#keptnworkloadinstance) array_ | | @@ -715,8 +715,8 @@ _Appears in:_ | `postDeploymentTaskStatus` _[TaskStatus](#taskstatus) array_ | | | `preDeploymentEvaluationTaskStatus` _[EvaluationStatus](#evaluationstatus) array_ | | | `postDeploymentEvaluationTaskStatus` _[EvaluationStatus](#evaluationstatus) array_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | | `currentPhase` _string_ | | | `phaseTraceIDs` _object (keys:string, values:object)_ | | | `status` _KeptnState_ | | @@ -734,7 +734,7 @@ KeptnWorkloadList contains a list of KeptnWorkload | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnWorkloadList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnWorkload](#keptnworkload) array_ | | @@ -887,8 +887,8 @@ _Appears in:_ | `taskDefinitionName` _string_ | | | `status` _KeptnState_ | | | `taskName` _string_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | #### WorkloadStatus diff --git a/docs/content/en/docs/crd-ref/lifecycle/v1alpha2/_index.md b/docs/content/en/docs/crd-ref/lifecycle/v1alpha2/_index.md index 12f43f676a..1775147779 100644 --- a/docs/content/en/docs/crd-ref/lifecycle/v1alpha2/_index.md +++ b/docs/content/en/docs/crd-ref/lifecycle/v1alpha2/_index.md @@ -156,8 +156,8 @@ _Appears in:_ | `definitionName` _string_ | DefinitionName is the name of the EvaluationDefinition/TaskDefiniton | | `status` _KeptnState_ | | | `name` _string_ | Name is the name of the Evaluation/Task | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | #### KeptnApp @@ -173,7 +173,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnApp` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnAppSpec](#keptnappspec)_ | | | `status` _[KeptnAppStatus](#keptnappstatus)_ | | @@ -190,7 +190,7 @@ KeptnAppList contains a list of KeptnApp | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnAppList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnApp](#keptnapp) array_ | | @@ -242,7 +242,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnAppVersion` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnAppVersionSpec](#keptnappversionspec)_ | | | `status` _[KeptnAppVersionStatus](#keptnappversionstatus)_ | | @@ -259,7 +259,7 @@ KeptnAppVersionList contains a list of KeptnAppVersion | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnAppVersionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnAppVersion](#keptnappversion) array_ | | @@ -310,8 +310,8 @@ _Appears in:_ | `postDeploymentEvaluationTaskStatus` _[ItemStatus](#itemstatus) array_ | | | `phaseTraceIDs` _object (keys:string, values:object)_ | | | `status` _KeptnState_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | #### KeptnEvaluation @@ -327,7 +327,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnEvaluation` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationSpec](#keptnevaluationspec)_ | | | `status` _[KeptnEvaluationStatus](#keptnevaluationstatus)_ | | @@ -345,7 +345,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnEvaluationDefinition` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationDefinitionSpec](#keptnevaluationdefinitionspec)_ | | | `status` _string_ | unused field | @@ -362,7 +362,7 @@ KeptnEvaluationDefinitionList contains a list of KeptnEvaluationDefinition | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnEvaluationDefinitionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluationDefinition](#keptnevaluationdefinition) array_ | | @@ -393,7 +393,7 @@ KeptnEvaluationList contains a list of KeptnEvaluation | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnEvaluationList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluation](#keptnevaluation) array_ | | @@ -410,7 +410,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnEvaluationProvider` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationProviderSpec](#keptnevaluationproviderspec)_ | | | `status` _string_ | unused field | @@ -427,7 +427,7 @@ KeptnEvaluationProviderList contains a list of KeptnEvaluationProvider | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnEvaluationProviderList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluationProvider](#keptnevaluationprovider) array_ | | @@ -443,7 +443,7 @@ _Appears in:_ | Field | Description | | --- | --- | | `targetServer` _string_ | | -| `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#secretkeyselector-v1-core)_ | | +| `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#secretkeyselector-v1-core)_ | | #### KeptnEvaluationSpec @@ -463,7 +463,7 @@ _Appears in:_ | `appVersion` _string_ | | | `evaluationDefinition` _string_ | | | `retries` _integer_ | | -| `retryInterval` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#duration-v1-meta)_ | | +| `retryInterval` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#duration-v1-meta)_ | | | `failAction` _string_ | | | `checkType` _CheckType_ | | @@ -482,8 +482,8 @@ _Appears in:_ | `retryCount` _integer_ | | | `evaluationStatus` _object (keys:string, values:[EvaluationStatusItem](#evaluationstatusitem))_ | | | `overallStatus` _KeptnState_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | #### KeptnTask @@ -499,7 +499,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnTask` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnTaskSpec](#keptntaskspec)_ | | | `status` _[KeptnTaskStatus](#keptntaskstatus)_ | | @@ -517,7 +517,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnTaskDefinition` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnTaskDefinitionSpec](#keptntaskdefinitionspec)_ | | | `status` _[KeptnTaskDefinitionStatus](#keptntaskdefinitionstatus)_ | | @@ -534,7 +534,7 @@ KeptnTaskDefinitionList contains a list of KeptnTaskDefinition | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnTaskDefinitionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnTaskDefinition](#keptntaskdefinition) array_ | | @@ -578,7 +578,7 @@ KeptnTaskList contains a list of KeptnTask | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnTaskList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnTask](#keptntask) array_ | | @@ -618,8 +618,8 @@ _Appears in:_ | `jobName` _string_ | | | `status` _KeptnState_ | | | `message` _string_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | #### KeptnWorkload @@ -635,7 +635,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnWorkload` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnWorkloadSpec](#keptnworkloadspec)_ | | | `status` _[KeptnWorkloadStatus](#keptnworkloadstatus)_ | | @@ -653,7 +653,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnWorkloadInstance` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnWorkloadInstanceSpec](#keptnworkloadinstancespec)_ | | | `status` _[KeptnWorkloadInstanceStatus](#keptnworkloadinstancestatus)_ | | @@ -670,7 +670,7 @@ KeptnWorkloadInstanceList contains a list of KeptnWorkloadInstance | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnWorkloadInstanceList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnWorkloadInstance](#keptnworkloadinstance) array_ | | @@ -717,8 +717,8 @@ _Appears in:_ | `postDeploymentTaskStatus` _[ItemStatus](#itemstatus) array_ | | | `preDeploymentEvaluationTaskStatus` _[ItemStatus](#itemstatus) array_ | | | `postDeploymentEvaluationTaskStatus` _[ItemStatus](#itemstatus) array_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | | `currentPhase` _string_ | | | `phaseTraceIDs` _object (keys:string, values:object)_ | | | `status` _KeptnState_ | | @@ -736,7 +736,7 @@ KeptnWorkloadList contains a list of KeptnWorkload | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnWorkloadList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnWorkload](#keptnworkload) array_ | | diff --git a/docs/content/en/docs/crd-ref/lifecycle/v1alpha3/_index.md b/docs/content/en/docs/crd-ref/lifecycle/v1alpha3/_index.md index e6ac79ab04..873db76123 100644 --- a/docs/content/en/docs/crd-ref/lifecycle/v1alpha3/_index.md +++ b/docs/content/en/docs/crd-ref/lifecycle/v1alpha3/_index.md @@ -66,20 +66,20 @@ _Appears in:_ | `command` _string array_ | Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell | | `args` _string array_ | Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell | | `workingDir` _string_ | Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. | -| `ports` _[ContainerPort](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#containerport-v1-core) array_ | List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. | -| `envFrom` _[EnvFromSource](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#envfromsource-v1-core) array_ | List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. | -| `env` _[EnvVar](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#envvar-v1-core) array_ | List of environment variables to set in the container. Cannot be updated. | -| `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#resourcerequirements-v1-core)_ | Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | -| `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#volumemount-v1-core) array_ | Pod volumes to mount into the container's filesystem. Cannot be updated. | -| `volumeDevices` _[VolumeDevice](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#volumedevice-v1-core) array_ | volumeDevices is the list of block devices to be used by the container. | -| `livenessProbe` _[Probe](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#probe-v1-core)_ | Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes | -| `readinessProbe` _[Probe](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#probe-v1-core)_ | Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes | -| `startupProbe` _[Probe](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#probe-v1-core)_ | StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes | -| `lifecycle` _[Lifecycle](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#lifecycle-v1-core)_ | Actions that the management system should take in response to container lifecycle events. Cannot be updated. | +| `ports` _[ContainerPort](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#containerport-v1-core) array_ | List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. | +| `envFrom` _[EnvFromSource](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#envfromsource-v1-core) array_ | List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. | +| `env` _[EnvVar](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#envvar-v1-core) array_ | List of environment variables to set in the container. Cannot be updated. | +| `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#resourcerequirements-v1-core)_ | Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | +| `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#volumemount-v1-core) array_ | Pod volumes to mount into the container's filesystem. Cannot be updated. | +| `volumeDevices` _[VolumeDevice](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#volumedevice-v1-core) array_ | volumeDevices is the list of block devices to be used by the container. | +| `livenessProbe` _[Probe](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#probe-v1-core)_ | Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes | +| `readinessProbe` _[Probe](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#probe-v1-core)_ | Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes | +| `startupProbe` _[Probe](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#probe-v1-core)_ | StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes | +| `lifecycle` _[Lifecycle](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#lifecycle-v1-core)_ | Actions that the management system should take in response to container lifecycle events. Cannot be updated. | | `terminationMessagePath` _string_ | Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. | -| `terminationMessagePolicy` _[TerminationMessagePolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#terminationmessagepolicy-v1-core)_ | Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. | -| `imagePullPolicy` _[PullPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#pullpolicy-v1-core)_ | Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images | -| `securityContext` _[SecurityContext](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#securitycontext-v1-core)_ | SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ | +| `terminationMessagePolicy` _[TerminationMessagePolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#terminationmessagepolicy-v1-core)_ | Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. | +| `imagePullPolicy` _[PullPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#pullpolicy-v1-core)_ | Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images | +| `securityContext` _[SecurityContext](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#securitycontext-v1-core)_ | SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ | | `stdin` _boolean_ | Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. | | `stdinOnce` _boolean_ | Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false | | `tty` _boolean_ | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. | @@ -172,8 +172,8 @@ _Appears in:_ | `definitionName` _string_ | DefinitionName is the name of the EvaluationDefinition/TaskDefiniton | | `status` _KeptnState_ | | | `name` _string_ | Name is the name of the Evaluation/Task | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | StartTime represents the time at which the Item (Evaluation/Task) started. | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | EndTime represents the time at which the Item (Evaluation/Task) started. | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | StartTime represents the time at which the Item (Evaluation/Task) started. | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | EndTime represents the time at which the Item (Evaluation/Task) started. | #### KeptnApp @@ -189,7 +189,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnApp` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnAppSpec](#keptnappspec)_ | Spec describes the desired state of the KeptnApp. | | `status` _[KeptnAppStatus](#keptnappstatus)_ | Status describes the current state of the KeptnApp. | @@ -207,7 +207,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnAppCreationRequest` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnAppCreationRequestSpec](#keptnappcreationrequestspec)_ | Spec describes the desired state of the KeptnAppCreationRequest. | | `status` _string_ | Status describes the current state of the KeptnAppCreationRequest. | @@ -224,7 +224,7 @@ KeptnAppCreationRequestList contains a list of KeptnAppCreationRequest | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnAppCreationRequestList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnAppCreationRequest](#keptnappcreationrequest) array_ | | @@ -254,7 +254,7 @@ KeptnAppList contains a list of KeptnApp | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnAppList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnApp](#keptnapp) array_ | | @@ -306,7 +306,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnAppVersion` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnAppVersionSpec](#keptnappversionspec)_ | Spec describes the desired state of the KeptnAppVersion. | | `status` _[KeptnAppVersionStatus](#keptnappversionstatus)_ | Status describes the current state of the KeptnAppVersion. | @@ -323,7 +323,7 @@ KeptnAppVersionList contains a list of KeptnAppVersion | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnAppVersionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnAppVersion](#keptnappversion) array_ | | @@ -374,8 +374,8 @@ _Appears in:_ | `postDeploymentEvaluationTaskStatus` _[ItemStatus](#itemstatus) array_ | PostDeploymentEvaluationTaskStatus indicates the current state of each postDeploymentEvaluation of the KeptnAppVersion. | | `phaseTraceIDs` _object (keys:string, values:object)_ | PhaseTraceIDs contains the trace IDs of the OpenTelemetry spans of each phase of the KeptnAppVersion. | | `status` _KeptnState_ | Status represents the overall status of the KeptnAppVersion. | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | StartTime represents the time at which the deployment of the KeptnAppVersion started. | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | EndTime represents the time at which the deployment of the KeptnAppVersion finished. | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | StartTime represents the time at which the deployment of the KeptnAppVersion started. | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | EndTime represents the time at which the deployment of the KeptnAppVersion finished. | #### KeptnEvaluation @@ -391,7 +391,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnEvaluation` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationSpec](#keptnevaluationspec)_ | Spec describes the desired state of the KeptnEvaluation. | | `status` _[KeptnEvaluationStatus](#keptnevaluationstatus)_ | Status describes the current state of the KeptnEvaluation. | @@ -409,7 +409,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnEvaluationDefinition` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationDefinitionSpec](#keptnevaluationdefinitionspec)_ | Spec describes the desired state of the KeptnEvaluationDefinition. | | `status` _string_ | unused field | @@ -426,7 +426,7 @@ KeptnEvaluationDefinitionList contains a list of KeptnEvaluationDefinition | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnEvaluationDefinitionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluationDefinition](#keptnevaluationdefinition) array_ | | @@ -456,7 +456,7 @@ KeptnEvaluationList contains a list of KeptnEvaluation | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnEvaluationList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluation](#keptnevaluation) array_ | | @@ -473,7 +473,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnEvaluationProvider` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationProviderSpec](#keptnevaluationproviderspec)_ | | | `status` _string_ | unused field | @@ -490,7 +490,7 @@ KeptnEvaluationProviderList contains a list of KeptnEvaluationProvider | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnEvaluationProviderList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluationProvider](#keptnevaluationprovider) array_ | | @@ -506,7 +506,7 @@ _Appears in:_ | Field | Description | | --- | --- | | `targetServer` _string_ | | -| `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#secretkeyselector-v1-core)_ | | +| `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#secretkeyselector-v1-core)_ | | #### KeptnEvaluationSpec @@ -526,7 +526,7 @@ _Appears in:_ | `appVersion` _string_ | AppVersion defines the version of the KeptnApp for which the KeptnEvaluation is done. | | `evaluationDefinition` _string_ | EvaluationDefinition refers to the name of the KeptnEvaluationDefinition which includes the objectives for the KeptnEvaluation. The KeptnEvaluationDefinition can be located in the same namespace as the KeptnEvaluation, or in the KLT namespace. | | `retries` _integer_ | Retries indicates how many times the KeptnEvaluation can be attempted in the case of an error or missed evaluation objective, before considering the KeptnEvaluation to be failed. | -| `retryInterval` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#duration-v1-meta)_ | RetryInterval specifies the interval at which the KeptnEvaluation is retried in the case of an error or a missed objective. | +| `retryInterval` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#duration-v1-meta)_ | RetryInterval specifies the interval at which the KeptnEvaluation is retried in the case of an error or a missed objective. | | `failAction` _string_ | | | `checkType` _CheckType_ | Type indicates whether the KeptnEvaluation is part of the pre- or postDeployment phase. | @@ -545,8 +545,8 @@ _Appears in:_ | `retryCount` _integer_ | RetryCount indicates how many times the KeptnEvaluation has been attempted already. | | `evaluationStatus` _object (keys:string, values:[EvaluationStatusItem](#evaluationstatusitem))_ | EvaluationStatus describes the status of each objective of the KeptnEvaluationDefinition referenced by the KeptnEvaluation. | | `overallStatus` _KeptnState_ | OverallStatus describes the overall status of the KeptnEvaluation. The Overall status is derived from the status of the individual objectives of the KeptnEvaluationDefinition referenced by the KeptnEvaluation. | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | StartTime represents the time at which the KeptnEvaluation started. | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | EndTime represents the time at which the KeptnEvaluation finished. | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | StartTime represents the time at which the KeptnEvaluation started. | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | EndTime represents the time at which the KeptnEvaluation finished. | #### KeptnMetricReference @@ -577,7 +577,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnTask` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnTaskSpec](#keptntaskspec)_ | Spec describes the desired state of the KeptnTask. | | `status` _[KeptnTaskStatus](#keptntaskstatus)_ | Status describes the current state of the KeptnTask. | @@ -595,7 +595,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnTaskDefinition` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnTaskDefinitionSpec](#keptntaskdefinitionspec)_ | Spec describes the desired state of the KeptnTaskDefinition. | | `status` _[KeptnTaskDefinitionStatus](#keptntaskdefinitionstatus)_ | Status describes the current state of the KeptnTaskDefinition. | @@ -612,7 +612,7 @@ KeptnTaskDefinitionList contains a list of KeptnTaskDefinition | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnTaskDefinitionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnTaskDefinition](#keptntaskdefinition) array_ | | @@ -632,7 +632,7 @@ _Appears in:_ | `deno` _[RuntimeSpec](#runtimespec)_ | Deno contains the definition for the Deno function that is to be executed in KeptnTasks based on the KeptnTaskDefinitions. | | `container` _[ContainerSpec](#containerspec)_ | Container contains the definition for the container that is to be used in Job based on the KeptnTaskDefinitions. | | `retries` _integer_ | Retries specifies how many times a job executing the KeptnTaskDefinition should be restarted in the case of an unsuccessful attempt. | -| `timeout` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#duration-v1-meta)_ | Timeout specifies the maximum time to wait for the task to be completed successfully. If the task does not complete successfully within this time frame, it will be considered to be failed. | +| `timeout` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#duration-v1-meta)_ | Timeout specifies the maximum time to wait for the task to be completed successfully. If the task does not complete successfully within this time frame, it will be considered to be failed. | #### KeptnTaskDefinitionStatus @@ -661,7 +661,7 @@ KeptnTaskList contains a list of KeptnTask | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnTaskList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnTask](#keptntask) array_ | | @@ -686,7 +686,7 @@ _Appears in:_ | `secureParameters` _[SecureParameters](#secureparameters)_ | SecureParameters contains secure parameters that will be passed to the job that executes the task. These will be stored and accessed as secrets in the cluster. | | `checkType` _CheckType_ | Type indicates whether the KeptnTask is part of the pre- or postDeployment phase. | | `retries` _integer_ | Retries indicates how many times the KeptnTask can be attempted in the case of an error before considering the KeptnTask to be failed. | -| `timeout` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#duration-v1-meta)_ | Timeout specifies the maximum time to wait for the task to be completed successfully. If the task does not complete successfully within this time frame, it will be considered to be failed. | +| `timeout` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#duration-v1-meta)_ | Timeout specifies the maximum time to wait for the task to be completed successfully. If the task does not complete successfully within this time frame, it will be considered to be failed. | #### KeptnTaskStatus @@ -703,8 +703,8 @@ _Appears in:_ | `jobName` _string_ | JobName is the name of the Job executing the Task. | | `status` _KeptnState_ | Status represents the overall state of the KeptnTask. | | `message` _string_ | Message contains information about unexpected errors encountered during the execution of the KeptnTask. | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | StartTime represents the time at which the KeptnTask started. | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | EndTime represents the time at which the KeptnTask finished. | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | StartTime represents the time at which the KeptnTask started. | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | EndTime represents the time at which the KeptnTask finished. | | `reason` _string_ | Reason contains more information about the reason for the last transition of the Job executing the KeptnTask. | @@ -721,7 +721,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnWorkload` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnWorkloadSpec](#keptnworkloadspec)_ | Spec describes the desired state of the KeptnWorkload. | | `status` _[KeptnWorkloadStatus](#keptnworkloadstatus)_ | Status describes the current state of the KeptnWorkload. | @@ -739,7 +739,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnWorkloadInstance` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnWorkloadInstanceSpec](#keptnworkloadinstancespec)_ | Spec describes the desired state of the KeptnWorkloadInstance. | | `status` _[KeptnWorkloadInstanceStatus](#keptnworkloadinstancestatus)_ | Status describes the current state of the KeptnWorkloadInstance. | @@ -756,7 +756,7 @@ KeptnWorkloadInstanceList contains a list of KeptnWorkloadInstance | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnWorkloadInstanceList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnWorkloadInstance](#keptnworkloadinstance) array_ | | @@ -803,8 +803,8 @@ _Appears in:_ | `postDeploymentTaskStatus` _[ItemStatus](#itemstatus) array_ | PostDeploymentTaskStatus indicates the current state of each postDeploymentTask of the KeptnWorkloadInstance. | | `preDeploymentEvaluationTaskStatus` _[ItemStatus](#itemstatus) array_ | PreDeploymentEvaluationTaskStatus indicates the current state of each preDeploymentEvaluation of the KeptnWorkloadInstance. | | `postDeploymentEvaluationTaskStatus` _[ItemStatus](#itemstatus) array_ | PostDeploymentEvaluationTaskStatus indicates the current state of each postDeploymentEvaluation of the KeptnWorkloadInstance. | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | StartTime represents the time at which the deployment of the KeptnWorkloadInstance started. | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | EndTime represents the time at which the deployment of the KeptnWorkloadInstance finished. | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | StartTime represents the time at which the deployment of the KeptnWorkloadInstance started. | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | EndTime represents the time at which the deployment of the KeptnWorkloadInstance finished. | | `currentPhase` _string_ | CurrentPhase indicates the current phase of the KeptnWorkloadInstance. This can be: - PreDeploymentTasks - PreDeploymentEvaluations - Deployment - PostDeploymentTasks - PostDeploymentEvaluations | | `phaseTraceIDs` _object (keys:string, values:object)_ | PhaseTraceIDs contains the trace IDs of the OpenTelemetry spans of each phase of the KeptnWorkloadInstance | | `status` _KeptnState_ | Status represents the overall status of the KeptnWorkloadInstance. | @@ -822,7 +822,7 @@ KeptnWorkloadList contains a list of KeptnWorkload | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnWorkloadList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnWorkload](#keptnworkload) array_ | | diff --git a/docs/content/en/docs/crd-ref/metrics/v1alpha1/_index.md b/docs/content/en/docs/crd-ref/metrics/v1alpha1/_index.md index 39b19f99ba..aa44457be5 100644 --- a/docs/content/en/docs/crd-ref/metrics/v1alpha1/_index.md +++ b/docs/content/en/docs/crd-ref/metrics/v1alpha1/_index.md @@ -31,7 +31,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnMetric` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnMetricSpec](#keptnmetricspec)_ | | | `status` _[KeptnMetricStatus](#keptnmetricstatus)_ | | @@ -48,7 +48,7 @@ KeptnMetricList contains a list of KeptnMetric | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnMetricList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnMetric](#keptnmetric) array_ | | @@ -81,7 +81,7 @@ _Appears in:_ | --- | --- | | `value` _string_ | Value represents the resulting value | | `rawValue` _integer array_ | RawValue represents the resulting value in raw format | -| `lastUpdated` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | LastUpdated represents the time when the status data was last updated | +| `lastUpdated` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | LastUpdated represents the time when the status data was last updated | #### ProviderRef diff --git a/docs/content/en/docs/crd-ref/metrics/v1alpha2/_index.md b/docs/content/en/docs/crd-ref/metrics/v1alpha2/_index.md index bd758cc8b4..0f6bff6a8f 100644 --- a/docs/content/en/docs/crd-ref/metrics/v1alpha2/_index.md +++ b/docs/content/en/docs/crd-ref/metrics/v1alpha2/_index.md @@ -33,7 +33,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnMetric` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnMetricSpec](#keptnmetricspec)_ | | | `status` _[KeptnMetricStatus](#keptnmetricstatus)_ | | @@ -50,7 +50,7 @@ KeptnMetricList contains a list of KeptnMetric | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnMetricList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnMetric](#keptnmetric) array_ | | @@ -83,7 +83,7 @@ _Appears in:_ | --- | --- | | `value` _string_ | Value represents the resulting value | | `rawValue` _integer array_ | RawValue represents the resulting value in raw format | -| `lastUpdated` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | LastUpdated represents the time when the status data was last updated | +| `lastUpdated` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | LastUpdated represents the time when the status data was last updated | #### KeptnMetricsProvider @@ -99,7 +99,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnMetricsProvider` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnMetricsProviderSpec](#keptnmetricsproviderspec)_ | | | `status` _string_ | unused field | @@ -116,7 +116,7 @@ KeptnMetricsProviderList contains a list of KeptnMetricsProvider | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnMetricsProviderList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnMetricsProvider](#keptnmetricsprovider) array_ | | @@ -132,7 +132,7 @@ _Appears in:_ | Field | Description | | --- | --- | | `targetServer` _string_ | | -| `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#secretkeyselector-v1-core)_ | | +| `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#secretkeyselector-v1-core)_ | | #### ProviderRef diff --git a/docs/content/en/docs/crd-ref/metrics/v1alpha3/_index.md b/docs/content/en/docs/crd-ref/metrics/v1alpha3/_index.md index 1732420d81..06c846ce05 100644 --- a/docs/content/en/docs/crd-ref/metrics/v1alpha3/_index.md +++ b/docs/content/en/docs/crd-ref/metrics/v1alpha3/_index.md @@ -13,6 +13,10 @@ description: Reference information for metrics.keptn.sh/v1alpha3 Package v1alpha3 contains API Schema definitions for the metrics v1alpha3 API group ### Resource Types +- [Analysis](#analysis) +- [AnalysisDefinition](#analysisdefinition) +- [AnalysisDefinitionList](#analysisdefinitionlist) +- [AnalysisList](#analysislist) - [KeptnMetric](#keptnmetric) - [KeptnMetricList](#keptnmetriclist) - [KeptnMetricsProvider](#keptnmetricsprovider) @@ -20,6 +24,105 @@ Package v1alpha3 contains API Schema definitions for the metrics v1alpha3 API gr +#### Analysis + + + +Analysis is the Schema for the analyses API + +_Appears in:_ +- [AnalysisList](#analysislist) + +| Field | Description | +| --- | --- | +| `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` +| `kind` _string_ | `Analysis` +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `spec` _[AnalysisSpec](#analysisspec)_ | | +| `status` _string_ | | + + +#### AnalysisDefinition + + + +AnalysisDefinition is the Schema for the analysisdefinitions APIs + +_Appears in:_ +- [AnalysisDefinitionList](#analysisdefinitionlist) + +| Field | Description | +| --- | --- | +| `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` +| `kind` _string_ | `AnalysisDefinition` +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `spec` _[AnalysisDefinitionSpec](#analysisdefinitionspec)_ | | +| `status` _string_ | unused field | + + +#### AnalysisDefinitionList + + + +AnalysisDefinitionList contains a list of AnalysisDefinition + + + +| Field | Description | +| --- | --- | +| `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` +| `kind` _string_ | `AnalysisDefinitionList` +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `items` _[AnalysisDefinition](#analysisdefinition) array_ | | + + +#### AnalysisDefinitionSpec + + + +AnalysisDefinitionSpec defines the desired state of AnalysisDefinition + +_Appears in:_ +- [AnalysisDefinition](#analysisdefinition) + +| Field | Description | +| --- | --- | +| `objectives` _[Objective](#objective) array_ | Objectives defines a list of objectives to evaluate for an analysis | +| `totalScore` _[TotalScore](#totalscore)_ | TotalScore defines the required score for an analysis to be successful | + + +#### AnalysisList + + + +AnalysisList contains a list of Analysis + + + +| Field | Description | +| --- | --- | +| `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` +| `kind` _string_ | `AnalysisList` +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `items` _[Analysis](#analysis) array_ | | + + +#### AnalysisSpec + + + +AnalysisSpec defines the desired state of Analysis + +_Appears in:_ +- [Analysis](#analysis) + +| Field | Description | +| --- | --- | +| `timeframe` _[Timeframe](#timeframe)_ | Timeframe specifies the range for the corresponding query in the AnalysisValueTemplate | +| `args` _object (keys:string, values:string)_ | Args corresponds to a map of key/value pairs that can be used to substitute placeholders in the AnalysisValueTemplate query. The placeholder must be the capitalized version of the key; i.e. for args foo:bar the query could be "query:percentile(95)?scope=tag(my_foo_label:{{.Foo}})". | +| `analysisDefinition` _[ObjectReference](#objectreference)_ | AnalysisDefinition refers to the AnalysisDefinition, a CRD that stores the AnalysisValuesTemplates | + + #### KeptnMetric @@ -33,7 +136,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnMetric` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnMetricSpec](#keptnmetricspec)_ | | | `status` _[KeptnMetricStatus](#keptnmetricstatus)_ | | @@ -50,7 +153,7 @@ KeptnMetricList contains a list of KeptnMetric | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnMetricList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnMetric](#keptnmetric) array_ | | @@ -84,7 +187,7 @@ _Appears in:_ | --- | --- | | `value` _string_ | Value represents the resulting value | | `rawValue` _integer array_ | RawValue represents the resulting value in raw format | -| `lastUpdated` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | LastUpdated represents the time when the status data was last updated | +| `lastUpdated` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | LastUpdated represents the time when the status data was last updated | | `errMsg` _string_ | ErrMsg represents the error details when the query could not be evaluated | @@ -101,7 +204,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnMetricsProvider` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnMetricsProviderSpec](#keptnmetricsproviderspec)_ | | | `status` _string_ | unused field | @@ -118,7 +221,7 @@ KeptnMetricsProviderList contains a list of KeptnMetricsProvider | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnMetricsProviderList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnMetricsProvider](#keptnmetricsprovider) array_ | | @@ -135,7 +238,72 @@ _Appears in:_ | --- | --- | | `type` _string_ | Type represents the provider type. This can be one of prometheus, dynatrace, datadog, dql. | | `targetServer` _string_ | TargetServer defined the URL at which the metrics provider is reachable with included port and protocol. | -| `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#secretkeyselector-v1-core)_ | SecretKeyRef defines an optional secret for access credentials to the metrics provider. | +| `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#secretkeyselector-v1-core)_ | SecretKeyRef defines an optional secret for access credentials to the metrics provider. | + + +#### ObjectReference + + + + + +_Appears in:_ +- [AnalysisSpec](#analysisspec) +- [Objective](#objective) + +| Field | Description | +| --- | --- | +| `name` _string_ | Name defines the name of the referenced object | +| `namespace` _string_ | Namespace defines the namespace of the referenced object | + + +#### Objective + + + +Objective defines an objective for analysis + +_Appears in:_ +- [AnalysisDefinitionSpec](#analysisdefinitionspec) + +| Field | Description | +| --- | --- | +| `analysisValueTemplateRef` _[ObjectReference](#objectreference)_ | AnalysisValueTemplateRef refers to the appropriate AnalysisValueTemplate | +| `target` _[Target](#target)_ | Target defines failure or warning criteria | +| `weight` _integer_ | Weight can be used to emphasize the importance of one Objective over the others | +| `keyObjective` _boolean_ | KeyObjective defines whether the whole analysis fails when this objective's target is not met | + + +#### Operator + + + +Operator specifies the supported operators for value comparisons + +_Appears in:_ +- [Target](#target) + +| Field | Description | +| --- | --- | +| `lessThanOrEqual` _[OperatorValue](#operatorvalue)_ | LessThanOrEqual represents '<=' operator | +| `lessThan` _[OperatorValue](#operatorvalue)_ | LessThan represents '<' operator | +| `greaterThan` _[OperatorValue](#operatorvalue)_ | GreaterThan represents '>' operator | +| `greaterThanOrEqual` _[OperatorValue](#operatorvalue)_ | GreaterThanOrEqual represents '>=' operator | +| `equalTo` _[OperatorValue](#operatorvalue)_ | EqualTo represents '==' operator | + + +#### OperatorValue + + + +OperatorValue represents the value to which the result is compared + +_Appears in:_ +- [Operator](#operator) + +| Field | Description | +| --- | --- | +| `fixedValue` _Quantity_ | FixedValue defines the value for comparison | #### ProviderRef @@ -165,6 +333,51 @@ _Appears in:_ | --- | --- | | `interval` _string_ | Interval specifies the duration of the time interval for the data query | | `step` _string_ | Step represents the query resolution step width for the data query | -| `aggregation` _string_ | Aggregation defines as the type of aggregation function to be applied on the data. Accepted values: p90, p95, p99, max, min, avg, median | +| `aggregation` _string_ | Aggregation defines the type of aggregation function to be applied on the data. Accepted values: p90, p95, p99, max, min, avg, median | + + +#### Target + + + +Target defines the failure and warning criteria + +_Appears in:_ +- [Objective](#objective) + +| Field | Description | +| --- | --- | +| `failure` _[Operator](#operator)_ | Failure defines limits up to which an analysis fails | +| `warning` _[Operator](#operator)_ | Warning defines limits where the result does not pass or fail | + + +#### Timeframe + + + + + +_Appears in:_ +- [AnalysisSpec](#analysisspec) + +| Field | Description | +| --- | --- | +| `from` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | From is the time of start for the query, this field follows RFC3339 time format | +| `to` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | To is the time of end for the query, this field follows RFC3339 time format | + + +#### TotalScore + + + +TotalScore defines the required score for an analysis to be successful + +_Appears in:_ +- [AnalysisDefinitionSpec](#analysisdefinitionspec) + +| Field | Description | +| --- | --- | +| `passPercentage` _integer_ | PassPercentage defines the threshold to reach for an analysis to pass | +| `warningPercentage` _integer_ | WarningPercentage defines the threshold to reach for an analysis to pass with a 'warning' status | diff --git a/docs/content/en/docs/crd-ref/options/v1alpha1/_index.md b/docs/content/en/docs/crd-ref/options/v1alpha1/_index.md index d3d3bf9661..362731897c 100644 --- a/docs/content/en/docs/crd-ref/options/v1alpha1/_index.md +++ b/docs/content/en/docs/crd-ref/options/v1alpha1/_index.md @@ -31,7 +31,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `options.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnConfig` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnConfigSpec](#keptnconfigspec)_ | | | `status` _string_ | unused field | @@ -48,7 +48,7 @@ KeptnConfigList contains a list of KeptnConfig | --- | --- | | `apiVersion` _string_ | `options.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnConfigList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnConfig](#keptnconfig) array_ | | diff --git a/metrics-operator/api/v1alpha3/zz_generated.deepcopy.go b/metrics-operator/api/v1alpha3/zz_generated.deepcopy.go index 9ed795b63c..a0bbc15960 100644 --- a/metrics-operator/api/v1alpha3/zz_generated.deepcopy.go +++ b/metrics-operator/api/v1alpha3/zz_generated.deepcopy.go @@ -52,31 +52,25 @@ func (in *Analysis) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AnalysisList) DeepCopyInto(out *AnalysisList) { +func (in *AnalysisDefinition) DeepCopyInto(out *AnalysisDefinition) { *out = *in out.TypeMeta = in.TypeMeta - in.ListMeta.DeepCopyInto(&out.ListMeta) - if in.Items != nil { - in, out := &in.Items, &out.Items - *out = make([]Analysis, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) - } - } + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisList. -func (in *AnalysisList) DeepCopy() *AnalysisList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisDefinition. +func (in *AnalysisDefinition) DeepCopy() *AnalysisDefinition { if in == nil { return nil } - out := new(AnalysisList) + out := new(AnalysisDefinition) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *AnalysisList) DeepCopyObject() runtime.Object { +func (in *AnalysisDefinition) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -84,81 +78,86 @@ func (in *AnalysisList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AnalysisSpec) DeepCopyInto(out *AnalysisSpec) { +func (in *AnalysisDefinitionList) DeepCopyInto(out *AnalysisDefinitionList) { *out = *in - in.Timeframe.DeepCopyInto(&out.Timeframe) - if in.Args != nil { - in, out := &in.Args, &out.Args - *out = make(map[string]string, len(*in)) - for key, val := range *in { - (*out)[key] = val + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]AnalysisDefinition, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) } } - out.AnalysisDefinition = in.AnalysisDefinition } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisSpec. -func (in *AnalysisSpec) DeepCopy() *AnalysisSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisDefinitionList. +func (in *AnalysisDefinitionList) DeepCopy() *AnalysisDefinitionList { if in == nil { return nil } - out := new(AnalysisSpec) + out := new(AnalysisDefinitionList) in.DeepCopyInto(out) return out } +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *AnalysisDefinitionList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AnalysisDefinition) DeepCopyInto(out *AnalysisDefinition) { +func (in *AnalysisDefinitionSpec) DeepCopyInto(out *AnalysisDefinitionSpec) { *out = *in - out.TypeMeta = in.TypeMeta - in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) - in.Spec.DeepCopyInto(&out.Spec) + if in.Objectives != nil { + in, out := &in.Objectives, &out.Objectives + *out = make([]Objective, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + out.TotalScore = in.TotalScore } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisDefinition. -func (in *AnalysisDefinition) DeepCopy() *AnalysisDefinition { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisDefinitionSpec. +func (in *AnalysisDefinitionSpec) DeepCopy() *AnalysisDefinitionSpec { if in == nil { return nil } - out := new(AnalysisDefinition) + out := new(AnalysisDefinitionSpec) in.DeepCopyInto(out) return out } -// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *AnalysisDefinition) DeepCopyObject() runtime.Object { - if c := in.DeepCopy(); c != nil { - return c - } - return nil -} - // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AnalysisDefinitionList) DeepCopyInto(out *AnalysisDefinitionList) { +func (in *AnalysisList) DeepCopyInto(out *AnalysisList) { *out = *in out.TypeMeta = in.TypeMeta in.ListMeta.DeepCopyInto(&out.ListMeta) if in.Items != nil { in, out := &in.Items, &out.Items - *out = make([]AnalysisDefinition, len(*in)) + *out = make([]Analysis, len(*in)) for i := range *in { (*in)[i].DeepCopyInto(&(*out)[i]) } } } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisDefinitionList. -func (in *AnalysisDefinitionList) DeepCopy() *AnalysisDefinitionList { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisList. +func (in *AnalysisList) DeepCopy() *AnalysisList { if in == nil { return nil } - out := new(AnalysisDefinitionList) + out := new(AnalysisList) in.DeepCopyInto(out) return out } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. -func (in *AnalysisDefinitionList) DeepCopyObject() runtime.Object { +func (in *AnalysisList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } @@ -166,24 +165,25 @@ func (in *AnalysisDefinitionList) DeepCopyObject() runtime.Object { } // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. -func (in *AnalysisDefinitionSpec) DeepCopyInto(out *AnalysisDefinitionSpec) { +func (in *AnalysisSpec) DeepCopyInto(out *AnalysisSpec) { *out = *in - if in.Objectives != nil { - in, out := &in.Objectives, &out.Objectives - *out = make([]Objective, len(*in)) - for i := range *in { - (*in)[i].DeepCopyInto(&(*out)[i]) + in.Timeframe.DeepCopyInto(&out.Timeframe) + if in.Args != nil { + in, out := &in.Args, &out.Args + *out = make(map[string]string, len(*in)) + for key, val := range *in { + (*out)[key] = val } } - out.TotalScore = in.TotalScore + out.AnalysisDefinition = in.AnalysisDefinition } -// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisDefinitionSpec. -func (in *AnalysisDefinitionSpec) DeepCopy() *AnalysisDefinitionSpec { +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnalysisSpec. +func (in *AnalysisSpec) DeepCopy() *AnalysisSpec { if in == nil { return nil } - out := new(AnalysisDefinitionSpec) + out := new(AnalysisSpec) in.DeepCopyInto(out) return out } @@ -363,6 +363,94 @@ func (in *KeptnMetricsProviderSpec) DeepCopy() *KeptnMetricsProviderSpec { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ObjectReference) DeepCopyInto(out *ObjectReference) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference. +func (in *ObjectReference) DeepCopy() *ObjectReference { + if in == nil { + return nil + } + out := new(ObjectReference) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Objective) DeepCopyInto(out *Objective) { + *out = *in + out.AnalysisValueTemplateRef = in.AnalysisValueTemplateRef + in.Target.DeepCopyInto(&out.Target) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Objective. +func (in *Objective) DeepCopy() *Objective { + if in == nil { + return nil + } + out := new(Objective) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Operator) DeepCopyInto(out *Operator) { + *out = *in + if in.LessThanOrEqual != nil { + in, out := &in.LessThanOrEqual, &out.LessThanOrEqual + *out = new(OperatorValue) + (*in).DeepCopyInto(*out) + } + if in.LessThan != nil { + in, out := &in.LessThan, &out.LessThan + *out = new(OperatorValue) + (*in).DeepCopyInto(*out) + } + if in.GreaterThan != nil { + in, out := &in.GreaterThan, &out.GreaterThan + *out = new(OperatorValue) + (*in).DeepCopyInto(*out) + } + if in.GreaterThanOrEqual != nil { + in, out := &in.GreaterThanOrEqual, &out.GreaterThanOrEqual + *out = new(OperatorValue) + (*in).DeepCopyInto(*out) + } + if in.EqualTo != nil { + in, out := &in.EqualTo, &out.EqualTo + *out = new(OperatorValue) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Operator. +func (in *Operator) DeepCopy() *Operator { + if in == nil { + return nil + } + out := new(Operator) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *OperatorValue) DeepCopyInto(out *OperatorValue) { + *out = *in + out.FixedValue = in.FixedValue.DeepCopy() +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorValue. +func (in *OperatorValue) DeepCopy() *OperatorValue { + if in == nil { + return nil + } + out := new(OperatorValue) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ProviderRef) DeepCopyInto(out *ProviderRef) { *out = *in @@ -392,3 +480,60 @@ func (in *RangeSpec) DeepCopy() *RangeSpec { in.DeepCopyInto(out) return out } + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Target) DeepCopyInto(out *Target) { + *out = *in + if in.Failure != nil { + in, out := &in.Failure, &out.Failure + *out = new(Operator) + (*in).DeepCopyInto(*out) + } + if in.Warning != nil { + in, out := &in.Warning, &out.Warning + *out = new(Operator) + (*in).DeepCopyInto(*out) + } +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Target. +func (in *Target) DeepCopy() *Target { + if in == nil { + return nil + } + out := new(Target) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Timeframe) DeepCopyInto(out *Timeframe) { + *out = *in + in.From.DeepCopyInto(&out.From) + in.To.DeepCopyInto(&out.To) +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Timeframe. +func (in *Timeframe) DeepCopy() *Timeframe { + if in == nil { + return nil + } + out := new(Timeframe) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TotalScore) DeepCopyInto(out *TotalScore) { + *out = *in +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TotalScore. +func (in *TotalScore) DeepCopy() *TotalScore { + if in == nil { + return nil + } + out := new(TotalScore) + in.DeepCopyInto(out) + return out +} diff --git a/metrics-operator/config/crd/bases/metrics.keptn.sh_analyses.yaml b/metrics-operator/config/crd/bases/metrics.keptn.sh_analyses.yaml index 8e9cbe8457..13e4e91103 100644 --- a/metrics-operator/config/crd/bases/metrics.keptn.sh_analyses.yaml +++ b/metrics-operator/config/crd/bases/metrics.keptn.sh_analyses.yaml @@ -43,12 +43,14 @@ spec: a CRD that stores the AnalysisValuesTemplates properties: name: + description: Name defines the name of the referenced object type: string namespace: + description: Namespace defines the namespace of the referenced + object type: string required: - name - - namespace type: object args: additionalProperties: From 793769b5bdf0e6cf94596dd0898a47f1695fdfaf Mon Sep 17 00:00:00 2001 From: realanna Date: Tue, 8 Aug 2023 16:25:07 +0200 Subject: [PATCH 3/4] chore: fix Signed-off-by: realanna --- .../crd-docs-generator-config.yaml | 2 +- .../docs/crd-ref/lifecycle/v1alpha1/_index.md | 62 ++++++------ .../docs/crd-ref/lifecycle/v1alpha2/_index.md | 60 ++++++------ .../docs/crd-ref/lifecycle/v1alpha3/_index.md | 94 +++++++++---------- .../docs/crd-ref/metrics/v1alpha1/_index.md | 6 +- .../docs/crd-ref/metrics/v1alpha2/_index.md | 12 +-- .../docs/crd-ref/metrics/v1alpha3/_index.md | 24 ++--- .../docs/crd-ref/options/v1alpha1/_index.md | 4 +- helm/chart/templates/analysis-crd.yaml | 2 +- 9 files changed, 133 insertions(+), 133 deletions(-) diff --git a/.github/scripts/generate-crd-docs/crd-docs-generator-config.yaml b/.github/scripts/generate-crd-docs/crd-docs-generator-config.yaml index 5a77665b7e..3dd0d4bb40 100644 --- a/.github/scripts/generate-crd-docs/crd-docs-generator-config.yaml +++ b/.github/scripts/generate-crd-docs/crd-docs-generator-config.yaml @@ -6,4 +6,4 @@ processor: - "TypeMeta$" - "EmptyStatus$" render: - kubernetesVersion: 1.26 + kubernetesVersion: 1.24 diff --git a/docs/content/en/docs/crd-ref/lifecycle/v1alpha1/_index.md b/docs/content/en/docs/crd-ref/lifecycle/v1alpha1/_index.md index a9b8f40bf0..e66645a631 100644 --- a/docs/content/en/docs/crd-ref/lifecycle/v1alpha1/_index.md +++ b/docs/content/en/docs/crd-ref/lifecycle/v1alpha1/_index.md @@ -65,8 +65,8 @@ _Appears in:_ | `evaluationDefinitionName` _string_ | | | `status` _KeptnState_ | | | `evaluationName` _string_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | #### EvaluationStatusItem @@ -173,7 +173,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnApp` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnAppSpec](#keptnappspec)_ | | | `status` _[KeptnAppStatus](#keptnappstatus)_ | | @@ -190,7 +190,7 @@ KeptnAppList contains a list of KeptnApp | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnAppList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnApp](#keptnapp) array_ | | @@ -241,7 +241,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnAppVersion` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnAppVersionSpec](#keptnappversionspec)_ | | | `status` _[KeptnAppVersionStatus](#keptnappversionstatus)_ | | @@ -258,7 +258,7 @@ KeptnAppVersionList contains a list of KeptnAppVersion | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnAppVersionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnAppVersion](#keptnappversion) array_ | | @@ -308,8 +308,8 @@ _Appears in:_ | `postDeploymentEvaluationTaskStatus` _[EvaluationStatus](#evaluationstatus) array_ | | | `phaseTraceIDs` _object (keys:string, values:object)_ | | | `status` _KeptnState_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | #### KeptnEvaluation @@ -325,7 +325,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnEvaluation` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationSpec](#keptnevaluationspec)_ | | | `status` _[KeptnEvaluationStatus](#keptnevaluationstatus)_ | | @@ -343,7 +343,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnEvaluationDefinition` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationDefinitionSpec](#keptnevaluationdefinitionspec)_ | | | `status` _string_ | unused field | @@ -360,7 +360,7 @@ KeptnEvaluationDefinitionList contains a list of KeptnEvaluationDefinition | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnEvaluationDefinitionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluationDefinition](#keptnevaluationdefinition) array_ | | @@ -391,7 +391,7 @@ KeptnEvaluationList contains a list of KeptnEvaluation | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnEvaluationList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluation](#keptnevaluation) array_ | | @@ -408,7 +408,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnEvaluationProvider` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationProviderSpec](#keptnevaluationproviderspec)_ | | | `status` _string_ | unused field | @@ -425,7 +425,7 @@ KeptnEvaluationProviderList contains a list of KeptnEvaluationProvider | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnEvaluationProviderList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluationProvider](#keptnevaluationprovider) array_ | | @@ -461,7 +461,7 @@ _Appears in:_ | `appVersion` _string_ | | | `evaluationDefinition` _string_ | | | `retries` _integer_ | | -| `retryInterval` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#duration-v1-meta)_ | | +| `retryInterval` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#duration-v1-meta)_ | | | `failAction` _string_ | | | `checkType` _CheckType_ | | @@ -480,8 +480,8 @@ _Appears in:_ | `retryCount` _integer_ | | | `evaluationStatus` _object (keys:string, values:[EvaluationStatusItem](#evaluationstatusitem))_ | | | `overallStatus` _KeptnState_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | #### KeptnTask @@ -497,7 +497,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnTask` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnTaskSpec](#keptntaskspec)_ | | | `status` _[KeptnTaskStatus](#keptntaskstatus)_ | | @@ -515,7 +515,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnTaskDefinition` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnTaskDefinitionSpec](#keptntaskdefinitionspec)_ | | | `status` _[KeptnTaskDefinitionStatus](#keptntaskdefinitionstatus)_ | | @@ -532,7 +532,7 @@ KeptnTaskDefinitionList contains a list of KeptnTaskDefinition | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnTaskDefinitionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnTaskDefinition](#keptntaskdefinition) array_ | | @@ -576,7 +576,7 @@ KeptnTaskList contains a list of KeptnTask | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnTaskList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnTask](#keptntask) array_ | | @@ -616,8 +616,8 @@ _Appears in:_ | `jobName` _string_ | | | `status` _KeptnState_ | | | `message` _string_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | #### KeptnWorkload @@ -633,7 +633,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnWorkload` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnWorkloadSpec](#keptnworkloadspec)_ | | | `status` _[KeptnWorkloadStatus](#keptnworkloadstatus)_ | | @@ -651,7 +651,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnWorkloadInstance` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnWorkloadInstanceSpec](#keptnworkloadinstancespec)_ | | | `status` _[KeptnWorkloadInstanceStatus](#keptnworkloadinstancestatus)_ | | @@ -668,7 +668,7 @@ KeptnWorkloadInstanceList contains a list of KeptnWorkloadInstance | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnWorkloadInstanceList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnWorkloadInstance](#keptnworkloadinstance) array_ | | @@ -715,8 +715,8 @@ _Appears in:_ | `postDeploymentTaskStatus` _[TaskStatus](#taskstatus) array_ | | | `preDeploymentEvaluationTaskStatus` _[EvaluationStatus](#evaluationstatus) array_ | | | `postDeploymentEvaluationTaskStatus` _[EvaluationStatus](#evaluationstatus) array_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | | `currentPhase` _string_ | | | `phaseTraceIDs` _object (keys:string, values:object)_ | | | `status` _KeptnState_ | | @@ -734,7 +734,7 @@ KeptnWorkloadList contains a list of KeptnWorkload | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnWorkloadList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnWorkload](#keptnworkload) array_ | | @@ -887,8 +887,8 @@ _Appears in:_ | `taskDefinitionName` _string_ | | | `status` _KeptnState_ | | | `taskName` _string_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | #### WorkloadStatus diff --git a/docs/content/en/docs/crd-ref/lifecycle/v1alpha2/_index.md b/docs/content/en/docs/crd-ref/lifecycle/v1alpha2/_index.md index 1775147779..12f43f676a 100644 --- a/docs/content/en/docs/crd-ref/lifecycle/v1alpha2/_index.md +++ b/docs/content/en/docs/crd-ref/lifecycle/v1alpha2/_index.md @@ -156,8 +156,8 @@ _Appears in:_ | `definitionName` _string_ | DefinitionName is the name of the EvaluationDefinition/TaskDefiniton | | `status` _KeptnState_ | | | `name` _string_ | Name is the name of the Evaluation/Task | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | #### KeptnApp @@ -173,7 +173,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnApp` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnAppSpec](#keptnappspec)_ | | | `status` _[KeptnAppStatus](#keptnappstatus)_ | | @@ -190,7 +190,7 @@ KeptnAppList contains a list of KeptnApp | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnAppList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnApp](#keptnapp) array_ | | @@ -242,7 +242,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnAppVersion` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnAppVersionSpec](#keptnappversionspec)_ | | | `status` _[KeptnAppVersionStatus](#keptnappversionstatus)_ | | @@ -259,7 +259,7 @@ KeptnAppVersionList contains a list of KeptnAppVersion | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnAppVersionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnAppVersion](#keptnappversion) array_ | | @@ -310,8 +310,8 @@ _Appears in:_ | `postDeploymentEvaluationTaskStatus` _[ItemStatus](#itemstatus) array_ | | | `phaseTraceIDs` _object (keys:string, values:object)_ | | | `status` _KeptnState_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | #### KeptnEvaluation @@ -327,7 +327,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnEvaluation` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationSpec](#keptnevaluationspec)_ | | | `status` _[KeptnEvaluationStatus](#keptnevaluationstatus)_ | | @@ -345,7 +345,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnEvaluationDefinition` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationDefinitionSpec](#keptnevaluationdefinitionspec)_ | | | `status` _string_ | unused field | @@ -362,7 +362,7 @@ KeptnEvaluationDefinitionList contains a list of KeptnEvaluationDefinition | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnEvaluationDefinitionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluationDefinition](#keptnevaluationdefinition) array_ | | @@ -393,7 +393,7 @@ KeptnEvaluationList contains a list of KeptnEvaluation | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnEvaluationList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluation](#keptnevaluation) array_ | | @@ -410,7 +410,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnEvaluationProvider` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationProviderSpec](#keptnevaluationproviderspec)_ | | | `status` _string_ | unused field | @@ -427,7 +427,7 @@ KeptnEvaluationProviderList contains a list of KeptnEvaluationProvider | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnEvaluationProviderList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluationProvider](#keptnevaluationprovider) array_ | | @@ -443,7 +443,7 @@ _Appears in:_ | Field | Description | | --- | --- | | `targetServer` _string_ | | -| `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#secretkeyselector-v1-core)_ | | +| `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#secretkeyselector-v1-core)_ | | #### KeptnEvaluationSpec @@ -463,7 +463,7 @@ _Appears in:_ | `appVersion` _string_ | | | `evaluationDefinition` _string_ | | | `retries` _integer_ | | -| `retryInterval` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#duration-v1-meta)_ | | +| `retryInterval` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#duration-v1-meta)_ | | | `failAction` _string_ | | | `checkType` _CheckType_ | | @@ -482,8 +482,8 @@ _Appears in:_ | `retryCount` _integer_ | | | `evaluationStatus` _object (keys:string, values:[EvaluationStatusItem](#evaluationstatusitem))_ | | | `overallStatus` _KeptnState_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | #### KeptnTask @@ -499,7 +499,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnTask` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnTaskSpec](#keptntaskspec)_ | | | `status` _[KeptnTaskStatus](#keptntaskstatus)_ | | @@ -517,7 +517,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnTaskDefinition` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnTaskDefinitionSpec](#keptntaskdefinitionspec)_ | | | `status` _[KeptnTaskDefinitionStatus](#keptntaskdefinitionstatus)_ | | @@ -534,7 +534,7 @@ KeptnTaskDefinitionList contains a list of KeptnTaskDefinition | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnTaskDefinitionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnTaskDefinition](#keptntaskdefinition) array_ | | @@ -578,7 +578,7 @@ KeptnTaskList contains a list of KeptnTask | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnTaskList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnTask](#keptntask) array_ | | @@ -618,8 +618,8 @@ _Appears in:_ | `jobName` _string_ | | | `status` _KeptnState_ | | | `message` _string_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | #### KeptnWorkload @@ -635,7 +635,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnWorkload` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnWorkloadSpec](#keptnworkloadspec)_ | | | `status` _[KeptnWorkloadStatus](#keptnworkloadstatus)_ | | @@ -653,7 +653,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnWorkloadInstance` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnWorkloadInstanceSpec](#keptnworkloadinstancespec)_ | | | `status` _[KeptnWorkloadInstanceStatus](#keptnworkloadinstancestatus)_ | | @@ -670,7 +670,7 @@ KeptnWorkloadInstanceList contains a list of KeptnWorkloadInstance | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnWorkloadInstanceList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnWorkloadInstance](#keptnworkloadinstance) array_ | | @@ -717,8 +717,8 @@ _Appears in:_ | `postDeploymentTaskStatus` _[ItemStatus](#itemstatus) array_ | | | `preDeploymentEvaluationTaskStatus` _[ItemStatus](#itemstatus) array_ | | | `postDeploymentEvaluationTaskStatus` _[ItemStatus](#itemstatus) array_ | | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | | | `currentPhase` _string_ | | | `phaseTraceIDs` _object (keys:string, values:object)_ | | | `status` _KeptnState_ | | @@ -736,7 +736,7 @@ KeptnWorkloadList contains a list of KeptnWorkload | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnWorkloadList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnWorkload](#keptnworkload) array_ | | diff --git a/docs/content/en/docs/crd-ref/lifecycle/v1alpha3/_index.md b/docs/content/en/docs/crd-ref/lifecycle/v1alpha3/_index.md index 873db76123..e6ac79ab04 100644 --- a/docs/content/en/docs/crd-ref/lifecycle/v1alpha3/_index.md +++ b/docs/content/en/docs/crd-ref/lifecycle/v1alpha3/_index.md @@ -66,20 +66,20 @@ _Appears in:_ | `command` _string array_ | Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell | | `args` _string array_ | Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell | | `workingDir` _string_ | Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated. | -| `ports` _[ContainerPort](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#containerport-v1-core) array_ | List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. | -| `envFrom` _[EnvFromSource](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#envfromsource-v1-core) array_ | List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. | -| `env` _[EnvVar](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#envvar-v1-core) array_ | List of environment variables to set in the container. Cannot be updated. | -| `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#resourcerequirements-v1-core)_ | Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | -| `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#volumemount-v1-core) array_ | Pod volumes to mount into the container's filesystem. Cannot be updated. | -| `volumeDevices` _[VolumeDevice](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#volumedevice-v1-core) array_ | volumeDevices is the list of block devices to be used by the container. | -| `livenessProbe` _[Probe](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#probe-v1-core)_ | Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes | -| `readinessProbe` _[Probe](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#probe-v1-core)_ | Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes | -| `startupProbe` _[Probe](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#probe-v1-core)_ | StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes | -| `lifecycle` _[Lifecycle](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#lifecycle-v1-core)_ | Actions that the management system should take in response to container lifecycle events. Cannot be updated. | +| `ports` _[ContainerPort](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#containerport-v1-core) array_ | List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default "0.0.0.0" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated. | +| `envFrom` _[EnvFromSource](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#envfromsource-v1-core) array_ | List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated. | +| `env` _[EnvVar](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#envvar-v1-core) array_ | List of environment variables to set in the container. Cannot be updated. | +| `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#resourcerequirements-v1-core)_ | Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ | +| `volumeMounts` _[VolumeMount](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#volumemount-v1-core) array_ | Pod volumes to mount into the container's filesystem. Cannot be updated. | +| `volumeDevices` _[VolumeDevice](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#volumedevice-v1-core) array_ | volumeDevices is the list of block devices to be used by the container. | +| `livenessProbe` _[Probe](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#probe-v1-core)_ | Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes | +| `readinessProbe` _[Probe](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#probe-v1-core)_ | Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes | +| `startupProbe` _[Probe](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#probe-v1-core)_ | StartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes | +| `lifecycle` _[Lifecycle](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#lifecycle-v1-core)_ | Actions that the management system should take in response to container lifecycle events. Cannot be updated. | | `terminationMessagePath` _string_ | Optional: Path at which the file to which the container's termination message will be written is mounted into the container's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated. | -| `terminationMessagePolicy` _[TerminationMessagePolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#terminationmessagepolicy-v1-core)_ | Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. | -| `imagePullPolicy` _[PullPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#pullpolicy-v1-core)_ | Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images | -| `securityContext` _[SecurityContext](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#securitycontext-v1-core)_ | SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ | +| `terminationMessagePolicy` _[TerminationMessagePolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#terminationmessagepolicy-v1-core)_ | Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the container status message on both success and failure. FallbackToLogsOnError will use the last chunk of container log output if the termination message file is empty and the container exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated. | +| `imagePullPolicy` _[PullPolicy](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#pullpolicy-v1-core)_ | Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images | +| `securityContext` _[SecurityContext](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#securitycontext-v1-core)_ | SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ | | `stdin` _boolean_ | Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false. | | `stdinOnce` _boolean_ | Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false | | `tty` _boolean_ | Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. Default is false. | @@ -172,8 +172,8 @@ _Appears in:_ | `definitionName` _string_ | DefinitionName is the name of the EvaluationDefinition/TaskDefiniton | | `status` _KeptnState_ | | | `name` _string_ | Name is the name of the Evaluation/Task | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | StartTime represents the time at which the Item (Evaluation/Task) started. | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | EndTime represents the time at which the Item (Evaluation/Task) started. | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | StartTime represents the time at which the Item (Evaluation/Task) started. | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | EndTime represents the time at which the Item (Evaluation/Task) started. | #### KeptnApp @@ -189,7 +189,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnApp` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnAppSpec](#keptnappspec)_ | Spec describes the desired state of the KeptnApp. | | `status` _[KeptnAppStatus](#keptnappstatus)_ | Status describes the current state of the KeptnApp. | @@ -207,7 +207,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnAppCreationRequest` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnAppCreationRequestSpec](#keptnappcreationrequestspec)_ | Spec describes the desired state of the KeptnAppCreationRequest. | | `status` _string_ | Status describes the current state of the KeptnAppCreationRequest. | @@ -224,7 +224,7 @@ KeptnAppCreationRequestList contains a list of KeptnAppCreationRequest | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnAppCreationRequestList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnAppCreationRequest](#keptnappcreationrequest) array_ | | @@ -254,7 +254,7 @@ KeptnAppList contains a list of KeptnApp | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnAppList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnApp](#keptnapp) array_ | | @@ -306,7 +306,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnAppVersion` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnAppVersionSpec](#keptnappversionspec)_ | Spec describes the desired state of the KeptnAppVersion. | | `status` _[KeptnAppVersionStatus](#keptnappversionstatus)_ | Status describes the current state of the KeptnAppVersion. | @@ -323,7 +323,7 @@ KeptnAppVersionList contains a list of KeptnAppVersion | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnAppVersionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnAppVersion](#keptnappversion) array_ | | @@ -374,8 +374,8 @@ _Appears in:_ | `postDeploymentEvaluationTaskStatus` _[ItemStatus](#itemstatus) array_ | PostDeploymentEvaluationTaskStatus indicates the current state of each postDeploymentEvaluation of the KeptnAppVersion. | | `phaseTraceIDs` _object (keys:string, values:object)_ | PhaseTraceIDs contains the trace IDs of the OpenTelemetry spans of each phase of the KeptnAppVersion. | | `status` _KeptnState_ | Status represents the overall status of the KeptnAppVersion. | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | StartTime represents the time at which the deployment of the KeptnAppVersion started. | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | EndTime represents the time at which the deployment of the KeptnAppVersion finished. | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | StartTime represents the time at which the deployment of the KeptnAppVersion started. | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | EndTime represents the time at which the deployment of the KeptnAppVersion finished. | #### KeptnEvaluation @@ -391,7 +391,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnEvaluation` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationSpec](#keptnevaluationspec)_ | Spec describes the desired state of the KeptnEvaluation. | | `status` _[KeptnEvaluationStatus](#keptnevaluationstatus)_ | Status describes the current state of the KeptnEvaluation. | @@ -409,7 +409,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnEvaluationDefinition` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationDefinitionSpec](#keptnevaluationdefinitionspec)_ | Spec describes the desired state of the KeptnEvaluationDefinition. | | `status` _string_ | unused field | @@ -426,7 +426,7 @@ KeptnEvaluationDefinitionList contains a list of KeptnEvaluationDefinition | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnEvaluationDefinitionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluationDefinition](#keptnevaluationdefinition) array_ | | @@ -456,7 +456,7 @@ KeptnEvaluationList contains a list of KeptnEvaluation | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnEvaluationList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluation](#keptnevaluation) array_ | | @@ -473,7 +473,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnEvaluationProvider` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnEvaluationProviderSpec](#keptnevaluationproviderspec)_ | | | `status` _string_ | unused field | @@ -490,7 +490,7 @@ KeptnEvaluationProviderList contains a list of KeptnEvaluationProvider | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnEvaluationProviderList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnEvaluationProvider](#keptnevaluationprovider) array_ | | @@ -506,7 +506,7 @@ _Appears in:_ | Field | Description | | --- | --- | | `targetServer` _string_ | | -| `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#secretkeyselector-v1-core)_ | | +| `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#secretkeyselector-v1-core)_ | | #### KeptnEvaluationSpec @@ -526,7 +526,7 @@ _Appears in:_ | `appVersion` _string_ | AppVersion defines the version of the KeptnApp for which the KeptnEvaluation is done. | | `evaluationDefinition` _string_ | EvaluationDefinition refers to the name of the KeptnEvaluationDefinition which includes the objectives for the KeptnEvaluation. The KeptnEvaluationDefinition can be located in the same namespace as the KeptnEvaluation, or in the KLT namespace. | | `retries` _integer_ | Retries indicates how many times the KeptnEvaluation can be attempted in the case of an error or missed evaluation objective, before considering the KeptnEvaluation to be failed. | -| `retryInterval` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#duration-v1-meta)_ | RetryInterval specifies the interval at which the KeptnEvaluation is retried in the case of an error or a missed objective. | +| `retryInterval` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#duration-v1-meta)_ | RetryInterval specifies the interval at which the KeptnEvaluation is retried in the case of an error or a missed objective. | | `failAction` _string_ | | | `checkType` _CheckType_ | Type indicates whether the KeptnEvaluation is part of the pre- or postDeployment phase. | @@ -545,8 +545,8 @@ _Appears in:_ | `retryCount` _integer_ | RetryCount indicates how many times the KeptnEvaluation has been attempted already. | | `evaluationStatus` _object (keys:string, values:[EvaluationStatusItem](#evaluationstatusitem))_ | EvaluationStatus describes the status of each objective of the KeptnEvaluationDefinition referenced by the KeptnEvaluation. | | `overallStatus` _KeptnState_ | OverallStatus describes the overall status of the KeptnEvaluation. The Overall status is derived from the status of the individual objectives of the KeptnEvaluationDefinition referenced by the KeptnEvaluation. | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | StartTime represents the time at which the KeptnEvaluation started. | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | EndTime represents the time at which the KeptnEvaluation finished. | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | StartTime represents the time at which the KeptnEvaluation started. | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | EndTime represents the time at which the KeptnEvaluation finished. | #### KeptnMetricReference @@ -577,7 +577,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnTask` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnTaskSpec](#keptntaskspec)_ | Spec describes the desired state of the KeptnTask. | | `status` _[KeptnTaskStatus](#keptntaskstatus)_ | Status describes the current state of the KeptnTask. | @@ -595,7 +595,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnTaskDefinition` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnTaskDefinitionSpec](#keptntaskdefinitionspec)_ | Spec describes the desired state of the KeptnTaskDefinition. | | `status` _[KeptnTaskDefinitionStatus](#keptntaskdefinitionstatus)_ | Status describes the current state of the KeptnTaskDefinition. | @@ -612,7 +612,7 @@ KeptnTaskDefinitionList contains a list of KeptnTaskDefinition | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnTaskDefinitionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnTaskDefinition](#keptntaskdefinition) array_ | | @@ -632,7 +632,7 @@ _Appears in:_ | `deno` _[RuntimeSpec](#runtimespec)_ | Deno contains the definition for the Deno function that is to be executed in KeptnTasks based on the KeptnTaskDefinitions. | | `container` _[ContainerSpec](#containerspec)_ | Container contains the definition for the container that is to be used in Job based on the KeptnTaskDefinitions. | | `retries` _integer_ | Retries specifies how many times a job executing the KeptnTaskDefinition should be restarted in the case of an unsuccessful attempt. | -| `timeout` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#duration-v1-meta)_ | Timeout specifies the maximum time to wait for the task to be completed successfully. If the task does not complete successfully within this time frame, it will be considered to be failed. | +| `timeout` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#duration-v1-meta)_ | Timeout specifies the maximum time to wait for the task to be completed successfully. If the task does not complete successfully within this time frame, it will be considered to be failed. | #### KeptnTaskDefinitionStatus @@ -661,7 +661,7 @@ KeptnTaskList contains a list of KeptnTask | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnTaskList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnTask](#keptntask) array_ | | @@ -686,7 +686,7 @@ _Appears in:_ | `secureParameters` _[SecureParameters](#secureparameters)_ | SecureParameters contains secure parameters that will be passed to the job that executes the task. These will be stored and accessed as secrets in the cluster. | | `checkType` _CheckType_ | Type indicates whether the KeptnTask is part of the pre- or postDeployment phase. | | `retries` _integer_ | Retries indicates how many times the KeptnTask can be attempted in the case of an error before considering the KeptnTask to be failed. | -| `timeout` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#duration-v1-meta)_ | Timeout specifies the maximum time to wait for the task to be completed successfully. If the task does not complete successfully within this time frame, it will be considered to be failed. | +| `timeout` _[Duration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#duration-v1-meta)_ | Timeout specifies the maximum time to wait for the task to be completed successfully. If the task does not complete successfully within this time frame, it will be considered to be failed. | #### KeptnTaskStatus @@ -703,8 +703,8 @@ _Appears in:_ | `jobName` _string_ | JobName is the name of the Job executing the Task. | | `status` _KeptnState_ | Status represents the overall state of the KeptnTask. | | `message` _string_ | Message contains information about unexpected errors encountered during the execution of the KeptnTask. | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | StartTime represents the time at which the KeptnTask started. | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | EndTime represents the time at which the KeptnTask finished. | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | StartTime represents the time at which the KeptnTask started. | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | EndTime represents the time at which the KeptnTask finished. | | `reason` _string_ | Reason contains more information about the reason for the last transition of the Job executing the KeptnTask. | @@ -721,7 +721,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnWorkload` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnWorkloadSpec](#keptnworkloadspec)_ | Spec describes the desired state of the KeptnWorkload. | | `status` _[KeptnWorkloadStatus](#keptnworkloadstatus)_ | Status describes the current state of the KeptnWorkload. | @@ -739,7 +739,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnWorkloadInstance` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnWorkloadInstanceSpec](#keptnworkloadinstancespec)_ | Spec describes the desired state of the KeptnWorkloadInstance. | | `status` _[KeptnWorkloadInstanceStatus](#keptnworkloadinstancestatus)_ | Status describes the current state of the KeptnWorkloadInstance. | @@ -756,7 +756,7 @@ KeptnWorkloadInstanceList contains a list of KeptnWorkloadInstance | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnWorkloadInstanceList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnWorkloadInstance](#keptnworkloadinstance) array_ | | @@ -803,8 +803,8 @@ _Appears in:_ | `postDeploymentTaskStatus` _[ItemStatus](#itemstatus) array_ | PostDeploymentTaskStatus indicates the current state of each postDeploymentTask of the KeptnWorkloadInstance. | | `preDeploymentEvaluationTaskStatus` _[ItemStatus](#itemstatus) array_ | PreDeploymentEvaluationTaskStatus indicates the current state of each preDeploymentEvaluation of the KeptnWorkloadInstance. | | `postDeploymentEvaluationTaskStatus` _[ItemStatus](#itemstatus) array_ | PostDeploymentEvaluationTaskStatus indicates the current state of each postDeploymentEvaluation of the KeptnWorkloadInstance. | -| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | StartTime represents the time at which the deployment of the KeptnWorkloadInstance started. | -| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | EndTime represents the time at which the deployment of the KeptnWorkloadInstance finished. | +| `startTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | StartTime represents the time at which the deployment of the KeptnWorkloadInstance started. | +| `endTime` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | EndTime represents the time at which the deployment of the KeptnWorkloadInstance finished. | | `currentPhase` _string_ | CurrentPhase indicates the current phase of the KeptnWorkloadInstance. This can be: - PreDeploymentTasks - PreDeploymentEvaluations - Deployment - PostDeploymentTasks - PostDeploymentEvaluations | | `phaseTraceIDs` _object (keys:string, values:object)_ | PhaseTraceIDs contains the trace IDs of the OpenTelemetry spans of each phase of the KeptnWorkloadInstance | | `status` _KeptnState_ | Status represents the overall status of the KeptnWorkloadInstance. | @@ -822,7 +822,7 @@ KeptnWorkloadList contains a list of KeptnWorkload | --- | --- | | `apiVersion` _string_ | `lifecycle.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnWorkloadList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnWorkload](#keptnworkload) array_ | | diff --git a/docs/content/en/docs/crd-ref/metrics/v1alpha1/_index.md b/docs/content/en/docs/crd-ref/metrics/v1alpha1/_index.md index aa44457be5..39b19f99ba 100644 --- a/docs/content/en/docs/crd-ref/metrics/v1alpha1/_index.md +++ b/docs/content/en/docs/crd-ref/metrics/v1alpha1/_index.md @@ -31,7 +31,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnMetric` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnMetricSpec](#keptnmetricspec)_ | | | `status` _[KeptnMetricStatus](#keptnmetricstatus)_ | | @@ -48,7 +48,7 @@ KeptnMetricList contains a list of KeptnMetric | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnMetricList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnMetric](#keptnmetric) array_ | | @@ -81,7 +81,7 @@ _Appears in:_ | --- | --- | | `value` _string_ | Value represents the resulting value | | `rawValue` _integer array_ | RawValue represents the resulting value in raw format | -| `lastUpdated` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | LastUpdated represents the time when the status data was last updated | +| `lastUpdated` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | LastUpdated represents the time when the status data was last updated | #### ProviderRef diff --git a/docs/content/en/docs/crd-ref/metrics/v1alpha2/_index.md b/docs/content/en/docs/crd-ref/metrics/v1alpha2/_index.md index 0f6bff6a8f..bd758cc8b4 100644 --- a/docs/content/en/docs/crd-ref/metrics/v1alpha2/_index.md +++ b/docs/content/en/docs/crd-ref/metrics/v1alpha2/_index.md @@ -33,7 +33,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnMetric` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnMetricSpec](#keptnmetricspec)_ | | | `status` _[KeptnMetricStatus](#keptnmetricstatus)_ | | @@ -50,7 +50,7 @@ KeptnMetricList contains a list of KeptnMetric | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnMetricList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnMetric](#keptnmetric) array_ | | @@ -83,7 +83,7 @@ _Appears in:_ | --- | --- | | `value` _string_ | Value represents the resulting value | | `rawValue` _integer array_ | RawValue represents the resulting value in raw format | -| `lastUpdated` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | LastUpdated represents the time when the status data was last updated | +| `lastUpdated` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | LastUpdated represents the time when the status data was last updated | #### KeptnMetricsProvider @@ -99,7 +99,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnMetricsProvider` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnMetricsProviderSpec](#keptnmetricsproviderspec)_ | | | `status` _string_ | unused field | @@ -116,7 +116,7 @@ KeptnMetricsProviderList contains a list of KeptnMetricsProvider | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha2` | `kind` _string_ | `KeptnMetricsProviderList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnMetricsProvider](#keptnmetricsprovider) array_ | | @@ -132,7 +132,7 @@ _Appears in:_ | Field | Description | | --- | --- | | `targetServer` _string_ | | -| `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#secretkeyselector-v1-core)_ | | +| `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#secretkeyselector-v1-core)_ | | #### ProviderRef diff --git a/docs/content/en/docs/crd-ref/metrics/v1alpha3/_index.md b/docs/content/en/docs/crd-ref/metrics/v1alpha3/_index.md index 06c846ce05..a6a00d70f0 100644 --- a/docs/content/en/docs/crd-ref/metrics/v1alpha3/_index.md +++ b/docs/content/en/docs/crd-ref/metrics/v1alpha3/_index.md @@ -37,7 +37,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` | `kind` _string_ | `Analysis` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[AnalysisSpec](#analysisspec)_ | | | `status` _string_ | | @@ -55,7 +55,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` | `kind` _string_ | `AnalysisDefinition` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[AnalysisDefinitionSpec](#analysisdefinitionspec)_ | | | `status` _string_ | unused field | @@ -72,7 +72,7 @@ AnalysisDefinitionList contains a list of AnalysisDefinition | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` | `kind` _string_ | `AnalysisDefinitionList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[AnalysisDefinition](#analysisdefinition) array_ | | @@ -103,7 +103,7 @@ AnalysisList contains a list of Analysis | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` | `kind` _string_ | `AnalysisList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[Analysis](#analysis) array_ | | @@ -136,7 +136,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnMetric` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnMetricSpec](#keptnmetricspec)_ | | | `status` _[KeptnMetricStatus](#keptnmetricstatus)_ | | @@ -153,7 +153,7 @@ KeptnMetricList contains a list of KeptnMetric | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnMetricList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnMetric](#keptnmetric) array_ | | @@ -187,7 +187,7 @@ _Appears in:_ | --- | --- | | `value` _string_ | Value represents the resulting value | | `rawValue` _integer array_ | RawValue represents the resulting value in raw format | -| `lastUpdated` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | LastUpdated represents the time when the status data was last updated | +| `lastUpdated` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | LastUpdated represents the time when the status data was last updated | | `errMsg` _string_ | ErrMsg represents the error details when the query could not be evaluated | @@ -204,7 +204,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnMetricsProvider` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnMetricsProviderSpec](#keptnmetricsproviderspec)_ | | | `status` _string_ | unused field | @@ -221,7 +221,7 @@ KeptnMetricsProviderList contains a list of KeptnMetricsProvider | --- | --- | | `apiVersion` _string_ | `metrics.keptn.sh/v1alpha3` | `kind` _string_ | `KeptnMetricsProviderList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnMetricsProvider](#keptnmetricsprovider) array_ | | @@ -238,7 +238,7 @@ _Appears in:_ | --- | --- | | `type` _string_ | Type represents the provider type. This can be one of prometheus, dynatrace, datadog, dql. | | `targetServer` _string_ | TargetServer defined the URL at which the metrics provider is reachable with included port and protocol. | -| `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#secretkeyselector-v1-core)_ | SecretKeyRef defines an optional secret for access credentials to the metrics provider. | +| `secretKeyRef` _[SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#secretkeyselector-v1-core)_ | SecretKeyRef defines an optional secret for access credentials to the metrics provider. | #### ObjectReference @@ -362,8 +362,8 @@ _Appears in:_ | Field | Description | | --- | --- | -| `from` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | From is the time of start for the query, this field follows RFC3339 time format | -| `to` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#time-v1-meta)_ | To is the time of end for the query, this field follows RFC3339 time format | +| `from` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | From is the time of start for the query, this field follows RFC3339 time format | +| `to` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#time-v1-meta)_ | To is the time of end for the query, this field follows RFC3339 time format | #### TotalScore diff --git a/docs/content/en/docs/crd-ref/options/v1alpha1/_index.md b/docs/content/en/docs/crd-ref/options/v1alpha1/_index.md index 362731897c..d3d3bf9661 100644 --- a/docs/content/en/docs/crd-ref/options/v1alpha1/_index.md +++ b/docs/content/en/docs/crd-ref/options/v1alpha1/_index.md @@ -31,7 +31,7 @@ _Appears in:_ | --- | --- | | `apiVersion` _string_ | `options.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnConfig` -| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ObjectMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#objectmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `spec` _[KeptnConfigSpec](#keptnconfigspec)_ | | | `status` _string_ | unused field | @@ -48,7 +48,7 @@ KeptnConfigList contains a list of KeptnConfig | --- | --- | | `apiVersion` _string_ | `options.keptn.sh/v1alpha1` | `kind` _string_ | `KeptnConfigList` -| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | +| `metadata` _[ListMeta](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#listmeta-v1-meta)_ | Refer to Kubernetes API documentation for fields of `metadata`. | | `items` _[KeptnConfig](#keptnconfig) array_ | | diff --git a/helm/chart/templates/analysis-crd.yaml b/helm/chart/templates/analysis-crd.yaml index 8e12b28a67..46ae7e6a67 100644 --- a/helm/chart/templates/analysis-crd.yaml +++ b/helm/chart/templates/analysis-crd.yaml @@ -90,4 +90,4 @@ status: kind: "" plural: "" conditions: [] - storedVersions: [] \ No newline at end of file + storedVersions: [] From 799fc61bad017ff00470c966ee2c25a869cd51d4 Mon Sep 17 00:00:00 2001 From: realanna Date: Wed, 9 Aug 2023 11:00:57 +0200 Subject: [PATCH 4/4] chore: fix lf Signed-off-by: realanna --- .../config/crd/bases/lifecycle.keptn.sh_keptnappversions.yaml | 4 ++-- .../crd/bases/lifecycle.keptn.sh_keptnworkloadinstances.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptnappversions.yaml b/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptnappversions.yaml index 078d4437a6..dd5a401fe2 100644 --- a/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptnappversions.yaml +++ b/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptnappversions.yaml @@ -123,8 +123,8 @@ spec: description: MapCarrier is a TextMapCarrier that uses a map held in memory as a storage medium for propagated key-value pairs. type: object - description: PhaseTraceID is a map using OpenTelemetry propagation - MapCarrier type + description: PhaseTraceID is a map storing TraceIDs of OpenTelemetry + spans in lifecycle phases type: object postDeploymentEvaluationStatus: default: Pending diff --git a/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptnworkloadinstances.yaml b/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptnworkloadinstances.yaml index 28eae6f01d..e1eb94cb13 100644 --- a/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptnworkloadinstances.yaml +++ b/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptnworkloadinstances.yaml @@ -140,8 +140,8 @@ spec: description: MapCarrier is a TextMapCarrier that uses a map held in memory as a storage medium for propagated key-value pairs. type: object - description: PhaseTraceID is a map using OpenTelemetry propagation - MapCarrier type + description: PhaseTraceID is a map storing TraceIDs of OpenTelemetry + spans in lifecycle phases type: object postDeploymentEvaluationStatus: default: Pending