Change helm chart to helm 3 apiVersion

The chart is already in the format of a Helm 3 chart, however the `apiVersion` of the chart is set to `v1`, which is used for Helm 2 charts. Helm 3 charts should use `apiVersion: v2`.

This makes tools such as ArgoCD mistake the chart for a Helm 2 chart, and therefore template the chart using the wrong helm version. In ArgoCDs case, that means that the CRDs aren't deployed.

reference: https://helm.sh/docs/faq/#chartyaml-apiversion-bump
This commit is contained in:
Frederik Nordahl Jul Sabroe 2020-05-19 17:05:25 +02:00 committed by GitHub
parent 57ad3b6be8
commit 0bb9fa8c1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
apiVersion: v1 apiVersion: v2
appVersion: "0.4.0" appVersion: "0.4.0"
description: Kubernetes native operator which fully manages Jenkins on Kubernetes description: Kubernetes native operator which fully manages Jenkins on Kubernetes
name: jenkins-operator name: jenkins-operator
version: 0.2.4 version: 0.3.0
icon: https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/assets/jenkins-operator-icon.png icon: https://raw.githubusercontent.com/jenkinsci/kubernetes-operator/master/assets/jenkins-operator-icon.png