From e493d4ff662d6f7bf0c7adbc58c356beb2fe2dce Mon Sep 17 00:00:00 2001 From: Sithara Nambiar Date: Sun, 16 Aug 2020 22:28:48 +0530 Subject: SDC changes for adding helm Issue-ID: REQ-341 Signed-off-by: Sithara Nambiar Change-Id: I4721f6e8e2690dc5f7c10bb7b1b2f53ec5f318c7 --- .../sdc-catalog-be/templates/default/BE-configuration.yaml.erb | 9 +++++++++ catalog-be/src/main/resources/config/configuration.yaml | 7 +++++++ .../src/test/resources/config/catalog-be/configuration.yaml | 9 +++++++++ 3 files changed, 25 insertions(+) (limited to 'catalog-be') diff --git a/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb b/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb index d7a2d667ee..830ba40e66 100644 --- a/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb +++ b/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb @@ -206,6 +206,15 @@ artifacts: - PNF acceptedTypes: - zip + - type: HELM + categories: + - DEPLOYMENT + componentTypes: + - SERVICE + - RESOURCE + resourceTypes: *allResourceTypes + acceptedTypes: + - tgz - type: YANG_XML categories: - DEPLOYMENT diff --git a/catalog-be/src/main/resources/config/configuration.yaml b/catalog-be/src/main/resources/config/configuration.yaml index 3e34e2176f..ab89d8f158 100644 --- a/catalog-be/src/main/resources/config/configuration.yaml +++ b/catalog-be/src/main/resources/config/configuration.yaml @@ -301,6 +301,9 @@ serviceDeploymentArtifacts: CONTROLLER_BLUEPRINT_ARCHIVE: acceptedTypes: - zip + HELM: + acceptedTypes: + - tgz YANG_XML: acceptedTypes: - xml @@ -498,6 +501,10 @@ resourceDeploymentArtifacts: validForResourceTypes: - VF - PNF + HELM: + acceptedTypes: + - tgz + validForResourceTypes: *allResourceTypes CONTROLLER_BLUEPRINT_ARCHIVE: acceptedTypes: - zip diff --git a/catalog-be/src/test/resources/config/catalog-be/configuration.yaml b/catalog-be/src/test/resources/config/catalog-be/configuration.yaml index 0065d7b8a8..bf6176fd25 100644 --- a/catalog-be/src/test/resources/config/catalog-be/configuration.yaml +++ b/catalog-be/src/test/resources/config/catalog-be/configuration.yaml @@ -566,6 +566,15 @@ artifacts: - PNF acceptedTypes: - zip + - type: HELM + categories: + - DEPLOYMENT + componentTypes: + - SERVICE + - RESOURCE + resourceTypes: *allResourceTypes + acceptedTypes: + - tgz - type: YANG_XML categories: - DEPLOYMENT -- cgit 1.2.3-korg