diff options
author | 2019-02-13 05:18:56 -0800 | |
---|---|---|
committer | 2019-02-13 05:18:56 -0800 | |
commit | 1dcbaf358f82777ccee965b3e3556250270eaed2 (patch) | |
tree | 34da72fee1f096c179a75d25d985bce1338fb171 /vnfs/DAaaS/collectd-helm/templates/service.yaml | |
parent | 9ab9b4283bd8688c5d4c0e8636520a358df97e67 (diff) |
Fix collectd helm chart
Fix collectd prometheus integration by adding correct labels.
Added template helper function for helm chart.
Updated Chart appVersion, NOTES.
Initial Helm charts for CollectD, Prometheus Operator,
Kafka Strimzi operator, Rook Ceph Operator.
Change-Id: I511fc415bf2f2ab4b92d7501f3d3a1e6b6f82581
Issue-ID: ONAPARC-366
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Diffstat (limited to 'vnfs/DAaaS/collectd-helm/templates/service.yaml')
-rw-r--r-- | vnfs/DAaaS/collectd-helm/templates/service.yaml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/vnfs/DAaaS/collectd-helm/templates/service.yaml b/vnfs/DAaaS/collectd-helm/templates/service.yaml index 6ae6f098..b4231af3 100644 --- a/vnfs/DAaaS/collectd-helm/templates/service.yaml +++ b/vnfs/DAaaS/collectd-helm/templates/service.yaml @@ -8,10 +8,9 @@ metadata: spec: ports: - name: collectd-prometheus - port: {{ .Values.prometheus_port }} - targetPort: collectd + port: {{ .Values.collectd_prometheus.service.port }} + protocol: TCP + targetPort: {{ .Values.collectd_prometheus.service.targetPort }} selector: - app: {{ template "name" . }} - collector: collectd - release: {{ .Release.Name }} - type: ClusterIP +{{ include "rangeskipempty" .Values.collectd_prometheus.service.selector | indent 4 }} + type: ClusterIP
\ No newline at end of file |