Description of problem:
Launch a cluster with userTags in install-config defined, tags can be seen in S3 level when cluster is ready; but when set spec.managementState from Managed-> Removed-> Managed in configs.imageregistry, tags are gone in S3 level.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Launch a cluster with userTags defined in install-config, below values can be seen in infrastructure.config.openshift.io:
- key: adminContact
- key: costCenter
2.Check the tags in S3 level from AWS console
3.Set spec.managementState from Managed-> Removed-> Managed in configs.imageregistry
2. Tags can be seen and they are the same with the ones defined in install-config.
3. Tags are gone.
Tags should exist when image registry is restarted.
Definition in install-config:
No available payload to verify the bug till now.
Verified on 4.8.0-0.nightly-2021-05-06-210840: cannot reproduce this issue with 6 clusters.