From 16063140a844b278c47ff817ad906c60aac25522 Mon Sep 17 00:00:00 2001 From: WeblWabl Date: Wed, 28 Aug 2024 14:58:49 -0500 Subject: [PATCH] fix(edge): Fixes enterprise helm chart to allow config of livenessProbe (#671) * fix(edge): Fixes enterprise helm chart to allow config of livenessProbe * fix(edge): Fixes enterprise helm chart to allow config of livenessProbe * version bump * fixes * fixes * fixes * pls use 1.23 --- charts/influxdb-enterprise/Chart.yaml | 2 +- charts/influxdb-enterprise/templates/data-statefulset.yaml | 1 + charts/influxdb-enterprise/templates/meta-statefulset.yaml | 1 + charts/influxdb-enterprise/values.yaml | 5 +++++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/charts/influxdb-enterprise/Chart.yaml b/charts/influxdb-enterprise/Chart.yaml index acd94400..3f424286 100644 --- a/charts/influxdb-enterprise/Chart.yaml +++ b/charts/influxdb-enterprise/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v1 -version: 0.1.22 +version: 0.1.23 appVersion: 1.10.0 engine: gotpl diff --git a/charts/influxdb-enterprise/templates/data-statefulset.yaml b/charts/influxdb-enterprise/templates/data-statefulset.yaml index 7239b4e7..15750a69 100644 --- a/charts/influxdb-enterprise/templates/data-statefulset.yaml +++ b/charts/influxdb-enterprise/templates/data-statefulset.yaml @@ -121,6 +121,7 @@ spec: port: http {{- if .Values.data.https.enabled }} scheme: HTTPS + initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds | default 3600 }} {{- end }} readinessProbe: initialDelaySeconds: 30 diff --git a/charts/influxdb-enterprise/templates/meta-statefulset.yaml b/charts/influxdb-enterprise/templates/meta-statefulset.yaml index 39995c7b..12d60b3f 100644 --- a/charts/influxdb-enterprise/templates/meta-statefulset.yaml +++ b/charts/influxdb-enterprise/templates/meta-statefulset.yaml @@ -112,6 +112,7 @@ spec: port: http {{- if .Values.meta.https.enabled }} scheme: HTTPS + initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds | default 3600 }} {{- end }} readinessProbe: httpGet: diff --git a/charts/influxdb-enterprise/values.yaml b/charts/influxdb-enterprise/values.yaml index 0380ba08..63447157 100644 --- a/charts/influxdb-enterprise/values.yaml +++ b/charts/influxdb-enterprise/values.yaml @@ -23,6 +23,11 @@ serviceAccount: name: '' annotations: {} +## Customize liveness, readiness and startup probes +## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ +livenessProbe: {} + # initialDelaySeconds: 3600 + ## The name of a secret in the same kubernetes namespace which contain values ## to be added to the environment. ## This can be used, for example, to set the INFLUXDB_ENTERPRISE_LICENSE_KEY