Skip to content

Commit c14b9fa

Browse files
committed
fix(compute-stack): disable self-hosted collector by default
1 parent 6676076 commit c14b9fa

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

deploy/stacks/nvcf-compute-plane/helmfile.d/02-nvca.yaml.gotmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ helmDefaults:
9090
{{- $nvcaOp := dig "nvcaOperator" dict .Values.global }}
9191
{{- $selfManaged := dig "selfManaged" dict $nvcaOp }}
9292
{{- $otelCollector := dig "otelCollector" dict $selfManaged }}
93-
{{- $otelCollectorEnabled := dig "enabled" $computeObservabilityEnabled $otelCollector }}
93+
{{- $otelCollectorEnabled := dig "enabled" false $otelCollector }}
9494
{{- $defaultOTelCollectorImageRepository := printf "%s/%s/nvcf-otel-collector" .Values.global.image.registry .Values.global.image.repository }}
9595
{{- $otelCollectorImageRepository := dig "imageRepository" $defaultOTelCollectorImageRepository $otelCollector }}
9696

deploy/stacks/nvcf-compute-plane/tests/observability-profile.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,9 @@ for profile in default disabled control compute all; do
8484
render_values "$profile" "$values"
8585

8686
case "$profile" in
87-
default|compute|all)
88-
test "$(collector_enabled "$values")" = "true" ||
89-
fail "$profile profile did not enable the NVCA collector"
90-
;;
91-
disabled|control)
87+
default|disabled|control|compute|all)
9288
test "$(collector_enabled "$values")" = "false" ||
93-
fail "$profile profile enabled the NVCA collector"
89+
fail "$profile profile enabled the self-managed NVCA collector by default"
9490
;;
9591
esac
9692
done

0 commit comments

Comments
 (0)