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

NAS-133717 / 25.04 / Properly compare helm secrets version numbers #15459

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

Qubad786
Copy link
Contributor

Problem

Currently, when comparing Helm secret versions, the comparison is being performed as strings. This causes issues with two-digit versions not being compared correctly, leading to older app versions being migrated instead of the correct ones.

Solution

Resolve this issue by converting the Helm version strings into integers before performing the comparison. This ensures accurate version comparisons during app migration.

@Qubad786 Qubad786 added the jira label Jan 22, 2025
@Qubad786 Qubad786 requested a review from a team January 22, 2025 14:48
@bugclerk bugclerk changed the title Properly compare helm secrets version numbers NAS-133717 / 25.04 / Properly compare helm secrets version numbers Jan 22, 2025
@bugclerk
Copy link
Contributor

@truenas truenas deleted a comment from bugclerk Jan 22, 2025
@Qubad786 Qubad786 force-pushed the mrehan/properly-compare-helm-versions branch from 1f6db07 to f9ea7d8 Compare January 22, 2025 15:01
@Qubad786 Qubad786 requested a review from yocalebo January 22, 2025 15:02
@Qubad786 Qubad786 merged commit fde2a42 into master Jan 22, 2025
1 of 2 checks passed
@Qubad786 Qubad786 deleted the mrehan/properly-compare-helm-versions branch January 22, 2025 15:53
@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Jan 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants