Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[stable/datadog] Fix a bunch of nil defaults
Browse files Browse the repository at this point in the history
Signed-off-by: George Christou <gechrr@gmail.com>
  • Loading branch information
gechr committed Jul 2, 2020
1 parent 4a4d83f commit b946d1f
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 39 deletions.
4 changes: 4 additions & 0 deletions stable/datadog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Datadog changelog

## 2.3.21

* Fix additional default values in `values.yaml` to prevent errors with Helm 2.x

## 2.3.19

* Fix the container-trace-agent.yaml template creates invalid yaml when `useSocketVolume` is enabled.
Expand Down
2 changes: 1 addition & 1 deletion stable/datadog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: datadog
version: 2.3.20
version: 2.3.21
appVersion: "7"
description: Datadog Agent
keywords:
Expand Down
77 changes: 39 additions & 38 deletions stable/datadog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ datadog:
## You can modify the security context used to run the containers by
## modifying the label type below:
#
securityContext: #
securityContext: {}
# seLinuxOptions:
# user: system_u
# role: system_r
Expand Down Expand Up @@ -101,23 +101,23 @@ datadog:
## @param nodeLabelsAsTags - list of key:value strings - optional
## Provide a mapping of Kubernetes Node Labels to Datadog Tags.
#
nodeLabelsAsTags:
nodeLabelsAsTags: {}
# beta.kubernetes.io/instance-type: aws-instance-type
# kubernetes.io/role: kube_role
# <KUBERNETES_NODE_LABEL>: <DATADOG_TAG_KEY>

## @param podLabelsAsTags - list of key:value strings - optional
## Provide a mapping of Kubernetes Labels to Datadog Tags.
#
podLabelsAsTags:
podLabelsAsTags: {}
# app: kube_app
# release: helm_release
# <KUBERNETES_LABEL>: <DATADOG_TAG_KEY>

## @param podAnnotationsAsTags - list of key:value strings - optional
## Provide a mapping of Kubernetes Annotations to Datadog Tags
#
podAnnotationsAsTags:
podAnnotationsAsTags: {}
# iam.amazonaws.com/role: kube_iamrole
# <KUBERNETES_ANNOTATIONS>: <DATADOG_TAG_KEY>

Expand All @@ -126,7 +126,7 @@ datadog:
##
## Learn more about tagging: https://docs.datadoghq.com/tagging/
#
tags:
tags: []
# - "<KEY_1>:<VALUE_1>"
# - "<KEY_2>:<VALUE_2>"

Expand Down Expand Up @@ -261,7 +261,7 @@ datadog:
## The dd-agent supports many environment variables
## ref: /~https://github.com/DataDog/datadog-agent/tree/master/Dockerfiles/agent#environment-variables
#
env:
env: []
# - name: <ENV_VAR_NAME>
# value: <ENV_VAR_VALUE>

Expand Down Expand Up @@ -289,7 +289,7 @@ datadog:
## Each key becomes a file in /checks.d
## ref: /~https://github.com/DataDog/datadog-agent/tree/master/Dockerfiles/agent#optional-volumes
#
checksd:
checksd: {}
# service.py: |-

## @param dockerSocketPath - string - optional
Expand Down Expand Up @@ -406,13 +406,13 @@ clusterAgent:
## It is possible to specify docker registry credentials
## See https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
#
pullSecrets:
pullSecrets: []
# - name: "<REG_SECRET>"

## @param command - array - optional
## Command to run in the Cluster Agent container
#
command: # []
command: []

## @param token - string - required
## This needs to be at least 32 characters a-zA-z
Expand Down Expand Up @@ -497,13 +497,13 @@ clusterAgent:
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
#
nodeSelector: # {}
nodeSelector: {}

## @param affinity - object - optional
## Allow the Cluster Agent Deployment to schedule using affnity rules
## Allow the Cluster Agent Deployment to schedule using affinity rules
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
#
affinity: # {}
affinity: {}

## @param healthPort - integer - optional - default: 5555
## Port number use the cluster-agent to server healthz endpoint
Expand Down Expand Up @@ -552,7 +552,7 @@ clusterAgent:
## @param podAnnotations - list of key:value strings - optional
## Annotations to add to the cluster-agents's pod(s)
#
podAnnotations:
podAnnotations: {}
# key: "value"

## @param useHostNetwork - boolean - optional
Expand All @@ -568,30 +568,31 @@ clusterAgent:
## @param dnsConfig - list of objects - optional
## specify dns configuration options for datadog cluster agent containers e.g ndots
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsConfig:
dnsConfig: {}
# options:
# - name: ndots
# value: "1"

## @param volumes - list of objects - optional
## Specify additional volumes to mount in the cluster-agent container
#
volumes:
volumes: []
# - hostPath:
# path: <HOST_PATH>
# name: <VOLUME_NAME>

## @param volumeMounts - list of objects - optional
## Specify additional volumes to mount in the cluster-agent container
#
volumeMounts:
volumeMounts: []
# - name: <VOLUME_NAME>
# mountPath: <CONTAINER_PATH>
# readOnly: true

## @param datadog-cluster.yaml - object - optional
## Specify custom contents for the datadog cluster agent config (datadog-cluster.yaml).
#
datadog_cluster_yaml: # {}
datadog_cluster_yaml: {}

## @param createPodDisruptionBudget - boolean - optional
## Specify the pod disruption budget to apply to the cluster agents
Expand Down Expand Up @@ -644,7 +645,7 @@ agents:
## It is possible to specify docker registry credentials
## See https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
#
pullSecrets:
pullSecrets: []
# - name: "<REG_SECRET>"

## @param rbac - object - required
Expand All @@ -666,7 +667,7 @@ agents:
## @param env - list - required
## Additional environment variables for the agent container.
#
env:
env: []

## @param logLevel - string - optional
## Set logging verbosity, valid log levels are:
Expand Down Expand Up @@ -720,7 +721,7 @@ agents:
## @param env - list - required
## Additional environment variables for the process-agent container.
#
env:
env: []

## @param logLevel - string - optional
## Set logging verbosity, valid log levels are:
Expand Down Expand Up @@ -780,7 +781,7 @@ agents:
## @param env - list - required
## Additional environment variables for the system-probe container.
#
env:
env: []

## @param logLevel - string - optional
## Set logging verbosity, valid log levels are:
Expand Down Expand Up @@ -815,15 +816,15 @@ agents:
## @param volumes - list of objects - optional
## Specify additional volumes to mount in the dd-agent container
#
volumes:
volumes: []
# - hostPath:
# path: <HOST_PATH>
# name: <VOLUME_NAME>

## @param volumeMounts - list of objects - optional
## Specify additional volumes to mount in the dd-agent container
#
volumeMounts:
volumeMounts: []
# - name: <VOLUME_NAME>
# mountPath: <CONTAINER_PATH>
# readOnly: true
Expand All @@ -841,33 +842,33 @@ agents:
## @param dnsConfig - list of objects - optional
## specify dns configuration options for datadog cluster agent containers e.g ndots
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsConfig:
dnsConfig: {}
# options:
# - name: ndots
# value: "1"

## @param podAnnotations - list of key:value strings - optional
## Annotations to add to the DaemonSet's Pods
#
podAnnotations:
podAnnotations: {}
# <POD_ANNOTATION>: '[{"key": "<KEY>", "value": "<VALUE>"}]'

## @param tolerations - array - optional
## Allow the DaemonSet to schedule on tainted nodes (requires Kubernetes >= 1.6)
#
tolerations: # []
tolerations: []

## @param nodeSelector - object - optional
## Allow the DaemonSet to schedule on selected nodes
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
#
nodeSelector: # {}
nodeSelector: {}

## @param affinity - object - optional
## Allow the DaemonSet to schedule using affinity rules
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
#
affinity: # {}
affinity: {}

## @param updateStrategy - string - optional
## Allow the DaemonSet to perform a rolling update on helm update
Expand All @@ -886,7 +887,7 @@ agents:
## @param podLabels - object - optional
## Sets podLabels if defined.
#
podLabels: # {}
podLabels: {}

## @param useConfigMap - boolean - optional
## Configures a configmap to provide the agent configuration
Expand All @@ -900,7 +901,7 @@ agents:
## ref: /~https://github.com/DataDog/datadog-agent/blob/master/pkg/config/config_template.yaml
## Note the `agent.useConfigMap` needs to be set to `true` for this parameter to be taken into account.
#
customAgentConfig:
customAgentConfig: {}
# # Autodiscovery for Kubernetes
# listeners:
# - name: kubelet
Expand Down Expand Up @@ -959,7 +960,7 @@ clusterChecksRunner:
## It is possible to specify docker registry credentials
## See https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
#
pullSecrets:
pullSecrets: []
# - name: "<REG_SECRET>"

## @param createPodDisruptionBudget - boolean - optional
Expand Down Expand Up @@ -1012,7 +1013,7 @@ clusterChecksRunner:
## By default, ClusterChecks Deployment Pods are forced to run on different Nodes.
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
#
affinity: # {}
affinity: {}

## @param strategy - string - optional
## Allow the ClusterChecks deployment to perform a rolling update on helm update
Expand All @@ -1027,7 +1028,7 @@ clusterChecksRunner:
## @param dnsConfig - list of objects - optional
## specify dns configuration options for datadog cluster agent containers e.g ndots
## ref: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config
dnsConfig:
dnsConfig: {}
# options:
# - name: ndots
# value: "1"
Expand All @@ -1036,13 +1037,13 @@ clusterChecksRunner:
## Allow the ClusterChecks Deployment to schedule on selected nodes
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
#
nodeSelector: # {}
nodeSelector: {}

## @param tolerations - array - required
## Tolerations for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
#
tolerations: # []
tolerations: []

## @param livenessProbe - object - required
## In case of issues with the probe, you can disable it with the
Expand Down Expand Up @@ -1084,22 +1085,22 @@ clusterChecksRunner:
## The dd-agent supports many environment variables
## ref: /~https://github.com/DataDog/datadog-agent/tree/master/Dockerfiles/agent#environment-variables
#
env:
env: []
# - name: <ENV_VAR_NAME>
# value: <ENV_VAR_VALUE>

## @param volumes - list of objects - optional
## Specify additional volumes to mount in the cluster checks container
#
volumes:
volumes: []
# - hostPath:
# path: <HOST_PATH>
# name: <VOLUME_NAME>

## @param volumeMounts - list of objects - optional
## Specify additional volumes to mount in the cluster checks container
#
volumeMounts:
volumeMounts: []
# - name: <VOLUME_NAME>
# mountPath: <CONTAINER_PATH>
# readOnly: true
Expand Down

0 comments on commit b946d1f

Please sign in to comment.