-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
quay-v3.4.0
-
Dupe of
PROJQUAY-986
Description:
This is an issue found when mirror external repository, now after enabled mirror for a new image repository, provide required configurations, including external private repository, tags, schedule, credentials, click button "enable mirror", when sync up started, Quay allow operation to delete credentials, that's not reasonable, if users did operation "delete credentials", the sync up will be failed with unknown error.
Suggestions:
- Users can only update mirror configurations when Scheduled mirroring is disabled
- Users can only update mirror configurations when the status is not "sync up in progress"
Image: quay.io/projectquay/quay:0c65f88a
Steps:
- Login Quay console
- Create new image repository
- Go to settings tab, set repository state as Mirror
- Go to Mirror tag, provide required mirror configurations, including external private repository, tags, schedule, credentials, etc
- Click button "enable mirror"
- Wait for scheduled sync up to start
- Check usage logs, when some tags are sync up, go to Mirror tag, delete credentials
Expected Results:
Quay should not allow users to delete credentials.
Actual Results:
Quay allow user to delete credentials even the current status is "Sync up in progress"