diff --git a/helm/robusta/templates/runner.yaml b/helm/robusta/templates/runner.yaml index b83df3c07..7917121b7 100644 --- a/helm/robusta/templates/runner.yaml +++ b/helm/robusta/templates/runner.yaml @@ -124,10 +124,8 @@ spec: - name: IS_OPENSHIFT value: "True" {{- end }} - {{- if .Values.argoRollouts }} - name: ARGO_ROLLOUTS - value: "True" - {{- end }} + value: {{ ternary "True" "False" .Values.argoRollouts | quote }} {{- if .Values.runner.customCRD }} - name: CUSTOM_CRD value: {{ .Values.runner.customCRD | toJson | squote }} diff --git a/helm/robusta/values.yaml b/helm/robusta/values.yaml index 16a48f1b5..1b2fe3f8e 100644 --- a/helm/robusta/values.yaml +++ b/helm/robusta/values.yaml @@ -106,7 +106,7 @@ enablePrometheusStack: false enabledManagedConfiguration: false enableServiceMonitors: true monitorHelmReleases: true -argoRollouts: false +argoRollouts: true diff --git a/src/robusta/core/model/env_vars.py b/src/robusta/core/model/env_vars.py index 8c45ff7a7..870bb65f8 100644 --- a/src/robusta/core/model/env_vars.py +++ b/src/robusta/core/model/env_vars.py @@ -122,7 +122,7 @@ def load_bool(env_var, default: bool): RUN_AS_SUBPROCESS = load_bool("RUN_AS_SUBPROCESS", True) -ARGO_ROLLOUTS = load_bool("ARGO_ROLLOUTS", False) +ARGO_ROLLOUTS = load_bool("ARGO_ROLLOUTS", True) # lowered case k8s kinds in a json array string. "[\"configmap\", \"secret\"]" RESOURCE_YAML_BLOCK_LIST = json.loads(os.environ.get("RESOURCE_YAML_BLOCK_LIST", "[]"))