diff --git a/stable/metabase/Chart.yaml b/stable/metabase/Chart.yaml index 5aa0e05620..289f3aa838 100644 --- a/stable/metabase/Chart.yaml +++ b/stable/metabase/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: The easy, open source way for everyone in your company to ask questions and learn from data. name: metabase -version: 0.10.1 +version: 0.10.2 appVersion: v0.34.0 maintainers: - name: pmint93 diff --git a/stable/metabase/README.md b/stable/metabase/README.md index 777234b0eb..6375c56535 100644 --- a/stable/metabase/README.md +++ b/stable/metabase/README.md @@ -74,6 +74,12 @@ The following table lists the configurable parameters of the Metabase chart and | emojiLogging | Get a funny emoji in service log | true | | javaOpts | JVM options | null | | pluginsDirectory | A directory with Metabase plugins | null | +| livenessProbe.initialDelaySeconds | Delay before liveness probe is initiated | 120 | +| livenessProbe.timeoutSeconds | When the probe times out | 30 | +| livenessProbe.failureThreshold | Minimum consecutive failures for the probe | 6 | +| readinessProbe.initialDelaySeconds | Delay before readiness probe is initiated | 30 | +| readinessProbe.timeoutSeconds | When the probe times out | 3 | +| readinessProbe.periodSeconds | How often to perform the probe | 5 | | service.type | ClusterIP, NodePort, or LoadBalancer | ClusterIP | | service.loadBalancerSourceRanges | Array of Source Ranges | null | | service.externalPort | Service external port | 80 | diff --git a/stable/metabase/templates/deployment.yaml b/stable/metabase/templates/deployment.yaml index 2b4064ab70..1a0a6507db 100644 --- a/stable/metabase/templates/deployment.yaml +++ b/stable/metabase/templates/deployment.yaml @@ -120,16 +120,16 @@ spec: httpGet: path: / port: {{ .Values.service.internalPort }} - initialDelaySeconds: 120 - timeoutSeconds: 30 - failureThreshold: 6 + initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }} + timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }} + failureThreshold: {{ .Values.livenessProbe.failureThreshold }} readinessProbe: httpGet: path: / port: {{ .Values.service.internalPort }} - initialDelaySeconds: 30 - timeoutSeconds: 3 - periodSeconds: 5 + initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }} + timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }} + periodSeconds: {{ .Values.readinessProbe.periodSeconds }} {{- if .Values.log4jProperties }} volumeMounts: - name: config diff --git a/stable/metabase/values.yaml b/stable/metabase/values.yaml index a024d9846b..5b8d874634 100644 --- a/stable/metabase/values.yaml +++ b/stable/metabase/values.yaml @@ -59,6 +59,16 @@ emojiLogging: true # javaOpts: # pluginsDirectory: +livenessProbe: + initialDelaySeconds: 120 + timeoutSeconds: 30 + failureThreshold: 6 + +readinessProbe: + initialDelaySeconds: 30 + timeoutSeconds: 3 + periodSeconds: 5 + service: name: metabase type: ClusterIP