it can make it so that we canāt modify the image because the credentials are invalid and we canāt modify the credentials because the image will not work with the credentials
Simple solution
Validate the image only on deploy and on service creation. And handle errors when pulling the image correctly by also giving users actionable log error messages instead of just failing.
Actual solution
Submit images & credentials at the same time, in the frontend they should be in the same form. This way they are validated at the same time and we are sure that the image specified will always be valid with the credentials provided.
Describe the bug
it can make it so that we canāt modify the image because the credentials are invalid and we canāt modify the credentials because the image will not work with the credentials
Simple solution
Validate the image only on deploy and on service creation. And handle errors when pulling the image correctly by also giving users actionable log error messages instead of just failing.
Actual solution
Submit images & credentials at the same time, in the frontend they should be in the same form. This way they are validated at the same time and we are sure that the image specified will always be valid with the credentials provided.