Skip to content

Commit

Permalink
DD PL: add DNS policy (#1426)
Browse files Browse the repository at this point in the history
* DD PL: add DNS policy

* Update charts/synthetics-private-location/templates/deployment.yaml

Co-authored-by: Adam Johnson <[email protected]>

---------

Co-authored-by: Adam Johnson <[email protected]>
  • Loading branch information
bagnaram and nhyne authored Jul 1, 2024
1 parent 9005fd0 commit 70ffaeb
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
4 changes: 4 additions & 0 deletions charts/synthetics-private-location/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Datadog changelog

## 0.16.3

* Add dnsConfig to DD private location Pod

## 0.16.2

* Update private location image version to `1.48.0`.
Expand Down
2 changes: 1 addition & 1 deletion charts/synthetics-private-location/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: synthetics-private-location
version: 0.16.2
version: 0.16.3
appVersion: 1.48.0
description: Datadog Synthetics Private Location
keywords:
Expand Down
3 changes: 2 additions & 1 deletion charts/synthetics-private-location/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Datadog Synthetics Private Location

![Version: 0.16.2](https://img.shields.io/badge/Version-0.16.2-informational?style=flat-square) ![AppVersion: 1.48.0](https://img.shields.io/badge/AppVersion-1.48.0-informational?style=flat-square)
![Version: 0.16.3](https://img.shields.io/badge/Version-0.16.3-informational?style=flat-square) ![AppVersion: 1.48.0](https://img.shields.io/badge/AppVersion-1.48.0-informational?style=flat-square)

[Datadog](https://www.datadoghq.com/) is a hosted infrastructure monitoring platform. This chart adds a Datadog Synthetics Private Location Deployment. For more information about synthetics monitoring with Datadog, please refer to the [Datadog documentation website](https://docs.datadoghq.com/synthetics/private_locations/?tab=helmchart).

Expand Down Expand Up @@ -30,6 +30,7 @@ helm install <RELEASE_NAME> datadog/synthetics-private-location --set-file confi
| configConfigMap | string | `""` | Config Map that stores the configuration of the private location worker for the deployment |
| configFile | string | `"{}"` | JSON string containing the configuration of the private location worker |
| configSecret | string | `""` | Name of the secret that stores the configuration of the private location worker for the deployment. Use it only if you want to manage the secret outside of the Helm chart as using `configFile` will create a secret. The `data` inside the secret needs to have the key `synthetics-check-runner.json`. |
| dnsConfig | object | `{}` | DNS Config to set to the Datadog Synthetics Private Location PODs |
| dnsPolicy | string | `"ClusterFirst"` | DNS Policy to set to the Datadog Synthetics Private Location PODs |
| enableStatusProbes | bool | `false` | Enable both liveness and readiness probes (minimal private location image version required: 1.12.0) |
| env | list | `[]` | Set environment variables |
Expand Down
4 changes: 4 additions & 0 deletions charts/synthetics-private-location/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ spec:
{{ if .Values.dnsPolicy }}
dnsPolicy: {{ .Values.dnsPolicy}}
{{ end }}
{{- with .Values.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/synthetics-private-location/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ image:

# dnsPolicy -- DNS Policy to set to the Datadog Synthetics Private Location PODs
dnsPolicy: ClusterFirst
# dnsConfig -- DNS Config to set to the Datadog Synthetics Private Location PODs
dnsConfig: {}

# imagePullSecrets -- Datadog Synthetics Private Location repository pullSecret (ex: specify docker registry credentials)
imagePullSecrets: []
Expand Down

0 comments on commit 70ffaeb

Please sign in to comment.