Skip to content

Commit

Permalink
docs: adapt KeptnTask example to changes in API (#2124)
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
  • Loading branch information
bacherfl committed Sep 19, 2023
1 parent 276b609 commit bcc64e8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
8 changes: 0 additions & 8 deletions docs/content/en/docs/implementing/tasks-non-k8s-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ kind: KeptnTask
metadata:
name: runhelloworld1
spec:
workload: "my-workload"
workloadVersion: "1.0.0"
appVersion: "1.0.0"
app: "my-app"
taskDefinition: helloworldtask
context:
appName: "my-app"
Expand Down Expand Up @@ -87,10 +83,6 @@ kind: KeptnTask
metadata:
name: runhelloworld2
spec:
workload: "my-workload"
workloadVersion: "1.0.1"
appVersion: "1.0.1"
app: "my-app"
taskDefinition: helloworldtask
context:
appName: "my-app"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ metadata:
spec:
taskDefinition: schedule-upstream-deployment
context:
workloadName: my-workload
workloadVersion: "1.0"
app: my-app
appName: "my-app"
appVersion: "1.0.0"
objectType: ""
taskType: ""
workloadName: "my-workload"
workloadVersion: "1.0.0"
parameters:
map:
targetDate: "2022-04-16T06:55:31.820Z"
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
apiVersion: lifecycle.keptn.sh/v1alpha2
apiVersion: lifecycle.keptn.sh/v1alpha3
kind: KeptnTask
metadata:
name: slack-deployment-notification
spec:
taskDefinition: slack-notification-inline
appVersion: "1.0"
workload: "w"
workloadVersion: "2.0"
app: "app"
context:
workloadName: my-workload
workloadVersion: "1.0"
Expand Down

0 comments on commit bcc64e8

Please sign in to comment.