fix: apply suggestions
This commit is contained in:
parent
391bcdcf7f
commit
4bd2240c1a
|
@ -63,8 +63,6 @@ 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:
|
||||||
|
@ -132,15 +130,13 @@ spec:
|
||||||
{{ toYaml .Values.resources | indent 12 }}
|
{{ toYaml .Values.resources | indent 12 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: emqx-data
|
- name: emqx-data
|
||||||
mountPath: "/opt/emqx/data/mnesia"
|
mountPath: "/opt/emqx/data"
|
||||||
{{ if .Values.emqxLicneseSecretName }}
|
{{ if .Values.emqxLicneseSecretName }}
|
||||||
- name: emqx-license
|
- name: emqx-license
|
||||||
mountPath: "/opt/emqx/etc/emqx.lic"
|
mountPath: "/opt/emqx/etc/emqx.lic"
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue