diff --git a/.sonarcloud.properties b/.sonarcloud.properties index 317186aa9a..fb022d0285 100644 --- a/.sonarcloud.properties +++ b/.sonarcloud.properties @@ -11,6 +11,7 @@ sonar.cpd.exclusions= **/*_test.go,\ lifecycle-operator/apis/lifecycle/v1alpha3/**/*.go,\ lifecycle-operator/apis/lifecycle/v1alpha4/**/*.go,\ lifecycle-operator/apis/lifecycle/v1beta1/**/*.go,\ + lifecycle-operator/apis/lifecycle/v1/**/*.go,\ metrics-operator/api/v1alpha1/**/*.go,\ metrics-operator/api/v1alpha2/**/*.go,\ metrics-operator/api/v1alpha3/**/*.go,\ diff --git a/docs/docs/assets/crd/deno-context.yaml b/docs/docs/assets/crd/deno-context.yaml index d522cffe05..112111bcc3 100644 --- a/docs/docs/assets/crd/deno-context.yaml +++ b/docs/docs/assets/crd/deno-context.yaml @@ -6,7 +6,7 @@ type: Opaque data: SECURE_DATA: dG9rZW46IG15dG9rZW4= --- -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: pre-deployment-hello diff --git a/docs/docs/assets/crd/eval.yaml b/docs/docs/assets/crd/eval.yaml index ad590d308d..cd5f7ca0ab 100644 --- a/docs/docs/assets/crd/eval.yaml +++ b/docs/docs/assets/crd/eval.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnEvaluationDefinition metadata: name: app-pre-deploy-eval-2 diff --git a/docs/docs/assets/crd/examples/configmap-for-deno-script.yaml b/docs/docs/assets/crd/examples/configmap-for-deno-script.yaml index 893f6f78eb..69f29f0a64 100644 --- a/docs/docs/assets/crd/examples/configmap-for-deno-script.yaml +++ b/docs/docs/assets/crd/examples/configmap-for-deno-script.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: scheduled-deployment diff --git a/docs/docs/assets/crd/examples/functionref-for-deno-script.yaml b/docs/docs/assets/crd/examples/functionref-for-deno-script.yaml index d15a1cd29a..a36306bdeb 100644 --- a/docs/docs/assets/crd/examples/functionref-for-deno-script.yaml +++ b/docs/docs/assets/crd/examples/functionref-for-deno-script.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: slack-notification-dev diff --git a/docs/docs/assets/crd/examples/httpref-script-for-deno-script.yaml b/docs/docs/assets/crd/examples/httpref-script-for-deno-script.yaml index 659f9c83fd..e338f67935 100644 --- a/docs/docs/assets/crd/examples/httpref-script-for-deno-script.yaml +++ b/docs/docs/assets/crd/examples/httpref-script-for-deno-script.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: hello-keptn-http diff --git a/docs/docs/assets/crd/examples/inline-script-for-deno-script.yaml b/docs/docs/assets/crd/examples/inline-script-for-deno-script.yaml index 2d88d90062..4e67993378 100644 --- a/docs/docs/assets/crd/examples/inline-script-for-deno-script.yaml +++ b/docs/docs/assets/crd/examples/inline-script-for-deno-script.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: hello-keptn-inline diff --git a/docs/docs/assets/crd/python-configmap.yaml b/docs/docs/assets/crd/python-configmap.yaml index 172c73d611..2469d6f10f 100644 --- a/docs/docs/assets/crd/python-configmap.yaml +++ b/docs/docs/assets/crd/python-configmap.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: scheduled-deployment diff --git a/docs/docs/assets/crd/python-context.yaml b/docs/docs/assets/crd/python-context.yaml index 953c8a803a..9f26bb2ba7 100644 --- a/docs/docs/assets/crd/python-context.yaml +++ b/docs/docs/assets/crd/python-context.yaml @@ -6,7 +6,7 @@ type: Opaque data: SECURE_DATA: dG9rZW46IG15dG9rZW4= --- -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: pre-deployment-hello diff --git a/docs/docs/assets/crd/python-inline.yaml b/docs/docs/assets/crd/python-inline.yaml index 1bced32f11..8bc176d349 100644 --- a/docs/docs/assets/crd/python-inline.yaml +++ b/docs/docs/assets/crd/python-inline.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: scheduled-deployment-inline diff --git a/docs/docs/assets/crd/python-libs.yaml b/docs/docs/assets/crd/python-libs.yaml index f29b4c24f0..5c84e7b8ea 100644 --- a/docs/docs/assets/crd/python-libs.yaml +++ b/docs/docs/assets/crd/python-libs.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: python-inline diff --git a/docs/docs/assets/crd/python-recursive.yaml b/docs/docs/assets/crd/python-recursive.yaml index ca5af06840..ec6db4d26a 100644 --- a/docs/docs/assets/crd/python-recursive.yaml +++ b/docs/docs/assets/crd/python-recursive.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: scheduled-deployment-2 diff --git a/docs/docs/assets/crd/task-definition.yaml b/docs/docs/assets/crd/task-definition.yaml index ad98bfa840..eb28042975 100644 --- a/docs/docs/assets/crd/task-definition.yaml +++ b/docs/docs/assets/crd/task-definition.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: container-sleep diff --git a/docs/docs/components/lifecycle-operator/assets/non-blocking-deployment.yaml b/docs/docs/components/lifecycle-operator/assets/non-blocking-deployment.yaml index df2878b8f4..b3e352f9b7 100644 --- a/docs/docs/components/lifecycle-operator/assets/non-blocking-deployment.yaml +++ b/docs/docs/components/lifecycle-operator/assets/non-blocking-deployment.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnAppVersion metadata: name: podtato-head-0.1.0-6b86b273 @@ -29,7 +29,7 @@ status: name: podtato-head-entry version: 0.1.0 --- -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnWorkloadVersion metadata: generation: 1 diff --git a/docs/docs/components/lifecycle-operator/keptn-apps.md b/docs/docs/components/lifecycle-operator/keptn-apps.md index 2c6f6ac01b..f61c84ce02 100644 --- a/docs/docs/components/lifecycle-operator/keptn-apps.md +++ b/docs/docs/components/lifecycle-operator/keptn-apps.md @@ -7,7 +7,7 @@ comments: true ## Keptn Workloads A -[KeptnWorkload](../../reference/api-reference/lifecycle/v1beta1/index.md#keptnworkload) +[KeptnWorkload](../../reference/api-reference/lifecycle/v1/index.md#keptnworkload) resource augments a Kubernetes [Workload](https://kubernetes.io/docs/concepts/workloads/) with the ability to handle extra phases. diff --git a/docs/docs/getting-started/assets/keptnappcontext.yaml b/docs/docs/getting-started/assets/keptnappcontext.yaml index a764d68ac8..23b269faca 100644 --- a/docs/docs/getting-started/assets/keptnappcontext.yaml +++ b/docs/docs/getting-started/assets/keptnappcontext.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnAppContext metadata: name: keptndemoapp diff --git a/docs/docs/getting-started/assets/lifecycle-management-send-event-task.yaml b/docs/docs/getting-started/assets/lifecycle-management-send-event-task.yaml index d6642f1284..8cd3a4bb42 100644 --- a/docs/docs/getting-started/assets/lifecycle-management-send-event-task.yaml +++ b/docs/docs/getting-started/assets/lifecycle-management-send-event-task.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTask metadata: name: runsendevent1 diff --git a/docs/docs/getting-started/assets/lifecycle-management-send-event-taskdefinition.yaml b/docs/docs/getting-started/assets/lifecycle-management-send-event-taskdefinition.yaml index 3fcc9312f0..5bec3afb95 100644 --- a/docs/docs/getting-started/assets/lifecycle-management-send-event-taskdefinition.yaml +++ b/docs/docs/getting-started/assets/lifecycle-management-send-event-taskdefinition.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: send-event diff --git a/docs/docs/getting-started/assets/promotion-task.yaml b/docs/docs/getting-started/assets/promotion-task.yaml index 02d7d2222e..63ad5a895e 100644 --- a/docs/docs/getting-started/assets/promotion-task.yaml +++ b/docs/docs/getting-started/assets/promotion-task.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: promotion diff --git a/docs/docs/guides/assets/auto-app-discovery/keptnapp.yaml b/docs/docs/guides/assets/auto-app-discovery/keptnapp.yaml index dd05dc4393..373af8fafa 100644 --- a/docs/docs/guides/assets/auto-app-discovery/keptnapp.yaml +++ b/docs/docs/guides/assets/auto-app-discovery/keptnapp.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnApp metadata: name: podtato-head diff --git a/docs/docs/guides/assets/metadata/keptn-app-context.yaml b/docs/docs/guides/assets/metadata/keptn-app-context.yaml index f4485c7e99..c5aefb85f4 100644 --- a/docs/docs/guides/assets/metadata/keptn-app-context.yaml +++ b/docs/docs/guides/assets/metadata/keptn-app-context.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnAppContext metadata: name: keptndemoapp diff --git a/docs/docs/guides/assets/multi-stage-delivery/application-dev.yaml b/docs/docs/guides/assets/multi-stage-delivery/application-dev.yaml index f2d7a2e260..403aa72aff 100644 --- a/docs/docs/guides/assets/multi-stage-delivery/application-dev.yaml +++ b/docs/docs/guides/assets/multi-stage-delivery/application-dev.yaml @@ -41,7 +41,7 @@ spec: app: podtato-head-frontend type: ClusterIP --- -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnAppContext metadata: name: podtato-head @@ -54,7 +54,7 @@ spec: metadata: commitID: {{.Values.commitID}} --- -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: post-deployment @@ -65,7 +65,7 @@ spec: code: | console.log("deployment completed"); --- -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: promote diff --git a/docs/docs/guides/assets/multi-stage-delivery/application-production.yaml b/docs/docs/guides/assets/multi-stage-delivery/application-production.yaml index 80eee6e814..7e1f7985b9 100644 --- a/docs/docs/guides/assets/multi-stage-delivery/application-production.yaml +++ b/docs/docs/guides/assets/multi-stage-delivery/application-production.yaml @@ -41,7 +41,7 @@ spec: app: podtato-head-frontend type: ClusterIP --- -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnAppContext metadata: name: podtato-head diff --git a/docs/docs/guides/assets/otel/keptn-app-context-span.yaml b/docs/docs/guides/assets/otel/keptn-app-context-span.yaml index 671365e861..14443a8485 100644 --- a/docs/docs/guides/assets/otel/keptn-app-context-span.yaml +++ b/docs/docs/guides/assets/otel/keptn-app-context-span.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnAppContext metadata: name: keptndemoapp diff --git a/docs/docs/guides/assets/restart-application-deployment/app-full.yaml b/docs/docs/guides/assets/restart-application-deployment/app-full.yaml index e14e380e15..cd103d4d0e 100644 --- a/docs/docs/guides/assets/restart-application-deployment/app-full.yaml +++ b/docs/docs/guides/assets/restart-application-deployment/app-full.yaml @@ -5,7 +5,7 @@ metadata: annotations: keptn.sh/lifecycle-toolkit: "enabled" --- -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnAppContext metadata: name: podtato-head @@ -14,7 +14,7 @@ spec: preDeploymentTasks: - pre-deployment-check --- -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: pre-deployment-check diff --git a/docs/docs/guides/assets/restart-application-deployment/fixed-task.yaml b/docs/docs/guides/assets/restart-application-deployment/fixed-task.yaml index 5db391ecf3..21f1e75f94 100644 --- a/docs/docs/guides/assets/restart-application-deployment/fixed-task.yaml +++ b/docs/docs/guides/assets/restart-application-deployment/fixed-task.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: pre-deployment-check diff --git a/docs/docs/guides/assets/restart-application-deployment/generated-app-bumped-revision.yaml b/docs/docs/guides/assets/restart-application-deployment/generated-app-bumped-revision.yaml index c6a0321e12..624b4edcf6 100644 --- a/docs/docs/guides/assets/restart-application-deployment/generated-app-bumped-revision.yaml +++ b/docs/docs/guides/assets/restart-application-deployment/generated-app-bumped-revision.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnApp metadata: name: podtato-head diff --git a/docs/docs/guides/assets/restart-application-deployment/generated-app.yaml b/docs/docs/guides/assets/restart-application-deployment/generated-app.yaml index f580ca260f..7a6398792e 100644 --- a/docs/docs/guides/assets/restart-application-deployment/generated-app.yaml +++ b/docs/docs/guides/assets/restart-application-deployment/generated-app.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnApp metadata: name: podtato-head diff --git a/docs/docs/guides/assets/tasks/dummy-task.yaml b/docs/docs/guides/assets/tasks/dummy-task.yaml index 7f7d1ebfc1..aee41a61e1 100644 --- a/docs/docs/guides/assets/tasks/dummy-task.yaml +++ b/docs/docs/guides/assets/tasks/dummy-task.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: dummy-task diff --git a/docs/docs/guides/assets/tasks/multi-secret.yaml b/docs/docs/guides/assets/tasks/multi-secret.yaml index b35a348d3c..0fd91ccbb5 100644 --- a/docs/docs/guides/assets/tasks/multi-secret.yaml +++ b/docs/docs/guides/assets/tasks/multi-secret.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: dummy-task diff --git a/docs/docs/guides/assets/tasks/slack.yaml b/docs/docs/guides/assets/tasks/slack.yaml index d15a1cd29a..a36306bdeb 100644 --- a/docs/docs/guides/assets/tasks/slack.yaml +++ b/docs/docs/guides/assets/tasks/slack.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: slack-notification-dev diff --git a/docs/docs/guides/assets/tasks/taskdef-secure-data.yaml b/docs/docs/guides/assets/tasks/taskdef-secure-data.yaml index 5c5c9eaea9..1c9e3ae121 100644 --- a/docs/docs/guides/assets/tasks/taskdef-secure-data.yaml +++ b/docs/docs/guides/assets/tasks/taskdef-secure-data.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: deployment-hello diff --git a/docs/docs/guides/evaluations.md b/docs/docs/guides/evaluations.md index 967edf4246..0ca5becad2 100644 --- a/docs/docs/guides/evaluations.md +++ b/docs/docs/guides/evaluations.md @@ -113,7 +113,7 @@ Note the following: has no effect on whether other evaluations are completed. - The results of each evaluation are written to a - [KeptnEvaluation](../reference/api-reference/lifecycle/v1beta1/index.md#keptnevaluation) + [KeptnEvaluation](../reference/api-reference/lifecycle/v1/index.md#keptnevaluation) resource. ## Annotate the workload resource for workload level evaluations diff --git a/docs/docs/guides/integrate.md b/docs/docs/guides/integrate.md index 1174e99dca..e13c587bbe 100644 --- a/docs/docs/guides/integrate.md +++ b/docs/docs/guides/integrate.md @@ -37,7 +37,7 @@ To integrate Keptn with your workloads: feature. Keptn uses these annotations to the Kubernetes workloads to create the -[KeptnWorkload](../reference/api-reference/lifecycle/v1beta1/index.md#keptnworkload) +[KeptnWorkload](../reference/api-reference/lifecycle/v1/index.md#keptnworkload) and [KeptnApp](../reference/crd-reference/app.md) resources that it uses to provide observability @@ -66,7 +66,7 @@ resources in the namespaces where Keptn is enabled. If Keptn finds any of these resources and the resource has either the `keptn.sh` or the `kubernetes` annotations/labels, it creates appropriate -[KeptnWorkload](../reference/api-reference/lifecycle/v1beta1/index.md#keptnworkload) +[KeptnWorkload](../reference/api-reference/lifecycle/v1/index.md#keptnworkload) and [KeptnApp](../reference/crd-reference/app.md) resources for the version it detects. @@ -94,7 +94,7 @@ These keys are defined as: - `keptn.sh/workload` or `app.kubernetes.io/name`: Determines the name of the generated - [KeptnWorkload](../reference/api-reference/lifecycle/v1beta1/index.md#keptnworkload) + [KeptnWorkload](../reference/api-reference/lifecycle/v1/index.md#keptnworkload) resource. - `keptn.sh/version` or `app.kubernetes.io/version`: Determines the version of the `KeptnWorkload` diff --git a/docs/docs/guides/metadata.md b/docs/docs/guides/metadata.md index e6e5f9ee35..972584e91d 100644 --- a/docs/docs/guides/metadata.md +++ b/docs/docs/guides/metadata.md @@ -76,7 +76,7 @@ This way, after the re-deployment, the workload trace will contain the `stage=de ## Include metadata in application traces Similar to the previous step, custom metadata can also be added to application traces via the -[KeptnAppContext](../reference/api-reference/lifecycle/v1beta1/index.md#keptnappcontext) CRD. +[KeptnAppContext](../reference/api-reference/lifecycle/v1/index.md#keptnappcontext) CRD. `KeptnAppContext` is a custom resource definition in Keptn that allows you to add metadata and links to traces for a specific application. diff --git a/docs/docs/guides/tasks.md b/docs/docs/guides/tasks.md index a92e8f8ee3..b4ada46366 100644 --- a/docs/docs/guides/tasks.md +++ b/docs/docs/guides/tasks.md @@ -11,7 +11,7 @@ resource defines one or more "executables" that Keptn runs as part of the pre- and post-deployment phases of a [KeptnApp](../reference/crd-reference/app.md) or -[KeptnWorkload](../reference/api-reference/lifecycle/v1beta1/index.md#keptnworkload). +[KeptnWorkload](../reference/api-reference/lifecycle/v1/index.md#keptnworkload). - pre-deployment (before the pod is scheduled) - post-deployment (after the pod is scheduled) @@ -22,7 +22,7 @@ These `KeptnTask` resources and the are part of the Keptn Release Lifecycle Management. A -[KeptnTask](../reference/api-reference/lifecycle/v1beta1/index.md#keptntask) +[KeptnTask](../reference/api-reference/lifecycle/v1/index.md#keptntask) executes as a runner in an application [container](https://kubernetes.io/docs/concepts/containers/), which runs as part of a Kubernetes diff --git a/docs/docs/installation/upgrade.md b/docs/docs/installation/upgrade.md index b180abe4ac..8df4f3c63f 100644 --- a/docs/docs/installation/upgrade.md +++ b/docs/docs/installation/upgrade.md @@ -24,7 +24,7 @@ If you installed your Keptn instance from the Manifest, additional steps are required to use the Helm Chart to upgrade. Contact us on Slack for assistance. -## Upgrade to v1beta1 version +## Upgrade to v1 version If you have previously used Keptn Lifecycle Operator with API resources of version `v1alpha3` and `v1alpha4`, you need to diff --git a/docs/docs/migrate/keptnapp/assets/keptnapp-migrated.yaml b/docs/docs/migrate/keptnapp/assets/keptnapp-migrated.yaml index e586edac82..32b6e33529 100644 --- a/docs/docs/migrate/keptnapp/assets/keptnapp-migrated.yaml +++ b/docs/docs/migrate/keptnapp/assets/keptnapp-migrated.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnApp metadata: name: "some-keptn-app" @@ -12,7 +12,7 @@ spec: version: 0.2.7 # removed pre/post-deployment tasks and evaluations --- -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnAppContext metadata: name: "some-keptn-app" # created a resource with the same name as KeptnApp diff --git a/docs/docs/migrate/keptnapp/index.md b/docs/docs/migrate/keptnapp/index.md index d88e26b48a..c9d7ffeb5c 100644 --- a/docs/docs/migrate/keptnapp/index.md +++ b/docs/docs/migrate/keptnapp/index.md @@ -2,16 +2,18 @@ The [KeptnAppContext](../../reference/crd-reference/appcontext.md) -resource is new in the `v1beta1` API version. +resource was introduced in the `v1beta1` API version. Existing [KeptnApp](../../reference/crd-reference/app.md) resources that were generated manually must be migrated because of this new feature. This page gives instructions for doing that. +Versions `v1beta1` and `v1` are fully compatible. > **Note** > Manual migration is only required for: > +> * `KeptnApp` resources with older versions than `v1beta1` > * Manually created `KeptnApp` resources > * Automatically created `KeptnApp` resources with > manually edited pre/post-deployment tasks or evaluations** diff --git a/docs/docs/reference/crd-reference/app.md b/docs/docs/reference/crd-reference/app.md index 3f55a3ec1c..b51f844b31 100644 --- a/docs/docs/reference/crd-reference/app.md +++ b/docs/docs/reference/crd-reference/app.md @@ -12,7 +12,7 @@ to the workloads. ## Synopsis ```yaml -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnApp metadata: name: @@ -51,7 +51,7 @@ when the app discovery feature generates the `KeptnApp` resource: it must have the same `namespace` as this `KeptnApp`. - **labels** - **app-kubernetes.io/managed-by: keptn** -- - Tells Keptn that this resource was autogenerated, which is always the case for the `v1beta1` version. + Tells Keptn that this resource was autogenerated, which is always the case for the `v1` version. - **spec** - **version** (required) -- version of the Keptn application. - **revision** -- revision of a `version`. @@ -94,7 +94,7 @@ you can code them all into a single `KeptnTaskDefinition`. ## Example -This shows an example `v1beta1` `KeptnApp` resource with the corresponding [KeptnAppContext](appcontext.md) resource. +This shows an example `v1` `KeptnApp` resource with the corresponding [KeptnAppContext](appcontext.md) resource. ```yaml {% include "../../migrate/keptnapp/assets/keptnapp-migrated.yaml" %} @@ -104,12 +104,11 @@ This shows an example `v1beta1` `KeptnApp` resource with the corresponding [Kept ## Differences between versions -The synopsis of the `KeptnApp` resource is changed in the `v1beta1` API version: +The synopsis of the `KeptnApp` resource is changed in the `v1beta1` and newer API versions: -- The `apiVersion` field now references the `v1beta1` version of the `lifecycle.keptn.sh` API. - `KeptnApp` is [autogenerated](../../guides/auto-app-discovery.md); you cannot create it manually by applying a manifest. -- The `app.kubernetes.io/managed-by: keptn` label or annotation is always used for the `v1beta1` library +- The `app.kubernetes.io/managed-by: keptn` label or annotation is always used for the `v1beta1` and newer versions because the `KeptnApp` resource is always autogenerated. In earlier releases, this label was not included in `KeptnApp` resources that were created by applying a manifest that had been created manually. diff --git a/docs/docs/reference/crd-reference/appcontext.md b/docs/docs/reference/crd-reference/appcontext.md index c725f2ca5b..a238bffb0f 100644 --- a/docs/docs/reference/crd-reference/appcontext.md +++ b/docs/docs/reference/crd-reference/appcontext.md @@ -20,7 +20,7 @@ It allows you to ## Synopsis ```yaml -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnAppContext metadata: name: @@ -45,7 +45,7 @@ spec: ## Fields - **apiVersion** -- API version being used. - Must be set to `lifecycle.keptn.sh/v1beta1` + Must be set to `lifecycle.keptn.sh/v1` - **kind** -- Resource type. Must be set to `KeptnAppContext` @@ -132,7 +132,7 @@ resource and identified by the value of the `metadata.name` field; ## Example ```yaml -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnAppContext metadata: name: podtato-head @@ -145,11 +145,12 @@ spec: ## Files -[KeptnAppContext](../api-reference/lifecycle/v1beta1/index.md#keptnappcontext) +[KeptnAppContext](../api-reference/lifecycle/v1/index.md#keptnappcontext) ## Differences between versions The `KeptnAppContext` resource is new in the `v1beta1` version of the lifecycle operator. +Versions `v1beta1` and `v1` are fully compatible. ## See also diff --git a/docs/docs/reference/crd-reference/config.md b/docs/docs/reference/crd-reference/config.md index 1fd82dc7ba..d1ab4e45d0 100644 --- a/docs/docs/reference/crd-reference/config.md +++ b/docs/docs/reference/crd-reference/config.md @@ -51,7 +51,7 @@ spec: [non-blocking deployment section](../../components/lifecycle-operator/keptn-non-blocking.md). * **observabilityTimeout** -- specifies the maximum time to observe the deployment phase of - [KeptnWorkload](../api-reference/lifecycle/v1beta1/index.md). + [KeptnWorkload](../api-reference/lifecycle/v1/index.md). The value supplied should specify the unit of measurement; for example, `5m` indicates 5 minutes and `1h` indicates 1 hour. If the workload is not deployed successfully within this time frame, @@ -88,7 +88,7 @@ spec: API Reference: -* [KeptnTaskDefinition](../api-reference/lifecycle/v1beta1/index.md#keptntaskdefinition) +* [KeptnTaskDefinition](../api-reference/lifecycle/v1/index.md#keptntaskdefinition) ## Differences between versions diff --git a/docs/docs/reference/crd-reference/evaluationdefinition.md b/docs/docs/reference/crd-reference/evaluationdefinition.md index 06583fb692..d1d4dc6668 100644 --- a/docs/docs/reference/crd-reference/evaluationdefinition.md +++ b/docs/docs/reference/crd-reference/evaluationdefinition.md @@ -13,7 +13,7 @@ as part of pre- and post-analysis phases of a `KeptnApp` or workload. ## Yaml Synopsis ```yaml -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnEvaluationDefinition metadata: name: @@ -84,7 +84,7 @@ on all namespaces in the cluster. ## Example ```yaml -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnEvaluationDefinition metadata: name: my-prometheus-evaluation @@ -116,7 +116,7 @@ that are now taken from the specified [KeptnMetric](metric.md) CRD. The synopsis was: ```yaml -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnEvaluationDefinition metadata: name: @@ -135,6 +135,9 @@ Beginning with `v1beta1` API version, `KeptnEvaluationDefinition` references a ` that points to a [KeptnMetric](metric.md) CR, that defines the data source, the query and the namespace to use. The `KeptnEvaluationDefinition` merely specifies the evaluation target. +> **Note** +Versions `v1beta1` and `v1` are fully compatible. + ## See also * [KeptnMetricsProvider](metricsprovider.md) diff --git a/docs/docs/reference/crd-reference/task.md b/docs/docs/reference/crd-reference/task.md index 3a790c8d3f..ca9e84f153 100644 --- a/docs/docs/reference/crd-reference/task.md +++ b/docs/docs/reference/crd-reference/task.md @@ -15,7 +15,7 @@ See the [use case page](../../use-cases/non-k8s.md) for more details about this. ## Synopsis ```yaml -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTask metadata: name: @@ -64,9 +64,9 @@ spec: for which the `KeptnTask` is being executed. * **metadata** -- Additional key-value pairs with contextual information for the `KeptnTask`. Keptn populates this field based on the `spec.metadata` field of the - [KeptnWorkloadVersion](../api-reference/lifecycle/v1beta1/index.md#keptnworkloadversion) + [KeptnWorkloadVersion](../api-reference/lifecycle/v1/index.md#keptnworkloadversion) and - [KeptnAppVersion](../api-reference/lifecycle/v1beta1/index.md#keptnappversion) + [KeptnAppVersion](../api-reference/lifecycle/v1/index.md#keptnappversion) resources. For example, the following lines reference the commit ID and user ID: @@ -140,7 +140,7 @@ to use for a deployment being done outside of Kubernetes, see ## Files -[API reference](../api-reference/lifecycle/v1beta1/index.md#keptntaskspec) +[API reference](../api-reference/lifecycle/v1/index.md#keptntaskspec) ## Differences between versions diff --git a/docs/docs/reference/crd-reference/taskdefinition.md b/docs/docs/reference/crd-reference/taskdefinition.md index 4425ed4a22..c3f1ad4be6 100644 --- a/docs/docs/reference/crd-reference/taskdefinition.md +++ b/docs/docs/reference/crd-reference/taskdefinition.md @@ -7,7 +7,7 @@ comments: true A `KeptnTaskDefinition` defines tasks that Keptn runs as part of the pre- and post-deployment phases of a [KeptnApp](./app.md) or -[KeptnWorkload](../api-reference/lifecycle/v1beta1/index.md#keptnworkload). +[KeptnWorkload](../api-reference/lifecycle/v1/index.md#keptnworkload). A Keptn task executes as a [runner](https://docs.gitlab.com/runner/executors/kubernetes.html#how-the-runner-creates-kubernetes-pods) @@ -138,7 +138,7 @@ almost anything that you implemented with JES for Keptn v1. [image concepts](https://kubernetes.io/docs/concepts/containers/images/) and pushed to a registry - **other fields** -- The full list of valid fields is available at - [ContainerSpec](../api-reference/lifecycle/v1beta1/index.md#containerspec), + [ContainerSpec](../api-reference/lifecycle/v1/index.md#containerspec), with additional information in the Kubernetes [Container](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#Container) spec documentation. @@ -287,7 +287,7 @@ and Keptn sets up the container and runs the script as part of the task. A Task executes the TaskDefinition of a [KeptnApp](app.md) or a -[KeptnWorkload](../api-reference/lifecycle/v1beta1/index.md#keptnworkload). +[KeptnWorkload](../api-reference/lifecycle/v1/index.md#keptnworkload). The execution is done by spawning a Kubernetes [Job](https://kubernetes.io/docs/concepts/workloads/controllers/job/) to handle a single Task. @@ -493,14 +493,14 @@ directory for more example `KeptnTaskDefinition` YAML files. API Reference: -- [KeptnTaskDefinition](../api-reference/lifecycle/v1beta1/index.md#keptntaskdefinition) -- [KeptnTaskDefinitionList](../api-reference/lifecycle/v1beta1/index.md#keptntaskdefinitionlist) -- [KeptnTaskDefinitionSpec](../api-reference/lifecycle/v1beta1/index.md#keptntaskdefinitionspec) -- [FunctionReference](../api-reference/lifecycle/v1beta1/index.md#functionreference) -- [FunctionSpec](../api-reference/lifecycle/v1beta1/index.md#runtimespec) -- [FunctionStatus](../api-reference/lifecycle/v1beta1/index.md#functionstatus) -- [HttpReference](../api-reference/lifecycle/v1beta1/index.md#httpreference) -- [Inline](../api-reference/lifecycle/v1beta1/index.md#inline) +- [KeptnTaskDefinition](../api-reference/lifecycle/v1/index.md#keptntaskdefinition) +- [KeptnTaskDefinitionList](../api-reference/lifecycle/v1/index.md#keptntaskdefinitionlist) +- [KeptnTaskDefinitionSpec](../api-reference/lifecycle/v1/index.md#keptntaskdefinitionspec) +- [FunctionReference](../api-reference/lifecycle/v1/index.md#functionreference) +- [FunctionSpec](../api-reference/lifecycle/v1/index.md#runtimespec) +- [FunctionStatus](../api-reference/lifecycle/v1/index.md#functionstatus) +- [HttpReference](../api-reference/lifecycle/v1/index.md#httpreference) +- [Inline](../api-reference/lifecycle/v1/index.md#inline) ## Differences between versions diff --git a/docs/docs/use-cases/assets/day-2-operations/deployment-initial.yaml b/docs/docs/use-cases/assets/day-2-operations/deployment-initial.yaml index 47015526a3..2abeea26bb 100644 --- a/docs/docs/use-cases/assets/day-2-operations/deployment-initial.yaml +++ b/docs/docs/use-cases/assets/day-2-operations/deployment-initial.yaml @@ -47,7 +47,7 @@ spec: - name: podtato-head-hat image: ghcr.io/podtato-head/podtato-server:v0.3.0 --- -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: pre-deployment-check @@ -58,7 +58,7 @@ spec: code: | console.log("Success") --- -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnAppContext metadata: name: podtato-head diff --git a/docs/docs/use-cases/day-2-operations.md b/docs/docs/use-cases/day-2-operations.md index bb852b34c4..194ce60659 100644 --- a/docs/docs/use-cases/day-2-operations.md +++ b/docs/docs/use-cases/day-2-operations.md @@ -82,10 +82,10 @@ Applying this causes the [KeptnApp](../reference/crd-reference/app.md) resource to be updated with a new version, and a new -[KeptnAppVersion](../reference/api-reference/lifecycle/v1beta1/index.md#keptnappversion) +[KeptnAppVersion](../reference/api-reference/lifecycle/v1/index.md#keptnappversion) resource to be created. Due to this, all checks defined in the -[KeptnAppContext](../reference/api-reference/lifecycle/v1beta1/index.md#keptnappcontext) +[KeptnAppContext](../reference/api-reference/lifecycle/v1/index.md#keptnappcontext) resource as well as those defined in the deployment's `keptn.sh/pre-deployment-tasks` label are executed again. @@ -103,7 +103,7 @@ podtato-kubectl podtato-head-podtato-head-frontend-0.3.1 podtato-head pod ``` As can be seen in the output of the command, the -[KeptnWorkloadVersion](../reference/api-reference/lifecycle/v1beta1/index.md#keptnworkloadversion) +[KeptnWorkloadVersion](../reference/api-reference/lifecycle/v1/index.md#keptnworkloadversion) resources from the previous deployment are still here, but a new `KeptnWorkloadVersion` for the updated workload has been added. diff --git a/docs/docs/use-cases/non-k8s.md b/docs/docs/use-cases/non-k8s.md index e848676b37..316cde0d2b 100644 --- a/docs/docs/use-cases/non-k8s.md +++ b/docs/docs/use-cases/non-k8s.md @@ -58,7 +58,7 @@ For example, you might create a `test-task-definition.yaml` file with the following content: ```yaml -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: helloworldtask @@ -98,7 +98,7 @@ For example, you might create a `test-task.yaml` file with the following content: ```yaml -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTask metadata: name: runhelloworld1 @@ -141,7 +141,7 @@ For example, you could create a `test-task-2.yaml` file with the `metadata.name` field set to `runhelloworld2`: ```yaml -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTask metadata: name: runhelloworld2 diff --git a/examples/sample-app/base/app-post-deploy.yaml b/examples/sample-app/base/app-post-deploy.yaml index 8ee3e90730..76b45abed5 100644 --- a/examples/sample-app/base/app-post-deploy.yaml +++ b/examples/sample-app/base/app-post-deploy.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: post-deployment-notification diff --git a/examples/sample-app/base/appcontext.yaml b/examples/sample-app/base/appcontext.yaml index 7aca9ababc..7a28b4ebc9 100644 --- a/examples/sample-app/base/appcontext.yaml +++ b/examples/sample-app/base/appcontext.yaml @@ -1,5 +1,5 @@ --- -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnAppContext metadata: name: podtato-head diff --git a/examples/sample-app/base/container-task.yaml b/examples/sample-app/base/container-task.yaml index ad98bfa840..eb28042975 100644 --- a/examples/sample-app/base/container-task.yaml +++ b/examples/sample-app/base/container-task.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: container-sleep diff --git a/examples/sample-app/base/promotion-task.yaml b/examples/sample-app/base/promotion-task.yaml index 6403a9408f..8a0534dbee 100644 --- a/examples/sample-app/base/promotion-task.yaml +++ b/examples/sample-app/base/promotion-task.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: promotion diff --git a/examples/sample-app/base/python-task.yaml b/examples/sample-app/base/python-task.yaml index dab4dbac06..7563800dbd 100644 --- a/examples/sample-app/base/python-task.yaml +++ b/examples/sample-app/base/python-task.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: python-secret diff --git a/examples/sample-app/version-1/app-pre-deploy-eval.yaml b/examples/sample-app/version-1/app-pre-deploy-eval.yaml index ad590d308d..cd5f7ca0ab 100644 --- a/examples/sample-app/version-1/app-pre-deploy-eval.yaml +++ b/examples/sample-app/version-1/app-pre-deploy-eval.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnEvaluationDefinition metadata: name: app-pre-deploy-eval-2 diff --git a/examples/sample-app/version-1/app-pre-deploy.yaml b/examples/sample-app/version-1/app-pre-deploy.yaml index e4eff783d6..b61e06eef4 100644 --- a/examples/sample-app/version-1/app-pre-deploy.yaml +++ b/examples/sample-app/version-1/app-pre-deploy.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: pre-deployment-check-frontend diff --git a/examples/sample-app/version-1/appcontext.yaml b/examples/sample-app/version-1/appcontext.yaml index 247a8808da..27eb844f72 100644 --- a/examples/sample-app/version-1/appcontext.yaml +++ b/examples/sample-app/version-1/appcontext.yaml @@ -1,5 +1,5 @@ --- -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnAppContext metadata: name: podtato-head diff --git a/examples/sample-app/version-2/app-pre-deploy.yaml b/examples/sample-app/version-2/app-pre-deploy.yaml index e4eff783d6..b61e06eef4 100644 --- a/examples/sample-app/version-2/app-pre-deploy.yaml +++ b/examples/sample-app/version-2/app-pre-deploy.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: pre-deployment-check-frontend diff --git a/examples/sample-app/version-2/appcontext.yaml b/examples/sample-app/version-2/appcontext.yaml index 62946e58c4..1a04ae2a43 100644 --- a/examples/sample-app/version-2/appcontext.yaml +++ b/examples/sample-app/version-2/appcontext.yaml @@ -1,5 +1,5 @@ --- -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnAppContext metadata: name: podtato-head diff --git a/examples/support/observability/assets/podtatohead-deployment-evaluation/appcontext.yaml b/examples/support/observability/assets/podtatohead-deployment-evaluation/appcontext.yaml index 9a6dd4df60..0b215f10c9 100644 --- a/examples/support/observability/assets/podtatohead-deployment-evaluation/appcontext.yaml +++ b/examples/support/observability/assets/podtatohead-deployment-evaluation/appcontext.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnAppContext metadata: name: podtato-head diff --git a/examples/support/observability/assets/podtatohead-deployment-evaluation/check_entry.yaml b/examples/support/observability/assets/podtatohead-deployment-evaluation/check_entry.yaml index 67266cf6e9..21308a3fbf 100644 --- a/examples/support/observability/assets/podtatohead-deployment-evaluation/check_entry.yaml +++ b/examples/support/observability/assets/podtatohead-deployment-evaluation/check_entry.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: check-entry-service diff --git a/examples/support/observability/assets/podtatohead-deployment-evaluation/post-deployment-tasks.yaml b/examples/support/observability/assets/podtatohead-deployment-evaluation/post-deployment-tasks.yaml index ca762cca2c..53ef459a90 100644 --- a/examples/support/observability/assets/podtatohead-deployment-evaluation/post-deployment-tasks.yaml +++ b/examples/support/observability/assets/podtatohead-deployment-evaluation/post-deployment-tasks.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnTaskDefinition metadata: name: post-deployment-hello diff --git a/examples/support/observability/assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition1.yaml b/examples/support/observability/assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition1.yaml index 1045036db9..46deabe5d3 100644 --- a/examples/support/observability/assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition1.yaml +++ b/examples/support/observability/assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition1.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnEvaluationDefinition metadata: name: my-prometheus-definition1 diff --git a/examples/support/observability/assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition2.yaml b/examples/support/observability/assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition2.yaml index 1e903f77e3..6dc028f001 100644 --- a/examples/support/observability/assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition2.yaml +++ b/examples/support/observability/assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition2.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnEvaluationDefinition metadata: name: my-prometheus-definition2 diff --git a/examples/support/observability/assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition3.yaml b/examples/support/observability/assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition3.yaml index 7ca0cb77ba..99093a2706 100644 --- a/examples/support/observability/assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition3.yaml +++ b/examples/support/observability/assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition3.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnEvaluationDefinition metadata: name: my-prometheus-definition2 diff --git a/examples/support/observability/assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition4.yaml b/examples/support/observability/assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition4.yaml index 378c35918d..e8352902a8 100644 --- a/examples/support/observability/assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition4.yaml +++ b/examples/support/observability/assets/podtatohead-evaluationdefinitions/keptnevaluationdefinition4.yaml @@ -1,4 +1,4 @@ -apiVersion: lifecycle.keptn.sh/v1beta1 +apiVersion: lifecycle.keptn.sh/v1 kind: KeptnEvaluationDefinition metadata: name: my-prometheus-definition1 diff --git a/mkdocs.yml b/mkdocs.yml index ec38be8ae7..4a787e0798 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -168,6 +168,7 @@ nav: - v1alpha3: docs/reference/api-reference/lifecycle/v1alpha3/index.md - v1alpha4: docs/reference/api-reference/lifecycle/v1alpha4/index.md - v1beta1: docs/reference/api-reference/lifecycle/v1beta1/index.md + - v1: docs/reference/api-reference/lifecycle/v1/index.md - Metrics API: - docs/reference/api-reference/metrics/index.md - v1alpha1: docs/reference/api-reference/metrics/v1alpha1/index.md