File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ def _multiline_to_list(s):
182182 SCOUT_CORE_AGENT_SOCKET_PATH = "tcp://{host}:{port}" .format (
183183 host = os .environ .get ("DATATRACKER_SCOUT_CORE_AGENT_HOST" , "localhost" ),
184184 port = os .environ .get ("DATATRACKER_SCOUT_CORE_AGENT_PORT" , "6590" ),
185- ),
185+ )
186186 SCOUT_CORE_AGENT_DOWNLOAD = False
187187 SCOUT_CORE_AGENT_LAUNCH = False
188188 SCOUT_REVISION_SHA = __release_hash__ [:7 ]
Original file line number Diff line number Diff line change 2727 securityContext :
2828 {{- toYaml $podValues.podSecurityContext | nindent 8 }}
2929 containers :
30+ {{- if $podValues.scoutapm }}
31+ - name : " scoutapm"
32+ image : " {{ $podValues.scoutapm.image.repository }}:{{ default " latest" $podValues.scoutapm.image.tag }}"
33+ imagePullPolicy : {{ default "IfNotPresent" $podValues.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 }}
5768 {{- toYaml $podValues.startupProbe | nindent 12 }}
5869 resources :
5970 {{- toYaml $podValues.resources | nindent 12 }}
60- {{- if $podValues.scoutapm }}
61- initContainers :
62- - name : " scoutapm"
63- image : " {{ $podValues.scoutapm.image.repository }}:{{ default " latest" $podValues.image.tag }}"
64- imagePullPolicy : {{ default "IfNotPresent" $podValues.scoutapm.image.imagePullPolicy }}
65- restartPolicy : " Always"
66- {{- end }}
6771 {{- with $podValues.nodeSelector }}
6872 nodeSelector :
6973 {{- toYaml . | nindent 8 }}
You can’t perform that action at this time.
0 commit comments