Skip to content

Commit d72a0d6

Browse files
docs: add disabled option in argocd (#31)
1 parent dc5f54f commit d72a0d6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/infrastructure/03-Guides/deploy-a-new-app.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,3 +183,27 @@ spec:
183183
# add-highlight-end
184184
```
185185
:::
186+
187+
## Options
188+
These are some useful options you can configure by editing the `config.json` file.
189+
### Disable an app
190+
If you want to disable an app (excluding it from the git generator) you can add `"disabled": true`.
191+
Example:
192+
```yaml title="config.json"
193+
{
194+
# add-highlight-next-line
195+
"disabled": true
196+
"image": {
197+
"image_list": "x/image1:latest x/image2:latest",
198+
"update_strategy": "digest"
199+
}
200+
}
201+
```
202+
203+
To reactivate the application just remove this property or set it to `false`.
204+
This configuration option is introduced with [this commit](https://github.com/PoliNetworkOrg/terraform/commit/8ddf6e984c802d823573e85f147d48a916556c7c).
205+
206+
:::info
207+
In the git generator configuration the selector is set to `"false"` due to the limitations of `matchExpression`.
208+
However, in the application's `config.json` you can set the `disabled` flag to either `false` or `"false"`.
209+
:::

0 commit comments

Comments
 (0)