Skip to content

Commit

Permalink
doc(datadog): docuement datadog.envDict usage (#1605)
Browse files Browse the repository at this point in the history
  • Loading branch information
clamoriniere authored Nov 12, 2024
1 parent 6db36e9 commit 995a087
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
4 changes: 4 additions & 0 deletions charts/datadog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Datadog changelog

## 3.79.1

* Document how to use `datadog.envDict` option with the `--set` helm's flag.

## 3.79.0

* Add Logs Collection support for Google GKE on GDC
Expand Down
2 changes: 1 addition & 1 deletion charts/datadog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: datadog
version: 3.79.0
version: 3.79.1
appVersion: "7"
description: Datadog Agent
keywords:
Expand Down
12 changes: 11 additions & 1 deletion charts/datadog/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Datadog

![Version: 3.79.0](https://img.shields.io/badge/Version-3.79.0-informational?style=flat-square) ![AppVersion: 7](https://img.shields.io/badge/AppVersion-7-informational?style=flat-square)
![Version: 3.79.1](https://img.shields.io/badge/Version-3.79.1-informational?style=flat-square) ![AppVersion: 7](https://img.shields.io/badge/AppVersion-7-informational?style=flat-square)

[Datadog](https://www.datadoghq.com/) is a hosted infrastructure monitoring platform. This chart adds the Datadog Agent to all nodes in your cluster via a DaemonSet. It also optionally depends on the [kube-state-metrics chart](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-state-metrics). For more information about monitoring Kubernetes with Datadog, please refer to the [Datadog documentation website](https://docs.datadoghq.com/agent/basic_agent_usage/kubernetes/).

Expand Down Expand Up @@ -441,6 +441,16 @@ agents:
# (...)
```

## Set an environment variable with the `--set` helm flag

You can set environment variables using the `--set` helm's flag thanks to the `datadog.envDict` field.

For example, to set the `DD_ENV` environment variable:

```console
$ helm install --set datadog.envDict.DD_ENV=prod <release name> datadog/datadog
```

## All configuration options

The following table lists the configurable parameters of the Datadog chart and their default values. Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
Expand Down
10 changes: 10 additions & 0 deletions charts/datadog/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,16 @@ agents:
# (...)
```

## Set an environment variable with the `--set` helm flag

You can set environment variables using the `--set` helm's flag thanks to the `datadog.envDict` field.

For example, to set the `DD_ENV` environment variable:

```console
$ helm install --set datadog.envDict.DD_ENV=prod <release name> datadog/datadog
```

## All configuration options

The following table lists the configurable parameters of the Datadog chart and their default values. Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
Expand Down

0 comments on commit 995a087

Please sign in to comment.