How to work with es enrollment token and kibana verification code when working in kubernetes

I need to have opportunity to collect logs from my embedded device and has chosen elasticsearch and kibana for that. I can connect to my embedded device through Ethernet from my PC. I installed elasticsearch and kibana in kubernetes.
The thing is that every time I restart kubernetes (I have minkube) I need to get into my pod and recreate the elasticsearch enrollment token like that:

bin/elasticsearch-create-enrollment-token --scope kibana

Recreate the user and password:

bin/elasticsearch-users useradd user -p passward -r superuser

And get into kibana pod and create the verification code:


It should be the smart way to start elasticsearch and kibana... How to manage in write way?