Unverified Commit 699bc3c4 authored by Matthew Shooshtari's avatar Matthew Shooshtari Committed by GitHub

Prepend basepath to liveness and readiness probes. (#118)

* Prepend basepath to liveness and readiness probes. * Support Chronograf `--basepath`, `$BASE_PATH` options in chart. * Update Chronograf chart version. Co-authored-by: 's avatarMatt Shooshtari (mshoosht) <mshoosht@cisco.com>
parent 2a0d8f38
apiVersion: v1
name: chronograf
version: 1.1.15
version: 1.1.16
appVersion: 1.8.0
description: Open-source web application written in Go and React.js that provides
the tools to visualize your monitoring data and easily create alerting and automation
......
......@@ -158,11 +158,19 @@ spec:
name: api
livenessProbe:
httpGet:
{{- if .Values.env.BASE_PATH }}
path: {{ .Values.env.BASE_PATH }}/ping
{{- else }}
path: /ping
{{- end}}
port: api
readinessProbe:
httpGet:
{{- if .Values.env.BASE_PATH }}
path: {{ .Values.env.BASE_PATH }}/ping
{{- else }}
path: /ping
{{- end}}
port: api
volumeMounts:
- name: data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment