Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check: Show the latest stored version of CRDs #3441

Merged
merged 1 commit into from
Dec 23, 2022
Merged

Conversation

stefanprodan
Copy link
Member

After a CRD version upgrade, Kubernetes keeps the old version in the crd.Status.StoredVersions so we need to display the last entry in the array otherwise the flux check command confuses users by showing the oldest version.

Ref: fluxcd/notification-controller#455 (comment)

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan added bug Something isn't working area/UX labels Dec 23, 2022
@stefanprodan stefanprodan requested a review from hiddeco December 23, 2022 09:47
@stefanprodan stefanprodan merged commit 8ecaa56 into main Dec 23, 2022
@stefanprodan stefanprodan deleted the check-crds-version branch December 23, 2022 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants