Skip to content

Commit

Permalink
Do not allow disableCloudRouting: true when using the UI (#1001)
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshrvel authored Jul 31, 2023
1 parent f2e312e commit 286b248
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions helm/robusta/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ playbook_repos:
{{- fail "At least one sink must be defined!" }}
{{- end }}

{{- range .Values.sinksConfig }}
{{- if .robusta_sink }}
{{- if $.Values.disableCloudRouting }}
{{- fail "You cannot set `disableCloudRouting: true` when the Robusta UI sink (robusta_sink) is enabled, as this flag breaks the UI's behavior.\nPlease remove `disableCloudRouting: true` to continue installing." -}}
{{- end }}
{{- end }}
{{- end }}

{{- if or .Values.slackApiKey .Values.robustaApiKey }}
{{- /* support old values files, prior to chart version 0.8.9 */}}
sinks_config:
Expand Down

0 comments on commit 286b248

Please sign in to comment.