You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/infrastructure/03-Guides/deploy-a-new-app.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -183,3 +183,27 @@ spec:
183
183
# add-highlight-end
184
184
```
185
185
:::
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"`.
0 commit comments