Skip to content

Terraform Module to drive install of the Datadog Helm chart

License

Notifications You must be signed in to change notification settings

sepulworld/terraform-helm-datadog

Repository files navigation

Module Name: terraform-helm-datadog

Description: Deploy Datadog Agents and configurations to a K8s cluster. Powered by the Terraform Helm Provider

Requirements

Name Version
terraform >= 0.15

Providers

Name Version
helm n/a

Modules

No modules.

Resources

Name Type
helm_release.terraform-k8s-datadog resource

Inputs

Name Description Type Default Required
atomic (Optional) If set, installation process purges chart on fail. The wait flag will be set automatically if atomic is used. Defaults to false. bool false no
cleanup_on_fail (Optional) Allow deletion of new resources created in this upgrade when upgrade fails. Defaults to false. bool false no
create_namespace Have helm_resource create the namespace, default true bool true no
datadog_agent_site The datadog endpoint to send metrics to, default datadoghq.com string "datadoghq.com" no
datadog_api_key Provide the datadog API key to be used with datadog agent pods, default empty string string "" no
datadog_app_key Provide the datadog APP key to be used with datadog agent pods, default empty string string "" no
dependency_update (Optional) Runs helm dependency update before installing the chart. Defaults to false. bool false no
description (Optional) Set release description attribute (visible in the history). string "Terraform driven Helm release of Datadog Helm chart" no
devel (Optional) Use chart development versions, too. Equivalent to version '>0.0.0-0'. If version is set, this is ignored. bool false no
disable_openapi_validation (Optional) If set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema. Defaults to false. bool false no
disable_webhooks (Optional) Prevent hooks from running. Defauts to false bool false no
enable_dd_cluster_agent Flag to enable Datadog Cluster Agent, default true string "true" no
enable_metrics_provider Flag to enable metrics server provider, default false string "false" no
enabled Variable indicating whether helm_resource is enabled bool true no
force_update (Optional) Force resource update through delete/recreate if needed. Defaults to false bool false no
helm_chart_name Helm chart name to be installed string "datadog" no
helm_chart_version Version of the Datadog Helm chart to use string "2.13.0" no
helm_release_name Helm release name string "datadog" no
helm_repo_url Helm repository for datadog chart string "https://helm.datadoghq.com" no
k8s_namespace The K8s namespace in which to install the Helm chart, default: 'default' string "datadog" no
keyring (Optional) Verify the package before installing it. Helm uses a provenance file to verify the integrity of the chart; this must be hosted alongside the chart. For more information see the Helm Documentation. Defaults to false. bool false no
lint (Optional) Run the helm chart linter during the plan. Defaults to false. bool false no
max_history (Optional) Maximum number of release versions stored per release. Defaults to 0 (no limit). number 0 no
recreate_pods (Optional) Perform pods restart during upgrade/rollback. Defaults to false. bool false no
render_subchart_notes (Optional) If set, render subchart notes along with the parent. Defaults to true. bool true no
replace (Optional) Re-use the given name, even if that name is already used. This is unsafe in production. Defaults to false. bool false no
repository_ca_file (Optional) The repositories CA file string null no
repository_cert_file (Optional) The repositories cert file string null no
repository_key_file (Optional) The repositories cert key file string null no
repository_password (Optional) Password for HTTP basic authentication against the repository. string null no
repository_username (Optional) Username for HTTP basic authentication against the repository. string null no
reset_values (Optional) When upgrading, reset the values to the ones built into the chart. Defaults to false. bool false no
reuse_values (Optional) When upgrading, reuse the last release's values and merge in any overrides. If 'reset_values' is specified, this is ignored. Defaults to false. bool false no
sensitive_settings Additional sensitive settings which will be passed to the Helm chart values, see https://github.com/DataDog/helm-charts/blob/master/charts/datadog/values.yaml for possible values map(any) {} no
settings Additional settings which will be passed to the Helm chart values, see https://github.com/DataDog/helm-charts/blob/master/charts/datadog/values.yaml for possible values map(any) {} no
skip_crds (Optional) If set, no CRDs will be installed. By default, CRDs are installed if not already present. Defaults to false. bool false no
timeout (Optional) Time in seconds to wait for any individual kubernetes operation (like Jobs for hooks). Defaults to 300 seconds. number 300 no
values (Optional) List of values in raw yaml to pass to helm. Values will be merged, in order, as Helm does with multiple -f options. list(any) null no
verify (Optional) Verify the package before installing it. Helm uses a provenance file to verify the integrity of the chart; this must be hosted alongside the chart. For more information see the Helm Documentation. https://helm.sh/docs/topics/provenance/ Defaults to false. bool false no
wait (Optional) Will wait until all resources are in a ready state before marking the release as successful. It will wait for as long as timeout. Defaults to true. bool true no
wait_for_jobs (Optional) If wait is enabled, will wait until all Jobs have been completed before marking the release as successful. It will wait for as long as timeout. Defaults to false. bool false no

Outputs

Name Description
helm_app_version n/a
helm_name n/a
helm_revision n/a
helm_version n/a

README.md created with terraform-docs

terraform-docs markdown . --output-file README.md

About

Terraform Module to drive install of the Datadog Helm chart

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages