Skip to Content
Learning Helm
book

Learning Helm

by Matt Butcher, Matt Farina, Josh Dolitsky
January 2021
Beginner to intermediate
212 pages
5h 38m
English
O'Reilly Media, Inc.
Content preview from Learning Helm

Appendix A. Chart API Versions

This appendix covers the differences between chart API versions 2 and 1 (legacy).

The chart API version is specified in each chart’s Chart.yaml file and is used by Helm to determine how to parse the chart and which feature sets are made available.

For new charts, API version 2 should generally be used. However, many publicly available charts were created prior to the genesis of API version 2, and use 1, the legacy API version. Here we will go into detail on each of these API versions and the ways in which they are different.

API Version 2

Chart API version 2 is the current API version that was introduced in Helm 3. This is the default API version used when new charts are created using helm create.

Charts using API version 2 are guaranteed to be supported by Helm 3, but not necessarily by Helm 2. If you are only planning to support Helm 3 and above, it is recommended to just use this API version.

The Chart.yaml File

The following is an example of a Chart.yaml file for a chart using API version 2:

apiVersion: v2 1
name: lemon
version: 1.2.3
type: application
description: When life gives you lemons, do the DevOps
appVersion: 2.0.0
home: https://example.com
icon: https://example.com/img/lemon.png
sources:
  - https://github.com/myorg/mychart
keywords:
  - fruit
  - citrus
maintainers:
  - name: Carly Jenkins
    email: carly@mail.cj.example.com
    url: https://cj.example.com ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Learning Go, 2nd Edition

Learning Go, 2nd Edition

Jon Bodner
AI Engineering

AI Engineering

Chip Huyen
AI Engineering

AI Engineering

Chip Huyen
AI Engineering

AI Engineering

Chip Huyen

Publisher Resources

ISBN: 9781492083641Errata Page