File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 securityContext :
2828 {{- toYaml $podValues.podSecurityContext | nindent 8 }}
2929 containers :
30+ {{- if .Values.scoutapm }}
31+ - name : " scoutapm"
32+ image : " {{ .Values.scoutapm.image.repository }}:{{ default " latest" .Values.scoutapm.image.tag }}"
33+ imagePullPolicy : {{ default "IfNotPresent" .Values.scoutapm.image.imagePullPolicy }}
34+ livenessProbe :
35+ exec :
36+ command :
37+ - " sh"
38+ - " -c"
39+ - " ./core-agent probe --tcp 0.0.0.0:6590 | grep -q 'Agent found'"
40+ {{- end }}
3041 - name : {{ .Chart.Name }}
3142 securityContext :
3243 {{- toYaml $podValues.securityContext | nindent 12 }}
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ spec:
2727 securityContext :
2828 {{- toYaml $podValues.podSecurityContext | nindent 8 }}
2929 containers :
30- {{- if $podValues .scoutapm }}
30+ {{- if .Values .scoutapm }}
3131 - name : " scoutapm"
32- image : " {{ $podValues. scoutapm.image.repository }}:{{ default " latest" $podValues .scoutapm.image.tag }}"
33- imagePullPolicy : {{ default "IfNotPresent" $podValues .scoutapm.image.imagePullPolicy }}
32+ image : " {{ .Values. scoutapm.image.repository }}:{{ default " latest" .Values .scoutapm.image.tag }}"
33+ imagePullPolicy : {{ default "IfNotPresent" .Values .scoutapm.image.imagePullPolicy }}
3434 livenessProbe :
3535 exec :
3636 command :
Original file line number Diff line number Diff line change @@ -166,12 +166,6 @@ datatracker:
166166 nodeSelector : {}
167167
168168 affinity : {}
169-
170- # Set this to enable a Scout APM Core Agent sidecar
171- scoutapm :
172- image :
173- repository : " scoutapp/scoutapm"
174- tag : " version-1.4.0"
175169
176170# -------------------------------------------------------------
177171# CELERY
@@ -567,6 +561,15 @@ memcached:
567561
568562 affinity : {}
569563
564+ # -------------------------------------------------------------
565+ # SCOUT APM SETTINGS
566+ # -------------------------------------------------------------
567+ # Set this to enable a Scout APM Core Agent sidecar
568+ scoutapm :
569+ image :
570+ repository : " scoutapp/scoutapm"
571+ tag : " version-1.4.0"
572+
570573# -------------------------------------------------------------
571574# PERSISTENT VOLUMES
572575# -------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments