From 0bb9fa8c1fbde571c6d85800d4632c5b199e2252 Mon Sep 17 00:00:00 2001 From: Frederik Nordahl Jul Sabroe Date: Tue, 19 May 2020 17:05:25 +0200 Subject: [PATCH] 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 --- chart/jenkins-operator/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chart/jenkins-operator/Chart.yaml b/chart/jenkins-operator/Chart.yaml index 9895c492..66216f79 100644 --- a/chart/jenkins-operator/Chart.yaml +++ b/chart/jenkins-operator/Chart.yaml @@ -1,6 +1,6 @@ -apiVersion: v1 +apiVersion: v2 appVersion: "0.4.0" description: Kubernetes native operator which fully manages Jenkins on Kubernetes 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