Skip to content

Commit

Permalink
Merge pull request #35 from FabianKramm/main
Browse files Browse the repository at this point in the history
refactor: change health check port
  • Loading branch information
FabianKramm authored Dec 20, 2021
2 parents 0487c12 + ff61f02 commit d221d24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ spec:
livenessProbe:
httpGet:
path: /healthz
port: 80
port: 9080
failureThreshold: 10
initialDelaySeconds: 5
periodSeconds: 10
Expand All @@ -72,7 +72,7 @@ spec:
readinessProbe:
httpGet:
path: /healthz
port: 80
port: 9080
failureThreshold: 10
initialDelaySeconds: 5
periodSeconds: 10
Expand Down
2 changes: 1 addition & 1 deletion cmd/jspolicy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func main() {
handler := http.HandlerFunc(func(writer http.ResponseWriter, request *http.Request) {})

// listen and serve
_ = http.ListenAndServe(":80", handler)
_ = http.ListenAndServe(":9080", handler)
}()

// start leader election for controllers
Expand Down

0 comments on commit d221d24

Please sign in to comment.