Skip to content

Commit

Permalink
Update annotation for gitops in event-tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
Nageshbansal authored Feb 13, 2024
1 parent 5db556a commit 2b970d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/user-guides/gitops-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ It is also possible to account for the chaos experiments that are created and pu
- 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:

```
kubectl annotate deploy/target-application litmuschaos.io/workflow=${experiment_id}
kubectl annotate deploy/target-application litmuschaos.io/experimentId=${experiment_id}
```

```
Expand Down

0 comments on commit 2b970d2

Please sign in to comment.