File tree Expand file tree Collapse file tree 4 files changed +19
-1
lines changed
Expand file tree Collapse file tree 4 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,8 @@ apps:
143143 port: 3000
144144 autoscaling:
145145 enabled: false
146+ podAnnotations:
147+ ad.datadoghq.com/celery.logs: '[{"source": "celery","service": "celery"}]'
146148 jobs:
147149 - name: db-migrate
148150 command: "bundle exec rake db:migrate"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ type: application
1515# This is the chart version. This version number should be incremented each time you make changes
1616# to the chart and its templates, including the app version.
1717# Versions are expected to follow Semantic Versioning (https://semver.org/)
18- version : 0.6.1
18+ version : 0.7.0
1919
2020# This is the version number of the application being deployed. This version number should be
2121# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change @@ -66,6 +66,11 @@ metadata:
6666 name : {{ include "opszero.fullname" $ }}-{{ $app.name }}
6767 labels :
6868 {{- include "opszero.selectorLabels" $ | nindent 4 }}-{{ $app.name }}
69+ {{- if $.Values.datadog.enabled }}
70+ tags.datadoghq.com/env : {{ $.Values.datadog.envName | quote }}
71+ tags.datadoghq.com/service : {{ include "opszero.fullname" $ }}-{{ $app.name }}
72+ tags.datadoghq.com/version : {{ default $.Values.defaultImage $app.image | quote }}
73+ {{- end }}
6974spec :
7075 {{- if not $app.service.autoscaling.enabled }}
7176 replicas : {{ $.Values.replicaCount }}
7782 metadata :
7883 annotations :
7984 rollme : {{ randAlphaNum 5 | quote }}
85+ {{- with $app.service.podAnnotations -}}
86+ {{ toYaml . | nindent 8 }}
87+ {{- end }}
8088 labels :
8189 {{- include "opszero.selectorLabels" $ | nindent 8 }}-{{ $app.name }}
90+ {{- if $.Values.datadog.enabled }}
91+ tags.datadoghq.com/env : {{ $.Values.datadog.envName | quote }}
92+ tags.datadoghq.com/service : {{ include "opszero.fullname" $ }}-{{ $app.name }}
93+ tags.datadoghq.com/version : {{ default $.Values.defaultImage $app.image | quote }}
94+ {{- end }}
8295 spec :
8396 containers :
8497 - name : {{ $.Chart.Name }}
Original file line number Diff line number Diff line change @@ -50,6 +50,9 @@ affinity: {}
5050secrets : {}
5151envRaw : {}
5252
53+ datadog :
54+ enabled : false
55+
5356redis :
5457 enabled : false
5558 auth :
You can’t perform that action at this time.
0 commit comments