Use S3 elastic plugins


I installed elastic operator to install elastic search and kibana in AWS EKS.
I would like to register a S3 Repository for taking snapshot.
How do I get the repository-s3 plugin added to the elastic search image?
I used kubectl exec -it quickstart-es-default-0 /bin/bash and noticed the plugins directory is empty.
Elastic 7.5.0 image is in use.

Found the document myself now.