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

update bitnami commons version, introduce semver range #93

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

alexrashed
Copy link
Member

As reported in #92, the chart's dependency on bitnami's common chart is quite outdated. This can cause issues when this chart is again used as a dependency with other library charts using the commons in a different version, leading to conflicting or at least a non-deterministic selection of transitive dependencies (as outlined in helm/helm#11561).

This PR sets the dependency version to a version range: ^2.9.0.
We only have to regularly run helm dependency update and re-commit the generated lock file to update the chart (within updates in the major version 2). I might start looking into GitHub actions to automatically update the lock file when new versions of the chart are released.

Thanks @mjasnowski for the great issue report, making us aware of the issue and describing the background.
Fixes #92

@alexrashed alexrashed self-assigned this Aug 31, 2023
@alexrashed alexrashed requested a review from dfangl August 31, 2023 09:27
Copy link
Member

@dfangl dfangl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! However, can you clarify why we would need to update the lockfile regularly?

@alexrashed
Copy link
Member Author

If I'm not mistaken, the dependencies are packaged with the chart itself. The lock file pins the exact version of a dependency. So without performing helm dependency update the version range doesn't really have an effect, right?

I'll merge this PR for now, but we can continue the discussion here.

@mjasnowski
Copy link

@alexrashed TY for the quick turnaround, I've pulled down the latest release and confirmed issue is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using localstack and bitnami/mysql together result in: Error with executing "common.labels.standard"
3 participants