Kibana/Elasic in Helm Chart lost indices after redeploy

Hi everyone, I’m facing a an odd situation with kibana and elastic in a cluster create with helm chart. Every time I change a file or do a redeploy of the indices created dissapear and I cannot access with Kibana, even the data is in Data cluster. So, I want to know if there is a way to recreate it.

Is there a function that restore indices based on data saved in the Data nodes?