From ba4f17b447d4c64dc7c706ed3697f804ff49268c Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Thu, 14 Mar 2019 11:13:53 +0100 Subject: [PATCH] Do not require 'values' object in HelmRelease CRD People sometimes just want to deploy a chart without setting any custom values. Before this commit this required setting a `values: {}` in the HelmRelease, which was quite inconvenient. Change to the CRD only is sufficient as the code already takes, not receiving values, into account. --- chart/flux/templates/helm-operator-crd.yaml | 2 +- deploy-helm/flux-helm-release-crd.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chart/flux/templates/helm-operator-crd.yaml b/chart/flux/templates/helm-operator-crd.yaml index 220cb65e0..e4d8c7ddb 100644 --- a/chart/flux/templates/helm-operator-crd.yaml +++ b/chart/flux/templates/helm-operator-crd.yaml @@ -30,7 +30,7 @@ spec: openAPIV3Schema: properties: spec: - required: ['values', 'chart'] + required: ['chart'] properties: releaseName: type: string diff --git a/deploy-helm/flux-helm-release-crd.yaml b/deploy-helm/flux-helm-release-crd.yaml index 7295312df..b0383a59b 100644 --- a/deploy-helm/flux-helm-release-crd.yaml +++ b/deploy-helm/flux-helm-release-crd.yaml @@ -21,7 +21,7 @@ spec: openAPIV3Schema: properties: spec: - required: ['values', 'chart'] + required: ['chart'] properties: releaseName: type: string