Skip to content

Commit

Permalink
Merge pull request #62 from midokura/fix_mapping_and_app
Browse files Browse the repository at this point in the history
Give another try to Datadog version
  • Loading branch information
devvesa authored Nov 16, 2023
2 parents 92912ae + a90ffcf commit 037bec1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions helm/thingsboard/templates/mqtt-transport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ metadata:
name: {{ .Release.Name }}-mqtt-transport
labels:
tags.datadoghq.com/service: tb-mqtt-transport
tags.datadoghq.com/version: {{ .AppVersion }}
tags.datadoghq.com/version: {{ .Values.image.tag }}
{{- include "thingsboard.labels" . | nindent 4 }}
spec:
{{- $podLabels := include "thingsboard.selectorLabels-mqtt" . }}
Expand All @@ -43,7 +43,7 @@ spec:
{{- end }}
labels:
tags.datadoghq.com/service: tb-mqtt-transport
tags.datadoghq.com/version: {{ .AppVersion }}
tags.datadoghq.com/version: {{ .Values.image.tag }}
admission.datadoghq.com/enabled: "true"
{{- include "thingsboard.selectorLabels-mqtt" . | nindent 8 }}
spec:
Expand Down
6 changes: 3 additions & 3 deletions helm/thingsboard/templates/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ metadata:
name: {{ .Release.Name }}-node
labels:
tags.datadoghq.com/service: tb-node
tags.datadoghq.com/version: {{ .AppVersion }}
tags.datadoghq.com/version: {{ .Values.image.tag }}
{{- include "thingsboard.labels" . | nindent 4 }}
spec:
{{- $podLabels := include "thingsboard.selectorLabels-node" . }}
Expand All @@ -43,7 +43,7 @@ spec:
{{- end }}
labels:
tags.datadoghq.com/service: tb-node
tags.datadoghq.com/version: {{ .AppVersion }}
tags.datadoghq.com/version: {{ .Values.image.tag }}
admission.datadoghq.com/enabled: "true"
{{- include "thingsboard.selectorLabels-node" . | nindent 8 }}
spec:
Expand Down Expand Up @@ -124,7 +124,7 @@ spec:
- name: DEFAULT_INACTIVITY_TIMEOUT
value: {{ .Values.node.state.defaultInactivityTimeoutInSec | default 600 | quote }}
- name: DD_SERVICE_MAPPING
value: "postgres:thingsboard-postgres"
value: "postgresql:thingsboard-postgres"
envFrom:
- configMapRef:
name: {{ .Release.Name }}-node-db-config
Expand Down
4 changes: 2 additions & 2 deletions helm/thingsboard/templates/web-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ metadata:
name: {{ .Release.Name }}-web-ui
labels:
tags.datadoghq.com/service: tb-ui
tags.datadoghq.com/version: {{ .AppVersion }}
tags.datadoghq.com/version: {{ .Values.image.tag }}
{{- include "thingsboard.labels" . | nindent 4 }}
spec:
{{- if not .Values.webui.autoscaling.enabled }}
Expand All @@ -42,7 +42,7 @@ spec:
{{- end }}
labels:
tags.datadoghq.com/service: tb-ui
tags.datadoghq.com/version: {{ .AppVersion }}
tags.datadoghq.com/version: {{ .Values.image.tag }}
admission.datadoghq.com/enabled: "true"
{{- include "thingsboard.selectorLabels-webui" . | nindent 8 }}
spec:
Expand Down

0 comments on commit 037bec1

Please sign in to comment.