Skip to content

Commit

Permalink
[create-vm-agent-env-2-adxt-84] NITs
Browse files Browse the repository at this point in the history
  • Loading branch information
CelianR committed Jan 21, 2025
1 parent 5a8fa68 commit 8875883
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions components/datadog/agent/kubernetes_helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ func NewHelmInstallation(e config.Env, args HelmInstallationArgs, opts ...pulumi
type HelmValues pulumi.Map

func buildLinuxHelmValues(baseName, agentImagePath, agentImageTag, clusterAgentImagePath, clusterAgentImageTag string, clusterAgentToken pulumi.StringInput, logsContainerCollectAll bool) HelmValues {
values := HelmValues{
return HelmValues{
"datadog": pulumi.Map{
"apiKeyExistingSecret": pulumi.String(baseName + "-datadog-credentials"),
"appKeyExistingSecret": pulumi.String(baseName + "-datadog-credentials"),
Expand Down Expand Up @@ -532,8 +532,6 @@ func buildLinuxHelmValues(baseName, agentImagePath, agentImageTag, clusterAgentI
},
},
}

return values
}

func buildLinuxHelmValuesAutopilot(baseName, agentImagePath, agentImageTag, clusterAgentImagePath, clusterAgentImageTag string, clusterAgentToken pulumi.StringInput) HelmValues {
Expand Down
2 changes: 1 addition & 1 deletion tasks/doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
cluster_agent_full_image_path: str = "The full image path (registry:tag) of the Cluster Agent image to deploy"
add_known_host: str = "Add the host to the known_hosts file (default True)"
agent_flavor: str = "Use a specific Agent flavor (such as datadog-fips-agent, see PackageFlavor https://github.com/DataDog/agent-release-management/blob/main/generator/const.py)"
agent_env: str = "Extra envionment variables to run the agent with, the format is `VAR1=val1,VAR2=val2`"
agent_env: str = "Extra environment variables to run the agent with, the format is `VAR1=val1,VAR2=val2`"
helm_config: str = "Path to a custom helm config file that will be merged with the default one"

0 comments on commit 8875883

Please sign in to comment.