diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a36018bf..7549e95ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - [#989](https://github.com/XenitAB/terraform-modules/pull/989) Update Azad-Kube-Proxy to v0.0.47. - [#996](https://github.com/XenitAB/terraform-modules/pull/996) Rename Datadog agent. - [#992](https://github.com/XenitAB/terraform-modules/pull/992) Add AKS cluster principal_id to aksmsi group. +- [#997](https://github.com/XenitAB/terraform-modules/pull/997) Add health checks to Datadog. ## 2023.06.3 diff --git a/modules/kubernetes/datadog/templates/kustomization.yaml.tpl b/modules/kubernetes/datadog/templates/kustomization.yaml.tpl index e288a41fb..fe8837bca 100644 --- a/modules/kubernetes/datadog/templates/kustomization.yaml.tpl +++ b/modules/kubernetes/datadog/templates/kustomization.yaml.tpl @@ -10,7 +10,11 @@ spec: name: flux-system path: "./platform/${cluster_id}/datadog-operator/" prune: true - validation: client + healthChecks: + - apiVersion: apps/v1 + kind: Deployment + namespace: datadog + name: datadog-operator --- apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 kind: Kustomization @@ -26,4 +30,12 @@ spec: name: flux-system path: "./platform/${cluster_id}/datadog/" prune: true - validation: client + healthChecks: + - apiVersion: apps/v1 + kind: Deployment + namespace: datadog + name: datadog-cluster-agent + - apiVersion: apps/v1 + kind: DaemonSet + namespace: datadog + name: datadog-agent