Skip to content

Commit 94e91c5

Browse files
authored
Update annotation for gitops in event-tracker (#248)
Signed-off-by: nagesh bansal <[email protected]>
1 parent 5db556a commit 94e91c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/user-guides/gitops-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ It is also possible to account for the chaos experiments that are created and pu
5151
- Once the chaos experiment is pushed to your repository, you’ll notice every chaos experiment has a `experiment_id`. You can get this from the chaos experiment YAML file. You need to copy the id and annotate the target application so that if there’s any change in the application, gitops will sync the chaos experiment using this experiment_id and run it on your target application. You can use the following command:
5252

5353
```
54-
kubectl annotate deploy/target-application litmuschaos.io/workflow=${experiment_id}
54+
kubectl annotate deploy/target-application litmuschaos.io/experimentId=${experiment_id}
5555
```
5656

5757
```

0 commit comments

Comments
 (0)