Skip to content

Commit 0873e28

Browse files
committed
Added enabledManagedConfiguration by default if robusta sink is used
1 parent 5f3d9d3 commit 0873e28

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

robusta_cli/main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ class HelmValues(BaseModel, extra=Extra.allow):
7878
enablePrometheusStack: bool = False
7979
disableCloudRouting: bool = False
8080
enablePlatformPlaybooks: bool = False
81+
enabledManagedConfiguration: bool = True
8182
playbooksPersistentVolumeSize: str = None
8283
kubewatch: Dict = None
8384
grafanaRenderer: Dict = None
@@ -218,6 +219,7 @@ def gen_config(
218219
] + sinks_config
219220
enable_platform_playbooks = True
220221
disable_cloud_routing = False
222+
enabledManagedConfiguration = True
221223

222224
slack_feedback_heads_up_message: Optional[str] = None
223225
# When using custom certificates we do not want to add the extra slack message.
@@ -261,6 +263,7 @@ def gen_config(
261263
enablePrometheusStack=enable_prometheus_stack,
262264
disableCloudRouting=disable_cloud_routing,
263265
enablePlatformPlaybooks=enable_platform_playbooks,
266+
enabledManagedConfiguration=True if robusta_api_key else False,
264267
)
265268

266269
values.runner = {}

0 commit comments

Comments
 (0)