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

helm: Add appVersion property to the charts #9051

Merged
merged 1 commit into from Oct 28, 2021

Conversation

travisn
Copy link
Member

@travisn travisn commented Oct 27, 2021

Description of your changes:
The appVersion should be set to the version of the application. Since the helm charts are built by Rook in the same release version as Rook itself, the version and appVersion values will be the same.

Which issue is resolved by this Pull Request:
Resolves #3589

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
  • Skip Tests for Docs: Add the flag for skipping the build if this is only a documentation change. See here for the flag.
  • Skip Unrelated Tests: Add a flag to run tests for a specific storage provider. See test options.
  • Reviewed the developer guide on Submitting a Pull Request
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.
  • Pending release notes updated with breaking and/or notable changes, if necessary.
  • Upgrade from previous release is tested and upgrade user guide is updated, if necessary.
  • Code generation (make codegen) has been run to update object specifications, if necessary.

@@ -2,6 +2,7 @@ apiVersion: v2
name: library
description: A simple library chart to share content between Rook's charts
version: 0.0.1
appVersion: 0.0.1
Copy link
Member

Choose a reason for hiding this comment

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

Do we need this for the library? It's not a top-level chart that contains any app but a library of reusable teplates, so I think maybe this is best left out?

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah, not necessary for the library, was just mirroring the version property. I'll remove it.

icon: https://rook.io/images/rook-logo.svg
sources:
- https://github.com/rook/rook
dependencies:
- name: library
version: "0.0.1"
appVersion: "0.0.1"
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we need to specify the app version for the dependency. It isn't present for the rook-ceph chart I see below.

The appVersion should be set to the version of the application. Since the helm
charts are built by Rook in the same release version as Rook itself, the
version and appVersion values will be the same.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
@travisn travisn merged commit 7168391 into rook:master Oct 28, 2021
@travisn travisn deleted the helm-app-version branch October 28, 2021 17:01
leseb added a commit that referenced this pull request Oct 29, 2021
helm: Add appVersion property to the charts (backport #9051)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Helm Chart appVersion for rook-ceph
2 participants