From ae810923c46d19a2fd3efe7495138a58a1d67a37 Mon Sep 17 00:00:00 2001 From: Zane Williamson Date: Thu, 31 Mar 2022 16:08:25 -0700 Subject: [PATCH] adding option to disable dogstatsd --- charts/dinghy-ping/Chart.yaml | 2 +- charts/dinghy-ping/templates/deployment.yaml | 2 ++ charts/dinghy-ping/values.yaml | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/dinghy-ping/Chart.yaml b/charts/dinghy-ping/Chart.yaml index e1118b3..3fb724c 100644 --- a/charts/dinghy-ping/Chart.yaml +++ b/charts/dinghy-ping/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: "v1.0.0" description: A Helm chart for dinghy-ping name: dinghy-ping -version: 0.4.6 +version: 0.4.7 icon: https://user-images.githubusercontent.com/538171/64288240-732bef00-cf16-11e9-830a-7b08759bffad.jpg maintainers: - name: sepulworld diff --git a/charts/dinghy-ping/templates/deployment.yaml b/charts/dinghy-ping/templates/deployment.yaml index 7629852..a851d13 100644 --- a/charts/dinghy-ping/templates/deployment.yaml +++ b/charts/dinghy-ping/templates/deployment.yaml @@ -29,6 +29,8 @@ spec: value: {{ include "dinghy-ping.fullname" . }}-redis.{{ .Release.Namespace }}.svc.cluster.local - name: DINGHY_PING_HOST value: {{ .Release.Name }}.{{- .Values.subdomain }} + - name: DD_DOGSTATSD_DISABLE + value: {{ .Values.disable_dogstatsd }} ports: - name: http containerPort: 80 diff --git a/charts/dinghy-ping/values.yaml b/charts/dinghy-ping/values.yaml index 9fe3827..99e8e5f 100644 --- a/charts/dinghy-ping/values.yaml +++ b/charts/dinghy-ping/values.yaml @@ -10,6 +10,9 @@ subdomain: voltron.cloud nameOverride: "" fullnameOverride: "" +# Disable Datadog dogstatsd +disable_dogstatsd: "True" + service: type: ClusterIP port: 80