Elasticsearch removes kibana users after reconfiguration
Summary
When reconfiguration is triggered by role (when for example certificate has changed) reconfigure action causes that users and tenants which were made by Kibana API disappear.
Steps to reproduce
Run deploy action with new certificates.
Expected behavior
Roles, users, tenants etc. should exist in Kibana.
Actual behavior
Only initial objects exists in Kibana.
Possible fixes
In reconfigure action do not point to whole security config directory but only to config.yml file as describded here: https://discuss.opendistrocommunity.dev/t/users-gone-after-using-securityadmin-sh/1781/4