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 }}