Charlyf/dup hostport (#3022)

* adding hostport to ds and svc

* removing hostPort in svc and ds
This commit is contained in:
Charly Fontaine
2017-12-15 17:16:36 +01:00
committed by Reinhard Nägele
parent f27cd8e450
commit 330bfda2a9
2 changed files with 1 additions and 3 deletions
-1
View File
@@ -36,7 +36,6 @@ spec:
{{- end }}
name: dogstatsdport
protocol: UDP
hostPort: 8125
{{- if .Values.datadog.apmEnabled }}
- containerPort: 8126
{{- if .Values.daemonset.useHostPort }}
+1 -2
View File
@@ -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 }}