$ aws ecr get-login-password | docker login -u AWS --password-stdin DOCKER_REGISTRY_DOMAIN_NAME
$ kubectl create secret generic SECRET_NAME --from-file=.dockerconfigjson=$HOME/.docker/config.json --type=kubernetes.io/dockerconfigjson

Now you can use SECRET_NAME as the name of the secret to pull images. Usually Helm charts use a pullImageSecrets variable for that.

I work as a freelancer, so if you don’t want to do that kind of things yourself or don’t have the time, just drop me a line to hire me.