From 330bfda2a9c8d0edab5ebe942005cb481f8e5fed Mon Sep 17 00:00:00 2001 From: Charly Fontaine Date: Fri, 15 Dec 2017 17:16:36 +0100 Subject: [PATCH] Charlyf/dup hostport (#3022) * adding hostport to ds and svc * removing hostPort in svc and ds --- stable/datadog/templates/daemonset.yaml | 1 - stable/datadog/templates/service.yaml | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/stable/datadog/templates/daemonset.yaml b/stable/datadog/templates/daemonset.yaml index c766b78b98..1d972332cd 100644 --- a/stable/datadog/templates/daemonset.yaml +++ b/stable/datadog/templates/daemonset.yaml @@ -36,7 +36,6 @@ spec: {{- end }} name: dogstatsdport protocol: UDP - hostPort: 8125 {{- if .Values.datadog.apmEnabled }} - containerPort: 8126 {{- if .Values.daemonset.useHostPort }} diff --git a/stable/datadog/templates/service.yaml b/stable/datadog/templates/service.yaml index 184d2ed320..88510b8aa1 100644 --- a/stable/datadog/templates/service.yaml +++ b/stable/datadog/templates/service.yaml @@ -1,4 +1,4 @@ -{{- if .Values.deployment.enabled }} +{{ if .Values.deployment.enabled }} apiVersion: v1 kind: Service metadata: @@ -13,7 +13,6 @@ spec: app: {{ template "datadog.fullname" . }} ports: - port: 8125 - hostPort: 8125 name: dogstatsdport protocol: UDP {{- if .Values.datadog.apmEnabled }}