Skip to content

Commit

Permalink
feat: change health endpoint to /healthz
Browse files Browse the repository at this point in the history
  • Loading branch information
muhlba91 committed Nov 11, 2023
1 parent d2aaee5 commit 29e9033
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ sidecars:
name: http
livenessProbe:
httpGet:
path: /health
path: /healthz
port: http
initialDelaySeconds: 10
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /health
path: /healthz
port: http
initialDelaySeconds: 10
timeoutSeconds: 5
Expand Down
2 changes: 1 addition & 1 deletion pkg/webhook/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (
contentTypePlaintext = "text/plain"
acceptHeader = "Accept"
varyHeader = "Vary"
healthPath = "/health"
healthPath = "/healthz"
logFieldRequestPath = "requestPath"
logFieldRequestMethod = "requestMethod"
logFieldError = "error"
Expand Down

0 comments on commit 29e9033

Please sign in to comment.