Skip to content

Commit

Permalink
fix: Enable startup probe for gitea's postgres (#1719)
Browse files Browse the repository at this point in the history
Signed-off-by: Mikołaj Baranowski <[email protected]>
  • Loading branch information
mikolajb authored Nov 1, 2023
1 parent 43b9366 commit b9c893e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions services/gitea/9.3.0/defaults/cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,6 @@ data:
startupProbe:
enabled: true
tcpSocket:
port: http
initialDelaySeconds: 60
timeoutSeconds: 1
periodSeconds: 10
successThreshold: 1
failureThreshold: 10
# We use startupProbe unlike the default configuration,
# to shorten readiness time, set initialDelaySeconds to 5 seconds.
livenessProbe:
Expand Down Expand Up @@ -88,6 +81,8 @@ data:
enabled: true
primary:
priorityClassName: "dkp-critical-priority"
startupProbe:
enabled: true
image:
tag: 11.16.0-debian-11-r9
persistence:
Expand Down

0 comments on commit b9c893e

Please sign in to comment.