fix: running on Openshift cluster

This commit is contained in:
Mohammad Yosefpor 2021-08-12 15:52:16 +04:30 committed by Rory Z
parent c90fc9578e
commit 391bcdcf7f
1 changed files with 4 additions and 0 deletions

View File

@ -63,6 +63,8 @@ spec:
claimName: {{ tpl . $ }} claimName: {{ tpl . $ }}
{{- end }} {{- end }}
{{- end }} {{- end }}
- name: emqx-config
emptyDir: {}
{{- if .Values.emqxLicneseSecretName }} {{- if .Values.emqxLicneseSecretName }}
- name: emqx-license - name: emqx-license
secret: secret:
@ -137,6 +139,8 @@ spec:
subPath: "emqx.lic" subPath: "emqx.lic"
readOnly: true readOnly: true
{{ end }} {{ end }}
- name: emqx-config
mountPath: /opt/emqx/data/configs/
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /api/v5/status path: /api/v5/status