From 391bcdcf7fabd740c4456874c11b154f12beee39 Mon Sep 17 00:00:00 2001 From: Mohammad Yosefpor Date: Thu, 12 Aug 2021 15:52:16 +0430 Subject: [PATCH] fix: running on Openshift cluster --- deploy/charts/emqx/templates/StatefulSet.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deploy/charts/emqx/templates/StatefulSet.yaml b/deploy/charts/emqx/templates/StatefulSet.yaml index 12fd4c8d8..f8f7fce52 100644 --- a/deploy/charts/emqx/templates/StatefulSet.yaml +++ b/deploy/charts/emqx/templates/StatefulSet.yaml @@ -63,6 +63,8 @@ spec: claimName: {{ tpl . $ }} {{- end }} {{- end }} + - name: emqx-config + emptyDir: {} {{- if .Values.emqxLicneseSecretName }} - name: emqx-license secret: @@ -137,6 +139,8 @@ spec: subPath: "emqx.lic" readOnly: true {{ end }} + - name: emqx-config + mountPath: /opt/emqx/data/configs/ readinessProbe: httpGet: path: /api/v5/status