Skip to content

Commit

Permalink
Update annotation for gitops in event-tracker (litmuschaos#248)
Browse files Browse the repository at this point in the history
Signed-off-by: nagesh bansal <[email protected]>
Signed-off-by: SmritiSatya <[email protected]>
  • Loading branch information
Nageshbansal authored and SmritiSatya committed Apr 25, 2024
1 parent eabd4ae commit aad62f3
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 aad62f3

Please sign in to comment.