Chart.yamlファイルのバージョンについて

各チャートには、Chart.yamlファイルのメタデータが含まれます。

たとえば、ttoperatorチャートのChart.yamlファイルを見てみましょう。特に、appVersionおよびversionメタデータを見てみましょう。

apiVersion: v2
name: ttoperator
description: A Helm chart for Kubernetes

# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2211300.1.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "22.1.1.30.0"

versionの値は、ドット(.)なしのTimesTenリリース番号と、その後に.1.0を反映します。たとえば、リリース22.1.1.30.0の場合、versionの値は2211300.1.0です。

同様に、appVersionの値はTimesTenリリース番号を反映しますが、形式は異なります。たとえば、リリース22.1.1.30.0の場合、appversionの値は22.1.1.30.0です。