I have one pod stateful.yaml file with different containers which pull the images from two different private registry. Since I have two different pull secrets, it seems that I couldn’t put them together in the imagePullSecrets section. I also try to put imagePullSecrets under each container, it doesn’t work as well. Do you have any idea?
Try giving both names under Image Pull Secrets.
- name: secret1
- name: secret2
Thanks a lot! It works.