From 4108a09f1b2696bdb2952fc1d431fd2fe50303a1 Mon Sep 17 00:00:00 2001 From: Darren Burton Date: Thu, 14 May 2026 13:28:13 -0500 Subject: [PATCH] fix(influxdb3-enterprise): Add Processing Engine protection for air-gapped deployments Add automatic INFLUXDB3_UNSET_VARS to non-processor pods (ingester, querier, compactor) when processingEngine.enabled is false to prevent Processing Engine initialization failures in air-gapped Kubernetes environments. Implements official InfluxData recommendation per documentation: https://docs.influxdata.com/influxdb3/enterprise/reference/config-options/#disable-the-processing-engine Fixes #793 Related: influxdata/influxdb_pro#3607 --- charts/influxdb3-enterprise/Chart.yaml | 2 +- .../templates/compactor-statefulset.yaml | 6 ++++++ .../templates/ingester-statefulset.yaml | 6 ++++++ .../influxdb3-enterprise/templates/querier-statefulset.yaml | 6 ++++++ 4 files changed, 19 insertions(+), 1 deletion(-) diff --git a/charts/influxdb3-enterprise/Chart.yaml b/charts/influxdb3-enterprise/Chart.yaml index 09ed6724..9e9c6634 100644 --- a/charts/influxdb3-enterprise/Chart.yaml +++ b/charts/influxdb3-enterprise/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: influxdb3-enterprise description: A Helm chart for deploying InfluxDB 3 Enterprise on Kubernetes type: application -version: 0.3.2 +version: 0.3.3 appVersion: "3.9.2" keywords: - influxdb diff --git a/charts/influxdb3-enterprise/templates/compactor-statefulset.yaml b/charts/influxdb3-enterprise/templates/compactor-statefulset.yaml index 0c8c69ca..459d5395 100644 --- a/charts/influxdb3-enterprise/templates/compactor-statefulset.yaml +++ b/charts/influxdb3-enterprise/templates/compactor-statefulset.yaml @@ -124,6 +124,12 @@ spec: value: {{ .config | quote }} {{- end }} {{- end }} + {{- if not .Values.processingEngine.enabled }} + # Prevent Processing Engine initialization on non-processor pods (air-gapped deployments) + # Official docs: https://docs.influxdata.com/influxdb3/enterprise/reference/config-options/#disable-the-processing-engine + - name: INFLUXDB3_UNSET_VARS + value: "INFLUXDB3_PLUGIN_DIR INFLUXDB3_PACKAGE_MANAGER INFLUXDB3_PLUGIN_REPO" + {{- end }} {{- with .Values.extraEnv }} {{- toYaml . | nindent 12 }} {{- end }} diff --git a/charts/influxdb3-enterprise/templates/ingester-statefulset.yaml b/charts/influxdb3-enterprise/templates/ingester-statefulset.yaml index e1d22392..db4179b2 100644 --- a/charts/influxdb3-enterprise/templates/ingester-statefulset.yaml +++ b/charts/influxdb3-enterprise/templates/ingester-statefulset.yaml @@ -115,6 +115,12 @@ spec: value: {{ .config | quote }} {{- end }} {{- end }} + {{- if not .Values.processingEngine.enabled }} + # Prevent Processing Engine initialization on non-processor pods (air-gapped deployments) + # Official docs: https://docs.influxdata.com/influxdb3/enterprise/reference/config-options/#disable-the-processing-engine + - name: INFLUXDB3_UNSET_VARS + value: "INFLUXDB3_PLUGIN_DIR INFLUXDB3_PACKAGE_MANAGER INFLUXDB3_PLUGIN_REPO" + {{- end }} {{- with .Values.extraEnv }} {{- toYaml . | nindent 12 }} {{- end }} diff --git a/charts/influxdb3-enterprise/templates/querier-statefulset.yaml b/charts/influxdb3-enterprise/templates/querier-statefulset.yaml index 4a6d304c..77678ec1 100644 --- a/charts/influxdb3-enterprise/templates/querier-statefulset.yaml +++ b/charts/influxdb3-enterprise/templates/querier-statefulset.yaml @@ -93,6 +93,12 @@ spec: value: {{ .config | quote }} {{- end }} {{- end }} + {{- if not .Values.processingEngine.enabled }} + # Prevent Processing Engine initialization on non-processor pods (air-gapped deployments) + # Official docs: https://docs.influxdata.com/influxdb3/enterprise/reference/config-options/#disable-the-processing-engine + - name: INFLUXDB3_UNSET_VARS + value: "INFLUXDB3_PLUGIN_DIR INFLUXDB3_PACKAGE_MANAGER INFLUXDB3_PLUGIN_REPO" + {{- end }} {{- with .Values.extraEnv }} {{- toYaml . | nindent 12 }} {{- end }}