From a3a6cab6c9fa2345ff8fd12d9c097a1f07cd1ae8 Mon Sep 17 00:00:00 2001 From: Matt Conway Date: Thu, 20 Jan 2022 10:54:59 -0500 Subject: [PATCH] fix spec for active_templates to allow it to be unset --- helm/helmv2/templates/projectmapping.yaml | 1 + helm/kubetruth/crds/projectmapping.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/helm/helmv2/templates/projectmapping.yaml b/helm/helmv2/templates/projectmapping.yaml index d28d3c4..f913e2f 100644 --- a/helm/helmv2/templates/projectmapping.yaml +++ b/helm/helmv2/templates/projectmapping.yaml @@ -49,6 +49,7 @@ spec: description: Context variables that can be used by templates. The values can also be templates active_templates: type: array + nullable: true items: type: string description: Select the templates that should be active, includes all templates when nil, none when empty diff --git a/helm/kubetruth/crds/projectmapping.yaml b/helm/kubetruth/crds/projectmapping.yaml index 30fc5cb..643eb29 100644 --- a/helm/kubetruth/crds/projectmapping.yaml +++ b/helm/kubetruth/crds/projectmapping.yaml @@ -50,6 +50,7 @@ spec: description: Context variables that can be used by templates. The values can also be templates active_templates: type: array + nullable: true items: type: string description: Selects the templates that should be active, includes all templates when nil, none when empty