Skip to content

Commit

Permalink
fix(charts/prow): add container probes for tide component
Browse files Browse the repository at this point in the history
Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo committed Jul 6, 2023
1 parent 709aa63 commit 566c3ea
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/prow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type: application
# time you make changes to the chart and its templates,
# including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: "0.9.7"
version: "0.9.8"

# This is the version number of the application being deployed.
# This version number should be incremented each time you make changes to the
Expand Down
2 changes: 1 addition & 1 deletion charts/prow/templates/components/deck/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
{{- end }}
{{- with .Values.deck.additionalArgs }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
env:
- name: GITHUB_APP_ID
valueFrom:
Expand Down
13 changes: 13 additions & 0 deletions charts/prow/templates/components/tide/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,19 @@ spec:
name: kubeconfig
readOnly: true
{{- end }}
livenessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 3
periodSeconds: 3
readinessProbe:
httpGet:
path: /healthz/ready
port: http
initialDelaySeconds: 10
periodSeconds: 3
timeoutSeconds: 600
resources:
{{- toYaml .Values.tide.resources | nindent 12 }}
volumes:
Expand Down

0 comments on commit 566c3ea

Please sign in to comment.