Sample Chart.yaml:
apiVersion: v1 description: xyz name: xyz ...
So if we are installing the chart using helm client v3.x, then apiVersion should be set to v2. Otherwise, set apiVersion to v1.
apiVersion
v2
v1