Skip to content

Commit 5862f93

Browse files
author
Neelanjan Manna
authored
Litmus Docs Fixes [Architecture Diagrams, Missing Operator and Runner Diagrams, and GitOps Clarification] (#150)
* updated background color of architecture diagram, added operator and runner flow charts to v2.1 and v2.2 docs Signed-off-by: neelanjan00 <[email protected]> * added note for gitops behaviour when a workflow is pushed to the git repo Signed-off-by: neelanjan00 <[email protected]> * updated note for gitops behaviour Signed-off-by: neelanjan00 <[email protected]> * updated for v2.3 and v2.4 Signed-off-by: neelanjan00 <[email protected]> * update note blocks Signed-off-by: neelanjan00 <[email protected]>
1 parent 8379397 commit 5862f93

File tree

64 files changed

+109
-110
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+109
-110
lines changed
24.3 KB
Loading
10.7 KB
Loading
5.23 KB
Loading
32 KB
Loading
6.25 KB
Loading
4.77 KB
Loading
5.47 KB
Loading
3.87 KB
Loading
4.56 KB
Loading

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ GitOps enables you to configure a single source of truth for your chaos workflow
1717

1818
## Steps to configure GitOps
1919

20-
21-
2220
- Setup a git repository, so that the ChaosCenter can sync with it, and push all the workflows in that repository.
2321
- The git repo can be public or private but for authorization, you have to provide an access token or any other mode of authentication.
2422
- Login into ChaosCenter, go to `GitOps` tab under `Settings`.
@@ -37,8 +35,11 @@ GitOps enables you to configure a single source of truth for your chaos workflow
3735
- Some metadata will be pushed to your repository, that is the projectID of your project.
3836
- Now whenever you schedule a workflow, it will automatically be pushed to your repository. And that repository will be the single source of truth.
3937

40-
## Steps to configure Event-Triggered Chaos Injection
38+
:::note
39+
It is also possible to account for the workflows that are created and pushed to the git repository directly, after configuring GitOps. In this case, if the workflow is a single run workflow, then it starts executing as soon as it is pushed to the repository. Alternatively, if the workflow is a scheduled workflow, then it executes as per the defined schedule. On the other hand, updating an existing workflow present in the git repository will not execute the workflow but only sync the workflow resource definition with the ChaosCenter, if applicable.
40+
:::
4141

42+
## Steps to configure Event-Triggered Chaos Injection
4243

4344
- Once the workflow is pushed to your repository, you’ll notice every workflow has a `workflow_id`. You can get this from the workflow 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 workflow using this workflow_id and run it on your target application. You can use the following command:
4445

0 commit comments

Comments
 (0)