Update annotation for gitops in event-tracker (#248)

Signed-off-by: nagesh bansal <nageshbansal59@gmail.com>
This commit is contained in:
Nageshbansal 2024-03-12 17:00:46 +05:30 committed by GitHub
parent 5db556a20d
commit 94e91c54c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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, youll 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 theres 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: - Once the chaos experiment is pushed to your repository, youll 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 theres 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}
``` ```
``` ```