From 852e3ddb88dfaf76401b628fabc53e55a5a11d01 Mon Sep 17 00:00:00 2001 From: kolossi Date: Tue, 30 Apr 2024 16:01:50 +0100 Subject: [PATCH] [Addon] Fix datadog trait with workaround for kubevela issue #6510 Signed-off-by: kolossi --- experimental/addons/datadog/definitions/datadog.cue | 6 +++--- experimental/addons/datadog/metadata.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/experimental/addons/datadog/definitions/datadog.cue b/experimental/addons/datadog/definitions/datadog.cue index 85a42261..bc6864ed 100644 --- a/experimental/addons/datadog/definitions/datadog.cue +++ b/experimental/addons/datadog/definitions/datadog.cue @@ -46,7 +46,7 @@ template: { }, { name: "DD_LOGS_INJECTION", - value: true + value: "true" }, if parameter.source != _|_ { { @@ -64,12 +64,12 @@ template: { ] let volumeMount = { - name: parameter.volumeName, + name: "\(parameter.volumeName)", mountPath: parameter.mountPath } let volume = { - name: parameter.volumeName, + name: "\(parameter.volumeName)", hostPath: path: parameter.hostMountPath } diff --git a/experimental/addons/datadog/metadata.yaml b/experimental/addons/datadog/metadata.yaml index 01193e9d..b1b07034 100644 --- a/experimental/addons/datadog/metadata.yaml +++ b/experimental/addons/datadog/metadata.yaml @@ -1,5 +1,5 @@ name: datadog -version: 0.0.3 +version: 0.0.4 system: vela: ">=v1.9.0" description: Sets up the annotations and environment variables to assist a webservice or cron-task component to have correct collection of logs and apm stats by a datadog agent installed on the host nodes.