Skip to content

Commit a95111f

Browse files
mteodorHarness
authored andcommitted
fix: [CDS-116692]: Remove startup probe as logs may be missing if file writing is diabled (#12)
* 6580ad fix: [CDS-116692]: Use healhtz for startup probe as logs may be missing if file writing is diabled
1 parent adb035c commit a95111f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

charts/templates/gitops-agent/deployment.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,9 @@ spec:
136136
- mountPath: /app/logs
137137
name: log-volume
138138
startupProbe:
139-
exec:
140-
command:
141-
- test
142-
- -s
143-
- logs/agent.log
139+
httpGet:
140+
path: /healthz
141+
port: 8090
144142
initialDelaySeconds: {{ .Values.agent.startupProbe.initialDelaySeconds }}
145143
periodSeconds: {{ .Values.agent.startupProbe.periodSeconds }}
146144
failureThreshold: {{ .Values.agent.startupProbe.failureThreshold }}

0 commit comments

Comments
 (0)