Просмотр исходного кода

fix: running on Openshift cluster

Mohammad Yosefpor 4 лет назад
Родитель
Сommit
391bcdcf7f
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      deploy/charts/emqx/templates/StatefulSet.yaml

+ 4 - 0
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