Commit Graph
123 Commits
Author SHA1 Message Date
Xavier Lucas 31462f6be2 [stable/datadog] Add xlucas to OWNERS (#15585)
* Add xlucas to OWNERS

Signed-off-by: Xavier Lucas <xavier.lucas@datadoghq.com>

* Update chart version

Signed-off-by: Xavier Lucas <xavier.lucas@datadoghq.com>
2019-07-17 02:40:34 -07:00
Steve Huff 2af95ff410 [stable/datadog] Fix whitespace trimming (#15577)
Using double-sided whitespace trimming (something like `{{- end -}}` can be
dangerous anywhere other than at the very beginning and the very end of a
template file, because it trims carriage returns.  This makes it possible to
inadvertently create a manifest like the following:

```yaml
apiVersion: "rbac.authorization.k8s.io/v1"
kind: ClusterRoleBinding
metadata:
  labels:
    app: "datadog"
    chart: "datadog-1.31.8"
    release: "datadog"
    heritage: "Tiller"
  name: datadog
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: datadog
subjects:
  - kind: ServiceAccount
    name: datadog
    namespace: datadog---
apiVersion: v1
kind: ServiceAccount
metadata:
  labels:
    app: "datadog"
    chart: "datadog-1.31.8"
    heritage: "Tiller"
    release: "datadog"
  name: datadog
---
```

Signed-off-by: Steve Huff <shuff@vecna.org>
2019-07-17 01:59:35 -07:00
Ahmed Mezghani 27bba5796f fix yamls (#15534)
Signed-off-by: Ahmed Mezghani <ahmed.mezghani@outlook.com>
2019-07-15 06:59:07 -07:00
Dennis Webb 96a0359aaa [stable/datadog] Adds podAnnotations to cluster-agent deployment (#15384)
Signed-off-by: Dennis Webb <dennis@bluesentryit.com>
2019-07-15 02:05:07 -07:00
Joe Hohertz fc0f5a865a [stable/datadog] ensure init scripts run in correct order (#15463)
* ensure init scripts run in correct order

Signed-off-by: Joe Hohertz <joe@viafoura.com>

* re-bump chart version

Signed-off-by: Joe Hohertz <joe@viafoura.com>
2019-07-12 12:47:06 -07:00
Ahmed Mezghani 81405b0a33 [stable/datadog] Regroup template yaml files (#15371)
* regroup template yaml files

Signed-off-by: Ahmed Mezghani <ahmed.mezghani@outlook.com>

* bump version

Signed-off-by: Ahmed Mezghani <ahmed.mezghani@outlook.com>

* regroup hpa rbac

Signed-off-by: Ahmed Mezghani <ahmed.mezghani@outlook.com>
2019-07-11 11:21:08 -07:00
Peter Rifel f8500ca19d [stable/datadog] Add priorityClassName to Cluster Agent deployment (#15135)
Signed-off-by: Peter Rifel <pgrifel@gmail.com>
2019-07-02 09:47:09 -07:00
Yuya Takeyama 220d820cc6 [stable/datadog] Make name of dogstatsd socket configurable (#14898)
* Make DogStatsD socket path configurable

Signed-off-by: Yuya Takeyama <sign.of.the.wolf.pentagram@gmail.com>

* Describe about `datadog.dogStatsDSocketPath`

Signed-off-by: Yuya Takeyama <sign.of.the.wolf.pentagram@gmail.com>

* Bump version

Signed-off-by: Yuya Takeyama <sign.of.the.wolf.pentagram@gmail.com>

* Refine README.md for `datadog.dogStatsDSocketPath`

Signed-off-by: Yuya Takeyama <sign.of.the.wolf.pentagram@gmail.com>
2019-07-01 07:49:21 -07:00
Yuya Takeyama c492a519b3 [stable/datadog] Fix wrong indentations (#14894)
* Fix wrong indentations

Signed-off-by: Yuya Takeyama <sign.of.the.wolf.pentagram@gmail.com>

* Bump chart version

Signed-off-by: Yuya Takeyama <sign.of.the.wolf.pentagram@gmail.com>

* Fix more indentations

Signed-off-by: Yuya Takeyama <sign.of.the.wolf.pentagram@gmail.com>

* Fix more indentations

Signed-off-by: Yuya Takeyama <sign.of.the.wolf.pentagram@gmail.com>
2019-06-19 08:28:57 -07:00
MattTheCat 90e0e063ab Added configmap to provide datadog.yaml (#14789)
configfile.
Added to daemonset.
Bumped Chart Version.

Signed-off-by: itmxg01 <matthew.gifford@railinc.com>
2019-06-17 15:32:29 -07:00
Xavier Lucas 76ff3a8586 Run agents in dedicated containers in Datadog chart (#13088)
* Run agents in dedicated containers

Signed-off-by: Xavier Lucas <xavier.lucas@datadoghq.com>

* Remove network tracer

Signed-off-by: Xavier Lucas <xavier.lucas@datadoghq.com>

* Lint

Signed-off-by: Xavier Lucas <xavier.lucas@datadoghq.com>

* Review fixes

Signed-off-by: Xavier Lucas <xavier.lucas@datadoghq.com>

* Suggested changes

Signed-off-by: Xavier Lucas <xavier.lucas@datadoghq.com>

* Propagate newest daemonset features

Signed-off-by: Xavier Lucas <xavier.lucas@datadoghq.com>

* Bump chart version

Signed-off-by: Xavier Lucas <xavier.lucas@datadoghq.com>

* Proper default resources

Signed-off-by: Xavier Lucas <xavier.lucas@datadoghq.com>

* Typo fix

Signed-off-by: Xavier Lucas <xavier.lucas@datadoghq.com>

* Suggested change

Signed-off-by: Xavier Lucas <xavier.lucas@datadoghq.com>
2019-06-17 08:38:13 -07:00
Ting Tu 2b2ba748fe Remove condition for mouting directory (#14591)
Signed-off-by: Ting Tu <ting.tu@datadoghq.com>
2019-06-07 06:47:59 -07:00
Ting Tu a3d6668e31 add mount log path (#14182)
Signed-off-by: Ting Tu <ting.tu@datadoghq.com>
2019-05-29 04:24:23 -07:00
Eugene Glotov dd70099876 [stable/datadog] Remove default resources requests and limits (#13138)
Resources should not be limited by default because nobody knows where
the chart will be installed to. Especially worth not to set CPU limits
by default as per https://github.com/kubernetes/kubernetes/issues/67577

Signed-off-by: Eugene Glotov <kivagant@gmail.com>
2019-05-23 10:20:28 -07:00
Kouta Ozaki 5d6904c85e [stable/datadog] fixes indent (#14011)
* [stable/datadog] fixes indent

Signed-off-by: k-kinzal <log@logn.in>

* [stable/datadog] bump version

Signed-off-by: k-kinzal <log@logn.in>
2019-05-23 05:12:26 -07:00
Cedric Lamoriniere 0fe1c774cc Remove priority field from APIService definition (#13685)
Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2019-05-15 09:00:27 -07:00
Cedric Lamoriniere aa8904bb43 Support leader election check on daemonset agent (#13849)
Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2019-05-15 05:44:33 -07:00
Carlos Tadeu Panato Junior 0ccd52d3b1 add apiVersion (#13781)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-05-14 14:27:06 -07:00
Xavier Lucas 1077eccc25 [stable/datadog] Fix broken links in README (#13699)
* Fix broken links in README

Signed-off-by: Xavier Lucas <xavier.lucas@datadoghq.com>

* Bump chart version

Signed-off-by: Xavier Lucas <xavier.lucas@datadoghq.com>
2019-05-13 04:38:10 -07:00
Haïssam Kaj aa56c279cd Add get /metrics to nonResourceURLs rbac (#12411)
Signed-off-by: Haissam Kaj <haissam@datadoghq.com>
2019-05-03 09:45:17 -07:00
Max Williams d77dc4e693 [stable/datadog] setting default daemonset updateStrategy to RollingUpdate (#13106)
Signed-off-by: Max Williams <max.williams@deliveryhero.com>
2019-05-03 05:32:19 -07:00
Max Williams 5eeebc988e [stable/datadog] add podLabels option (#13104)
* [stable/datadog] add podLabels option

We use pod labels in prometheus and also in alertsmanager so would be great to have this available in this chart.

Signed-off-by: Max Williams <max.williams@deliveryhero.com>

* updates after review

- Changing indentation of condition
- Removing pod labels from deployment
- Changing default in readme to "nil"
- Moving podLabels value inside daemonset map

Signed-off-by: Max Williams <max.williams@deliveryhero.com>

* Fix readme

Signed-off-by: Max Williams <max.williams@deliveryhero.com>
2019-05-03 03:52:25 -07:00
Haïssam Kaj 4c23490d2e [datadog] add two maintainers (#13116)
Signed-off-by: Haissam Kaj <haissam@datadoghq.com>
2019-04-19 05:23:53 -07:00
Xavier Vello 39ba214d2f Remove Xavier Vello as maintainer (#13105)
Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>
2019-04-17 01:58:02 -07:00
Cedric Lamoriniere 4226ebff42 Improves ClusterRole management in Datadog chart (#12705)
If a user choose to deploy a dedicated agent deployment for running
the cluster checks, the agent RBAC is updated in order to give only
ClusterRole permission to the Agent that need it.

Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2019-04-12 05:50:46 -07:00
Gus 78d2e5c898 [Datadog Values.yaml] Fixing indent (#13008)
* fixing indent

Signed-off-by: Pierre Guceski <p.guceski@gmail.com>

* bumping minor version

Signed-off-by: Pierre Guceski <p.guceski@gmail.com>
2019-04-12 05:10:47 -07:00
Pierre Margueritte d78cdf4b5e [datadog] Bump KSM dependency (#12714)
Signed-off-by: Pierre <mfpierre@gmail.com>
2019-04-01 10:18:35 -07:00
Cedric Lamoriniere 6549e12d22 Add ClusterChecks deployment template (#12582)
* Add ClusterChecks deployment template

Add the possibility to run dedicated agent(s) for handling the
Cluster Checks process. It allows having dedicated `resources`
request/limit for the Cluster Checks.

Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>

* Some small update

Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
2019-03-28 07:12:46 -07:00
Xavier Vello 121a1a8819 Update chart for new cluster-checks feature (#11241)
* Add AD annotation for cluster-agent container

Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>

* Add clusterChecks support

Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>

* values format

Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>

* .enabled and clusterName options, cleanup default values
Update cluster-agent to 1.2.0

Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>

* update agent to 6.10.1 + update helper description

Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>

* update chart version

Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>

* fix confd template

Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>
2019-03-14 08:32:27 -07:00
Naseem 9437b3b233 [stable/datadog] Add fullnameOverride and nameOverride in README and values file (#11903)
* Refactor naming

Add fullnameOverride and nameOverride in README+values file
Use recommended labels
Refactor naming of objects

Signed-off-by: Naseem Ullah <naseemkullah@gmail.com>

* Modify README and values

Signed-off-by: Naseem Ullah <naseemkullah@gmail.com>
2019-03-13 17:37:10 -07:00
Gus c680f8a334 Refactoring chart + Readme to make them consistent (#11636)
* refactoring chart + Readme to make them consistent

Signed-off-by: Pierre Guceski <p.guceski@gmail.com>

* bumping version + re-ordering configs

Signed-off-by: Pierre Guceski <p.guceski@gmail.com>

* adding new line character at the end of value file

Signed-off-by: Pierre Guceski <p.guceski@gmail.com>

* fixing lint

Signed-off-by: Pierre Guceski <p.guceski@gmail.com>

* review update

Signed-off-by: Pierre Guceski <p.guceski@gmail.com>

* refactor wording for 0.18

Signed-off-by: Pierre Guceski <p.guceski@gmail.com>

* removing wrong ref

Signed-off-by: Pierre Guceski <p.guceski@gmail.com>
2019-02-25 01:35:06 -08:00
Xavier Vello 5a2a613a1a etc/password is automatically added, document it (#11529)
Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>
2019-02-19 05:56:57 -08:00
Naseem 9981867ce7 Add upgrading section to readme (#11515)
Signed-off-by: Naseem Ullah <naseemkullah@gmail.com>
2019-02-19 04:18:56 -08:00
Tomasz Nowak 512ccd9fea [datadog] Enable dogstatsd over unix domain socket (#11474)
Signed-off-by: Tomasz Nowak <tomanowa@gmail.com>
2019-02-18 02:52:37 -08:00
Simon Guerrier 28130149db update clusterrole rbacs to be able to fetch clusterquotas from openshift correctly (#11272)
Signed-off-by: Simon Guerrier <simon.guerrier@datadoghq.com>
2019-02-08 06:43:44 -08:00
Naseem 50b435fdaa Modernizing helpers file (#11250)
Signed-off-by: Naseem Ullah <naseemkullah@gmail.com>
2019-02-07 16:40:10 -08:00
Robbie Marcelo faddc35217 [stable/datadog] Update default value of datadog.livenessProbe in README (#10876)
* Change default value of datadog.livenessProbe in README

Signed-off-by: Robbie Marcelo <rbmrclo@hotmail.com>

* Bump version to 1.18.1

Signed-off-by: Robbie Marcelo <rbmrclo@hotmail.com>
2019-01-29 07:35:37 -08:00
Xavier Vello 08892cf822 Upgrade agent to 6.9.0 and cluster-agent to 1.1.0 (#10959)
Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>
2019-01-29 02:11:01 -08:00
Simon Guerrier 9abdb3adca Datadog helm update (#10827)
* updated comment about useHostPort for APM

Signed-off-by: Simon Guerrier <simon.guerrier@datadoghq.com>

* changed liveness probe and added env var DD_HEALTH_PORT

Signed-off-by: Simon Guerrier <simon.guerrier@datadoghq.com>

* bump version to 1.17.0

Signed-off-by: Simon Guerrier <simon.guerrier@datadoghq.com>
2019-01-22 09:21:59 -08:00
LFA 692daad649 add DD_HOSTNAME, DD_AC_INCLUDE, DD_AC_EXCLUDE to DaemonSet config (#10211)
Signed-off-by: Laurent Fallet <laurent.fallet@gmail.com>
2019-01-08 07:44:09 -08:00
Xavier Vello 296252fe24 Fix clusterchecks leader election (#10468)
* Add service name envvar to the DCA

Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>

* Reword cluster-agent token note to account for token not synced issues

Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>

* update version

Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>
2019-01-08 06:46:29 -08:00
Boris Kurktchiev 0c101b4abc Add support for SELinux label modification (#9778)
* Add support for SELinux label modification in case the
default SPC_T one does not work on a system

Signed-off-by: Boris Kurktchiev <boris@diamanti.com>

* resolve PR comments

Signed-off-by: Boris Kurktchiev <boris@diamanti.com>

* resolve the PR comments properly...

Signed-off-by: Boris Kurktchiev <boris@diamanti.com>

* resolve comments

Signed-off-by: Boris Kurktchiev <boris@diamanti.com>
2019-01-08 06:08:23 -08:00
Xavier Vello f32574707c Fix log pointer path in container + make it configurable on the host side (#10097)
Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>
2018-12-18 05:55:05 -08:00
Xavier Vello a1b5a7263e Allow to override liveness and readiness probes (#9966)
Raise default failure threshold: agent has 45 seconds to be healthy

Signed-off-by: Xavier Vello <xavier.vello@datadoghq.com>
2018-12-13 05:20:10 -08:00
Paul Charlton 06a650e941 [stable/datadog] add configuration for datadog intake server (#9715) (#9716)
Signed-off-by: Paul Charlton <techguru@byiq.com>
2018-12-07 07:45:51 -08:00
Joe Hohertz 4aacf405ff Correction to cluster agent deployment toleration attributes (#9556)
Was taking it from the wrong config section.

Also list the attribute in the README.

Signed-off-by: Joe Hohertz <joe@viafoura.com>
2018-11-28 08:35:12 -08:00
Ben Drucker 01bb76ee56 datadog: document nonLocalTraffic option (#8943)
* datadog: document nonLocalTraffic option

Signed-off-by: Ben Drucker <bvdrucker@gmail.com>

* bump chart version

Signed-off-by: Ben Drucker <bvdrucker@gmail.com>
2018-11-27 01:22:42 -08:00
Haïssam Kaj fa36b73bfa [datadog] Bump kube-state-metrics version (#9456)
* [datadog] bump kube-state-metrics dependency

Signed-off-by: Haissam Kaj <haissam.kaj@gmail.com>

* [datadog] update req.lock to match new dependency version

Signed-off-by: Haissam Kaj <haissam.kaj@gmail.com>
2018-11-21 10:24:39 -08:00
Pierre Margueritte cd01e234e8 [datadog] Update README (#9416)
* [datadog] Update README

Signed-off-by: Pierre <mfpierre@gmail.com>

* [datadog] bump chart version

Signed-off-by: Pierre <mfpierre@gmail.com>
2018-11-21 09:58:19 -08:00
Pierre Margueritte 9e6a3616f1 [Datadog] Add /var/run/s6 volume to avoid noexec on some setups (#9275)
Signed-off-by: Pierre <mfpierre@gmail.com>
2018-11-14 08:35:15 -08:00