Skip to content

Commit

Permalink
add health handler path to charts
Browse files Browse the repository at this point in the history
  • Loading branch information
James Ranson committed Jun 2, 2020
1 parent 78516f8 commit 7f59675
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/trickster/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ data:
{{- if .Values.pingHandlerPath }}
ping_handler_path = {{ .Values.pingHandlerPath | quote }}
{{- end }}
{{- if .Values.healthHandlerPath }}
health_handler_path = {{ .Values.healthHandlerPath | quote }}
{{- end }}
{{- if .pprofServer }}
pprof_server = {{ .pprofServer | quote }}
{{- end }}
Expand Down
5 changes: 5 additions & 0 deletions charts/trickster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,11 @@ origins:
# # which can be reached at http://your-trickster-endpoint:port/$ping_handler_path
# pingHandlerPath: /trickster/ping

# # healthHandlerPath provides the HTTP path prefix you will use to perform an uptime health check against
# # configured Trickster origins via http://trickster/$health_handler_path/$origin_name
# # default is '/trickster/health'. Set to empty string to fully disable upstream health checking
# healthHandlerPath = '/trickster/health'

# # pprofServer provides the name of the http listener that will host the pprof debugging routes
# # options are: "metrics", "reload", "both", or "off"; default is both
# pprofServer: both
Expand Down

0 comments on commit 7f59675

Please sign in to comment.