From 8fd7fd2ba9db1fb2dbe22c0cf89edb80454cff6d Mon Sep 17 00:00:00 2001 From: Rajamohan Raj Date: Thu, 30 Apr 2020 23:07:15 +0000 Subject: Create appContext and save to etcd In this patch, following tasks are accomplished 1. Creation of appContext and storing the appcontexts for each app in the compositeApp into etcd as part of the instantiation process 2. Added a util method to extract parameters from k8s manifest files. 3. Added a new testing script to auto create NCM artifacts through the NCM APIs 4. Modified the existing plugin_collection_v2.sh to better test the orchestrator APIs. 5. Added logging to appcontext lib 6. Bug fix in the helm charts. Issue-ID: MULTICLOUD-1064 Signed-off-by: Rajamohan Raj Change-Id: I1b0e4d1351ad3a083be529239748015ea5db2a41 --- .../vnfs/comp-app/collection/app2/helm/prometheus/templates/role.yaml | 2 -- .../comp-app/collection/app2/helm/prometheus/templates/rolebinding.yaml | 2 -- 2 files changed, 4 deletions(-) (limited to 'kud/tests/vnfs/comp-app/collection/app2/helm/prometheus') diff --git a/kud/tests/vnfs/comp-app/collection/app2/helm/prometheus/templates/role.yaml b/kud/tests/vnfs/comp-app/collection/app2/helm/prometheus/templates/role.yaml index dfb932d8..a3c69c31 100644 --- a/kud/tests/vnfs/comp-app/collection/app2/helm/prometheus/templates/role.yaml +++ b/kud/tests/vnfs/comp-app/collection/app2/helm/prometheus/templates/role.yaml @@ -1,7 +1,5 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role metadata: name: {{ template "prometheus.fullname" . }}-prometheus labels: diff --git a/kud/tests/vnfs/comp-app/collection/app2/helm/prometheus/templates/rolebinding.yaml b/kud/tests/vnfs/comp-app/collection/app2/helm/prometheus/templates/rolebinding.yaml index 04932ee1..a721cd42 100644 --- a/kud/tests/vnfs/comp-app/collection/app2/helm/prometheus/templates/rolebinding.yaml +++ b/kud/tests/vnfs/comp-app/collection/app2/helm/prometheus/templates/rolebinding.yaml @@ -1,7 +1,5 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding metadata: name: {{ template "prometheus.fullname" . }}-prometheus labels: -- cgit 1.2.3-korg