Skip to content

Commit

Permalink
update default config
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptisteFoy committed Dec 2, 2024
1 parent 8ebf11f commit 9e81f27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion omnibus/config/software/datadog-agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,9 @@

# Secrets backend
command "inv agent.get-datadog-secret-backend", :env => env
command "chmod 500 bin/datadog-secret-backend/datadog-secret-backend"
unless windows_target?
command "chmod 700 bin/datadog-secret-backend/datadog-secret-backend"
end
copy 'bin/datadog-secret-backend/datadog-secret-backend', "#{install_dir}/embedded/bin"

if osx_target?
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/setup/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ func InitConfig(config pkgconfigmodel.Setup) {
config.BindEnvAndSetDefault("enabled_rfc1123_compliant_cluster_name_tag", true)

// secrets backend
config.BindEnvAndSetDefault("secret_backend_command", "")
config.BindEnvAndSetDefault("secret_backend_command", filepath.Join(InstallPath, "embedded/bin/datadog-secret-backend"))
config.BindEnvAndSetDefault("secret_backend_arguments", []string{})
config.BindEnvAndSetDefault("secret_backend_output_max_size", 0)
config.BindEnvAndSetDefault("secret_backend_timeout", 0)
Expand Down

0 comments on commit 9e81f27

Please sign in to comment.