Skip to content

Commit

Permalink
Disable mutations on Datadog resources pods (#1330)
Browse files Browse the repository at this point in the history
  • Loading branch information
liliyadd authored Feb 23, 2024
1 parent 130a504 commit 0b71eb1
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 3 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.57.3

* Exclude agent, cluster agent and agent clusterchecks pods from injection from the admission controller.

## 3.57.2

* Add `networkpolicies` default permission for the cluster agent.
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.57.2
version: 3.57.3
appVersion: "7"
description: Datadog Agent
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/datadog/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Datadog

![Version: 3.57.2](https://img.shields.io/badge/Version-3.57.2-informational?style=flat-square) ![AppVersion: 7](https://img.shields.io/badge/AppVersion-7-informational?style=flat-square)
![Version: 3.57.3](https://img.shields.io/badge/Version-3.57.3-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
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spec:
labels:
{{ include "datadog.template-labels" . | indent 8 }}
app.kubernetes.io/component: clusterchecks-agent
admission.datadoghq.com/enabled: "false"
app: {{ template "datadog.fullname" . }}-clusterchecks
{{- if .Values.clusterChecksRunner.additionalLabels }}
{{ toYaml .Values.clusterChecksRunner.additionalLabels | indent 8 }}
Expand Down
1 change: 1 addition & 0 deletions charts/datadog/templates/cluster-agent-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ spec:
labels:
{{ include "datadog.template-labels" . | indent 8 }}
app.kubernetes.io/component: cluster-agent
admission.datadoghq.com/enabled: "false"
app: {{ template "datadog.fullname" . }}-cluster-agent
{{- if .Values.clusterAgent.podLabels }}
{{ toYaml .Values.clusterAgent.podLabels | indent 8 }}
Expand Down
2 changes: 1 addition & 1 deletion charts/datadog/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ metadata:
labels:
{{ include "datadog.labels" . | indent 4 }}
app.kubernetes.io/component: agent
admission.datadoghq.com/enabled: "false"
{{- if .Values.agents.additionalLabels }}
{{ toYaml .Values.agents.additionalLabels | indent 4 }}
{{- end }}
Expand All @@ -30,6 +29,7 @@ spec:
labels:
{{ include "datadog.template-labels" . | indent 8 }}
app.kubernetes.io/component: agent
admission.datadoghq.com/enabled: "false"
app: {{ template "datadog.fullname" . }}
{{- if .Values.agents.podLabels }}
{{ toYaml .Values.agents.podLabels | indent 8 }}
Expand Down

0 comments on commit 0b71eb1

Please sign in to comment.