From 6bbdf4707e7d1a7327af3dfd9aa86e9e1b94a708 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Tue, 2 Apr 2024 21:03:27 +0300 Subject: [PATCH] Add notation verification provider to API Signed-off-by: Stefan Prodan --- api/v2beta2/helmrelease_types.go | 2 +- config/crd/bases/helm.toolkit.fluxcd.io_helmreleases.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/v2beta2/helmrelease_types.go b/api/v2beta2/helmrelease_types.go index 6651a841d..2c280849e 100644 --- a/api/v2beta2/helmrelease_types.go +++ b/api/v2beta2/helmrelease_types.go @@ -401,7 +401,7 @@ func (in HelmChartTemplate) GetNamespace(defaultNamespace string) string { // HelmChartTemplateVerification verifies the authenticity of an OCI Helm chart. type HelmChartTemplateVerification struct { // Provider specifies the technology used to sign the OCI Helm chart. - // +kubebuilder:validation:Enum=cosign + // +kubebuilder:validation:Enum=cosign;notation // +kubebuilder:default:=cosign Provider string `json:"provider"` diff --git a/config/crd/bases/helm.toolkit.fluxcd.io_helmreleases.yaml b/config/crd/bases/helm.toolkit.fluxcd.io_helmreleases.yaml index c559d2b37..55ab127b9 100644 --- a/config/crd/bases/helm.toolkit.fluxcd.io_helmreleases.yaml +++ b/config/crd/bases/helm.toolkit.fluxcd.io_helmreleases.yaml @@ -1391,6 +1391,7 @@ spec: sign the OCI Helm chart. enum: - cosign + - notation type: string secretRef: description: |-