Skip to content

Commit 995a087

Browse files
authored
doc(datadog): docuement datadog.envDict usage (#1605)
1 parent 6db36e9 commit 995a087

File tree

4 files changed

+26
-2
lines changed

4 files changed

+26
-2
lines changed

charts/datadog/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Datadog changelog
22

3+
## 3.79.1
4+
5+
* Document how to use `datadog.envDict` option with the `--set` helm's flag.
6+
37
## 3.79.0
48

59
* Add Logs Collection support for Google GKE on GDC

charts/datadog/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: datadog
3-
version: 3.79.0
3+
version: 3.79.1
44
appVersion: "7"
55
description: Datadog Agent
66
keywords:

charts/datadog/README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Datadog
22

3-
![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)
3+
![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)
44

55
[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/).
66

@@ -441,6 +441,16 @@ agents:
441441
# (...)
442442
```
443443

444+
## Set an environment variable with the `--set` helm flag
445+
446+
You can set environment variables using the `--set` helm's flag thanks to the `datadog.envDict` field.
447+
448+
For example, to set the `DD_ENV` environment variable:
449+
450+
```console
451+
$ helm install --set datadog.envDict.DD_ENV=prod <release name> datadog/datadog
452+
```
453+
444454
## All configuration options
445455

446456
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,

charts/datadog/README.md.gotmpl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,16 @@ agents:
437437
# (...)
438438
```
439439

440+
## Set an environment variable with the `--set` helm flag
441+
442+
You can set environment variables using the `--set` helm's flag thanks to the `datadog.envDict` field.
443+
444+
For example, to set the `DD_ENV` environment variable:
445+
446+
```console
447+
$ helm install --set datadog.envDict.DD_ENV=prod <release name> datadog/datadog
448+
```
449+
440450
## All configuration options
441451

442452
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,

0 commit comments

Comments
 (0)