Skip to content

Commit

Permalink
Add health checks to Datadog (#997)
Browse files Browse the repository at this point in the history
  • Loading branch information
phillebaba authored Jun 16, 2023
1 parent d65eccb commit a75260f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
16 changes: 14 additions & 2 deletions modules/kubernetes/datadog/templates/kustomization.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit a75260f

Please sign in to comment.