From 82fdaab497b18c8f51ccedb1fe8ad25aa9e89729 Mon Sep 17 00:00:00 2001 From: Flavio Lemos Date: Mon, 6 Sep 2021 10:51:59 +0100 Subject: [PATCH] fix(argo-rollouts): Removed preserveUnknownFields from the CRD(s) which is disallowed on the v1 API Signed-off-by: Flavio Lemos --- charts/argo-rollouts/Chart.yaml | 3 ++- charts/argo-rollouts/templates/crds/analysis-run-crd.yaml | 1 - charts/argo-rollouts/templates/crds/analysis-template-crd.yaml | 1 - .../templates/crds/cluster-analysis-template-crd.yaml | 1 - charts/argo-rollouts/templates/crds/experiment-crd.yaml | 1 - charts/argo-rollouts/templates/crds/rollout-crd.yaml | 1 - 6 files changed, 2 insertions(+), 6 deletions(-) diff --git a/charts/argo-rollouts/Chart.yaml b/charts/argo-rollouts/Chart.yaml index 744315382..7a3c20b5e 100644 --- a/charts/argo-rollouts/Chart.yaml +++ b/charts/argo-rollouts/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "v1.0.2" description: A Helm chart for Argo Rollouts name: argo-rollouts -version: 2.0.1 +version: 2.0.2 icon: https://argoproj.github.io/argo-rollouts/assets/logo.png home: https://github.com/argoproj/argo-helm maintainers: @@ -12,3 +12,4 @@ maintainers: annotations: artifacthub.io/changes: | - "[Fixed]: ServiceMonitor selector labels match metrics Service" + - "[Fixed]: Removed preserveUnknownFields from the CRD(s) which is disallowed on the v1 API" diff --git a/charts/argo-rollouts/templates/crds/analysis-run-crd.yaml b/charts/argo-rollouts/templates/crds/analysis-run-crd.yaml index 08786ca07..49442c5f4 100644 --- a/charts/argo-rollouts/templates/crds/analysis-run-crd.yaml +++ b/charts/argo-rollouts/templates/crds/analysis-run-crd.yaml @@ -20,7 +20,6 @@ spec: shortNames: - ar singular: analysisrun - preserveUnknownFields: false scope: Namespaced versions: - additionalPrinterColumns: diff --git a/charts/argo-rollouts/templates/crds/analysis-template-crd.yaml b/charts/argo-rollouts/templates/crds/analysis-template-crd.yaml index 12fc5340c..521a74051 100644 --- a/charts/argo-rollouts/templates/crds/analysis-template-crd.yaml +++ b/charts/argo-rollouts/templates/crds/analysis-template-crd.yaml @@ -20,7 +20,6 @@ spec: shortNames: - at singular: analysistemplate - preserveUnknownFields: false scope: Namespaced versions: - name: v1alpha1 diff --git a/charts/argo-rollouts/templates/crds/cluster-analysis-template-crd.yaml b/charts/argo-rollouts/templates/crds/cluster-analysis-template-crd.yaml index e357b4d2c..7d1e6d536 100644 --- a/charts/argo-rollouts/templates/crds/cluster-analysis-template-crd.yaml +++ b/charts/argo-rollouts/templates/crds/cluster-analysis-template-crd.yaml @@ -20,7 +20,6 @@ spec: shortNames: - cat singular: clusteranalysistemplate - preserveUnknownFields: false scope: Cluster versions: - name: v1alpha1 diff --git a/charts/argo-rollouts/templates/crds/experiment-crd.yaml b/charts/argo-rollouts/templates/crds/experiment-crd.yaml index 5f9f8cfcf..8e192848c 100644 --- a/charts/argo-rollouts/templates/crds/experiment-crd.yaml +++ b/charts/argo-rollouts/templates/crds/experiment-crd.yaml @@ -20,7 +20,6 @@ spec: shortNames: - exp singular: experiment - preserveUnknownFields: false scope: Namespaced versions: - additionalPrinterColumns: diff --git a/charts/argo-rollouts/templates/crds/rollout-crd.yaml b/charts/argo-rollouts/templates/crds/rollout-crd.yaml index 10d0a8e1c..d94c8fca9 100644 --- a/charts/argo-rollouts/templates/crds/rollout-crd.yaml +++ b/charts/argo-rollouts/templates/crds/rollout-crd.yaml @@ -20,7 +20,6 @@ spec: shortNames: - ro singular: rollout - preserveUnknownFields: false scope: Namespaced versions: - additionalPrinterColumns: