by using the helm chart of emqx operator(https://github.com/emqx/emqx-operator) and going to follow their guide (https://github.com/emqx/emqx-operator/blob/main/docs/en_US/tasks/configure-emqx-persistence.md) on how to set data persistence I get the error given in the following question.
I did exactly as described in the guide, but precisely I get the error reported in relation to emqx-core.
Moreover, By doing:
kubectl get sc
I get the following output:
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION
microk8s-hostpath (default) microk8s.io/hostpath Delete WaitForFirstConsumer false
Note: I use the APIVersion apps.emqx.io/v2alpha1