From 67240c78451b7eeedf5e90a6fac5846c224b468c Mon Sep 17 00:00:00 2001 From: Olivier Michallat Date: Mon, 18 Mar 2024 21:04:46 -0700 Subject: [PATCH] Fix Vector agent config map name --- pkg/telemetry/vector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/telemetry/vector.go b/pkg/telemetry/vector.go index 2e5e0acda..820d7c07b 100644 --- a/pkg/telemetry/vector.go +++ b/pkg/telemetry/vector.go @@ -330,5 +330,5 @@ func BuildVectorAgentConfigMap(namespace, k8cName, dcName, k8cNamespace, vectorT } func VectorAgentConfigMapName(k8cName, dcName string) string { - return fmt.Sprintf("%s-%s-cass-vector", k8cName, dcName) + return cassdcapi.CleanupForKubernetes(fmt.Sprintf("%s-%s-cass-vector", k8cName, dcName)) }