From 7a604402fa8d351aab8dd0b8143ed55fd010c3c1 Mon Sep 17 00:00:00 2001 From: Alexandre Guitton Date: Tue, 23 Nov 2021 14:06:01 +0100 Subject: [PATCH] Revert "Hotfix description (#163)" (#164) * Revert "Hotfix description (#163)" This reverts commit 65671ad436c3ea0f9b93f269583a4e98288e9e3a. * clean --- api/v1alpha1/nifiparametercontext_types.go | 2 +- config/crd/bases/nifi.orange.com_nifiparametercontexts.yaml | 1 - helm/nifikop/crds/nifi.orange.com_nifiparametercontexts.yaml | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/api/v1alpha1/nifiparametercontext_types.go b/api/v1alpha1/nifiparametercontext_types.go index 565c682c0..2d04d69c0 100644 --- a/api/v1alpha1/nifiparametercontext_types.go +++ b/api/v1alpha1/nifiparametercontext_types.go @@ -41,7 +41,7 @@ type Parameter struct { // the value of the Parameter. Value *string `json:"value,omitempty"` // the description of the Parameter. - Description string `json:"description"` + Description string `json:"description,omitempty"` // Whether the parameter is sensitive or not. Sensitive bool `json:"sensitive,omitempty"` } diff --git a/config/crd/bases/nifi.orange.com_nifiparametercontexts.yaml b/config/crd/bases/nifi.orange.com_nifiparametercontexts.yaml index 98fd0ea43..5e090110a 100644 --- a/config/crd/bases/nifi.orange.com_nifiparametercontexts.yaml +++ b/config/crd/bases/nifi.orange.com_nifiparametercontexts.yaml @@ -68,7 +68,6 @@ spec: description: the value of the Parameter. type: string required: - - description - name type: object type: array diff --git a/helm/nifikop/crds/nifi.orange.com_nifiparametercontexts.yaml b/helm/nifikop/crds/nifi.orange.com_nifiparametercontexts.yaml index 98fd0ea43..5e090110a 100644 --- a/helm/nifikop/crds/nifi.orange.com_nifiparametercontexts.yaml +++ b/helm/nifikop/crds/nifi.orange.com_nifiparametercontexts.yaml @@ -68,7 +68,6 @@ spec: description: the value of the Parameter. type: string required: - - description - name type: object type: array