Skip to content

Commit a51e261

Browse files
authored
1 parent b6d554e commit a51e261

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

charts/sourcegraph/templates/codeintel-db/codeintel-db.StatefulSet.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ spec:
8383
exec:
8484
command:
8585
- /liveness.sh
86+
startupProbe:
87+
exec:
88+
command:
89+
- /liveness.sh
90+
failureThreshold: 360
91+
periodSeconds: 10
8692
ports:
8793
- containerPort: 5432
8894
name: pgsql

charts/sourcegraph/templates/pgsql/pgsql.StatefulSet.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ spec:
7474
exec:
7575
command:
7676
- /liveness.sh
77+
startupProbe:
78+
exec:
79+
command:
80+
- /liveness.sh
81+
failureThreshold: 360
82+
periodSeconds: 10
7783
name: pgsql
7884
env:
7985
{{- include "sourcegraph.databaseAuth" (list . "pgsql" "POSTGRES_") | nindent 8 }}

0 commit comments

Comments
 (0)