Add ImagePullSecrets for DigitalOcean deployments
Add imagePullSecrets to ensure authentication for the DO registry
Toni PetrinaPublished on 2023-11-27•1 min read
After deploying to DigitalOcean, suddenly my containers wouldn't start due to 401 errors from DigitalOcean. The cluster never had issues before so I had to manually add it.
spec:
template:
spec:
imagePullSecrets:
- name: secret-name-injected-usually-name-of-registry