Kubectl cp automation

I want to copy files to kubernetes pods frequently, How can we automate that task?

currently copying files using kubectl cp command.

Regards,
Madhu

Using a configmap/secret and modify it?