From: Todd Malsbary Date: Fri, 7 Aug 2020 17:20:12 +0000 (-0700) Subject: Add playbooks for v2 emco chart. X-Git-Tag: 0.7.0~32^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F10%2F111810%2F7;p=multicloud%2Fk8s.git Add playbooks for v2 emco chart. Rename v2/onap4k8s to v2/emco, and rename sanity-check-for-v2.sh to emco.sh. This allows --plugins emco to be passed to installer.sh in place of --plugins onap4k8s. Issue-ID: MULTICLOUD-1181 Signed-off-by: Todd Change-Id: Idb427a8aa4c8aaff181965a540078c8cf6dd88aa --- diff --git a/deployments/helm/v2/onap4k8s/.helmignore b/deployments/helm/v2/emco/.helmignore similarity index 100% rename from deployments/helm/v2/onap4k8s/.helmignore rename to deployments/helm/v2/emco/.helmignore diff --git a/deployments/helm/v2/onap4k8s/Chart.yaml b/deployments/helm/v2/emco/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/Chart.yaml rename to deployments/helm/v2/emco/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/Makefile b/deployments/helm/v2/emco/Makefile similarity index 100% rename from deployments/helm/v2/onap4k8s/Makefile rename to deployments/helm/v2/emco/Makefile diff --git a/deployments/helm/v2/onap4k8s/README.md b/deployments/helm/v2/emco/README.md similarity index 100% rename from deployments/helm/v2/onap4k8s/README.md rename to deployments/helm/v2/emco/README.md diff --git a/deployments/helm/v2/onap4k8s/clm/Chart.yaml b/deployments/helm/v2/emco/clm/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/clm/Chart.yaml rename to deployments/helm/v2/emco/clm/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/clm/requirements.yaml b/deployments/helm/v2/emco/clm/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/clm/requirements.yaml rename to deployments/helm/v2/emco/clm/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/clm/resources/config/config.json b/deployments/helm/v2/emco/clm/resources/config/config.json similarity index 100% rename from deployments/helm/v2/onap4k8s/clm/resources/config/config.json rename to deployments/helm/v2/emco/clm/resources/config/config.json diff --git a/deployments/helm/v2/onap4k8s/clm/templates/configmap.yaml b/deployments/helm/v2/emco/clm/templates/configmap.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/clm/templates/configmap.yaml rename to deployments/helm/v2/emco/clm/templates/configmap.yaml diff --git a/deployments/helm/v2/onap4k8s/clm/templates/deployment.yaml b/deployments/helm/v2/emco/clm/templates/deployment.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/clm/templates/deployment.yaml rename to deployments/helm/v2/emco/clm/templates/deployment.yaml diff --git a/deployments/helm/v2/onap4k8s/clm/templates/service.yaml b/deployments/helm/v2/emco/clm/templates/service.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/clm/templates/service.yaml rename to deployments/helm/v2/emco/clm/templates/service.yaml diff --git a/deployments/helm/v2/onap4k8s/clm/values.yaml b/deployments/helm/v2/emco/clm/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/clm/values.yaml rename to deployments/helm/v2/emco/clm/values.yaml diff --git a/deployments/helm/v2/onap4k8s/common/Chart.yaml b/deployments/helm/v2/emco/common/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/common/Chart.yaml rename to deployments/helm/v2/emco/common/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/common/templates/_deployment.tpl b/deployments/helm/v2/emco/common/templates/_deployment.tpl similarity index 100% rename from deployments/helm/v2/onap4k8s/common/templates/_deployment.tpl rename to deployments/helm/v2/emco/common/templates/_deployment.tpl diff --git a/deployments/helm/v2/onap4k8s/common/templates/_name.tpl b/deployments/helm/v2/emco/common/templates/_name.tpl similarity index 100% rename from deployments/helm/v2/onap4k8s/common/templates/_name.tpl rename to deployments/helm/v2/emco/common/templates/_name.tpl diff --git a/deployments/helm/v2/onap4k8s/common/templates/_namespace.tpl b/deployments/helm/v2/emco/common/templates/_namespace.tpl similarity index 100% rename from deployments/helm/v2/onap4k8s/common/templates/_namespace.tpl rename to deployments/helm/v2/emco/common/templates/_namespace.tpl diff --git a/deployments/helm/v2/onap4k8s/common/templates/_repository.tpl b/deployments/helm/v2/emco/common/templates/_repository.tpl similarity index 100% rename from deployments/helm/v2/onap4k8s/common/templates/_repository.tpl rename to deployments/helm/v2/emco/common/templates/_repository.tpl diff --git a/deployments/helm/v2/onap4k8s/common/templates/_resources.tpl b/deployments/helm/v2/emco/common/templates/_resources.tpl similarity index 100% rename from deployments/helm/v2/onap4k8s/common/templates/_resources.tpl rename to deployments/helm/v2/emco/common/templates/_resources.tpl diff --git a/deployments/helm/v2/onap4k8s/common/templates/_service.tpl b/deployments/helm/v2/emco/common/templates/_service.tpl similarity index 100% rename from deployments/helm/v2/onap4k8s/common/templates/_service.tpl rename to deployments/helm/v2/emco/common/templates/_service.tpl diff --git a/deployments/helm/v2/onap4k8s/common/templates/_servicemco.tpl b/deployments/helm/v2/emco/common/templates/_servicemco.tpl similarity index 100% rename from deployments/helm/v2/onap4k8s/common/templates/_servicemco.tpl rename to deployments/helm/v2/emco/common/templates/_servicemco.tpl diff --git a/deployments/helm/v2/onap4k8s/common/values.yaml b/deployments/helm/v2/emco/common/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/common/values.yaml rename to deployments/helm/v2/emco/common/values.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-db/Chart.yaml b/deployments/helm/v2/emco/emco-db/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-db/Chart.yaml rename to deployments/helm/v2/emco/emco-db/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-db/requirements.yaml b/deployments/helm/v2/emco/emco-db/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-db/requirements.yaml rename to deployments/helm/v2/emco/emco-db/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-db/values.yaml b/deployments/helm/v2/emco/emco-db/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-db/values.yaml rename to deployments/helm/v2/emco/emco-db/values.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-services/Chart.yaml b/deployments/helm/v2/emco/emco-services/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-services/Chart.yaml rename to deployments/helm/v2/emco/emco-services/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-services/requirements.yaml b/deployments/helm/v2/emco/emco-services/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-services/requirements.yaml rename to deployments/helm/v2/emco/emco-services/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-services/values.yaml b/deployments/helm/v2/emco/emco-services/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-services/values.yaml rename to deployments/helm/v2/emco/emco-services/values.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-tools/Chart.yaml b/deployments/helm/v2/emco/emco-tools/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-tools/Chart.yaml rename to deployments/helm/v2/emco/emco-tools/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-tools/requirements.yaml b/deployments/helm/v2/emco/emco-tools/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-tools/requirements.yaml rename to deployments/helm/v2/emco/emco-tools/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/emco-tools/values.yaml b/deployments/helm/v2/emco/emco-tools/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco-tools/values.yaml rename to deployments/helm/v2/emco/emco-tools/values.yaml diff --git a/deployments/helm/v2/onap4k8s/emco/Chart.yaml b/deployments/helm/v2/emco/emco/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco/Chart.yaml rename to deployments/helm/v2/emco/emco/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/emco/requirements.yaml b/deployments/helm/v2/emco/emco/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco/requirements.yaml rename to deployments/helm/v2/emco/emco/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/emco/values.yaml b/deployments/helm/v2/emco/emco/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/emco/values.yaml rename to deployments/helm/v2/emco/emco/values.yaml diff --git a/deployments/helm/v2/onap4k8s/etcd/.helmignore b/deployments/helm/v2/emco/etcd/.helmignore similarity index 100% rename from deployments/helm/v2/onap4k8s/etcd/.helmignore rename to deployments/helm/v2/emco/etcd/.helmignore diff --git a/deployments/helm/v2/onap4k8s/etcd/Chart.yaml b/deployments/helm/v2/emco/etcd/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/etcd/Chart.yaml rename to deployments/helm/v2/emco/etcd/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/etcd/requirements.yaml b/deployments/helm/v2/emco/etcd/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/etcd/requirements.yaml rename to deployments/helm/v2/emco/etcd/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/etcd/templates/pv.yaml b/deployments/helm/v2/emco/etcd/templates/pv.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/etcd/templates/pv.yaml rename to deployments/helm/v2/emco/etcd/templates/pv.yaml diff --git a/deployments/helm/v2/onap4k8s/etcd/templates/service.yaml b/deployments/helm/v2/emco/etcd/templates/service.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/etcd/templates/service.yaml rename to deployments/helm/v2/emco/etcd/templates/service.yaml diff --git a/deployments/helm/v2/onap4k8s/etcd/templates/statefulset.yaml b/deployments/helm/v2/emco/etcd/templates/statefulset.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/etcd/templates/statefulset.yaml rename to deployments/helm/v2/emco/etcd/templates/statefulset.yaml diff --git a/deployments/helm/v2/onap4k8s/etcd/values.yaml b/deployments/helm/v2/emco/etcd/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/etcd/values.yaml rename to deployments/helm/v2/emco/etcd/values.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/.helmignore b/deployments/helm/v2/emco/fluentd/.helmignore similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/.helmignore rename to deployments/helm/v2/emco/fluentd/.helmignore diff --git a/deployments/helm/v2/onap4k8s/fluentd/Chart.yaml b/deployments/helm/v2/emco/fluentd/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/Chart.yaml rename to deployments/helm/v2/emco/fluentd/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/README.md b/deployments/helm/v2/emco/fluentd/README.md similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/README.md rename to deployments/helm/v2/emco/fluentd/README.md diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/NOTES.txt b/deployments/helm/v2/emco/fluentd/templates/NOTES.txt similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/NOTES.txt rename to deployments/helm/v2/emco/fluentd/templates/NOTES.txt diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/_helpers.tpl b/deployments/helm/v2/emco/fluentd/templates/_helpers.tpl similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/_helpers.tpl rename to deployments/helm/v2/emco/fluentd/templates/_helpers.tpl diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/aggregator-configmap.yaml b/deployments/helm/v2/emco/fluentd/templates/aggregator-configmap.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/aggregator-configmap.yaml rename to deployments/helm/v2/emco/fluentd/templates/aggregator-configmap.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/aggregator-statefulset.yaml b/deployments/helm/v2/emco/fluentd/templates/aggregator-statefulset.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/aggregator-statefulset.yaml rename to deployments/helm/v2/emco/fluentd/templates/aggregator-statefulset.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/aggregator-svc.yaml b/deployments/helm/v2/emco/fluentd/templates/aggregator-svc.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/aggregator-svc.yaml rename to deployments/helm/v2/emco/fluentd/templates/aggregator-svc.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/clusterrole.yaml b/deployments/helm/v2/emco/fluentd/templates/clusterrole.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/clusterrole.yaml rename to deployments/helm/v2/emco/fluentd/templates/clusterrole.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/clusterrolebinding.yaml b/deployments/helm/v2/emco/fluentd/templates/clusterrolebinding.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/clusterrolebinding.yaml rename to deployments/helm/v2/emco/fluentd/templates/clusterrolebinding.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/forwarder-configmap.yaml b/deployments/helm/v2/emco/fluentd/templates/forwarder-configmap.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/forwarder-configmap.yaml rename to deployments/helm/v2/emco/fluentd/templates/forwarder-configmap.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/forwarder-daemonset.yaml b/deployments/helm/v2/emco/fluentd/templates/forwarder-daemonset.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/forwarder-daemonset.yaml rename to deployments/helm/v2/emco/fluentd/templates/forwarder-daemonset.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/forwarder-svc.yaml b/deployments/helm/v2/emco/fluentd/templates/forwarder-svc.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/forwarder-svc.yaml rename to deployments/helm/v2/emco/fluentd/templates/forwarder-svc.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/metrics-svc.yaml b/deployments/helm/v2/emco/fluentd/templates/metrics-svc.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/metrics-svc.yaml rename to deployments/helm/v2/emco/fluentd/templates/metrics-svc.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/serviceaccount.yaml b/deployments/helm/v2/emco/fluentd/templates/serviceaccount.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/serviceaccount.yaml rename to deployments/helm/v2/emco/fluentd/templates/serviceaccount.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/servicemonitor.yaml b/deployments/helm/v2/emco/fluentd/templates/servicemonitor.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/servicemonitor.yaml rename to deployments/helm/v2/emco/fluentd/templates/servicemonitor.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/svc-headless.yaml b/deployments/helm/v2/emco/fluentd/templates/svc-headless.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/svc-headless.yaml rename to deployments/helm/v2/emco/fluentd/templates/svc-headless.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/templates/tls-certs.yaml b/deployments/helm/v2/emco/fluentd/templates/tls-certs.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/templates/tls-certs.yaml rename to deployments/helm/v2/emco/fluentd/templates/tls-certs.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/values-production.yaml b/deployments/helm/v2/emco/fluentd/values-production.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/values-production.yaml rename to deployments/helm/v2/emco/fluentd/values-production.yaml diff --git a/deployments/helm/v2/onap4k8s/fluentd/values.yaml b/deployments/helm/v2/emco/fluentd/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/fluentd/values.yaml rename to deployments/helm/v2/emco/fluentd/values.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/.helmignore b/deployments/helm/v2/emco/mongo/.helmignore similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/.helmignore rename to deployments/helm/v2/emco/mongo/.helmignore diff --git a/deployments/helm/v2/onap4k8s/mongo/Chart.yaml b/deployments/helm/v2/emco/mongo/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/Chart.yaml rename to deployments/helm/v2/emco/mongo/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/requirements.yaml b/deployments/helm/v2/emco/mongo/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/requirements.yaml rename to deployments/helm/v2/emco/mongo/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/templates/nfs-provisoner.yaml b/deployments/helm/v2/emco/mongo/templates/nfs-provisoner.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/templates/nfs-provisoner.yaml rename to deployments/helm/v2/emco/mongo/templates/nfs-provisoner.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/templates/pv.yaml b/deployments/helm/v2/emco/mongo/templates/pv.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/templates/pv.yaml rename to deployments/helm/v2/emco/mongo/templates/pv.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/templates/pvc.yaml b/deployments/helm/v2/emco/mongo/templates/pvc.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/templates/pvc.yaml rename to deployments/helm/v2/emco/mongo/templates/pvc.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/templates/service.yaml b/deployments/helm/v2/emco/mongo/templates/service.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/templates/service.yaml rename to deployments/helm/v2/emco/mongo/templates/service.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/templates/statefulset.yaml b/deployments/helm/v2/emco/mongo/templates/statefulset.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/templates/statefulset.yaml rename to deployments/helm/v2/emco/mongo/templates/statefulset.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/templates/storageclass.yaml b/deployments/helm/v2/emco/mongo/templates/storageclass.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/templates/storageclass.yaml rename to deployments/helm/v2/emco/mongo/templates/storageclass.yaml diff --git a/deployments/helm/v2/onap4k8s/mongo/values.yaml b/deployments/helm/v2/emco/mongo/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/mongo/values.yaml rename to deployments/helm/v2/emco/mongo/values.yaml diff --git a/deployments/helm/v2/onap4k8s/ncm/Chart.yaml b/deployments/helm/v2/emco/ncm/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ncm/Chart.yaml rename to deployments/helm/v2/emco/ncm/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/ncm/requirements.yaml b/deployments/helm/v2/emco/ncm/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ncm/requirements.yaml rename to deployments/helm/v2/emco/ncm/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/ncm/resources/config/config.json b/deployments/helm/v2/emco/ncm/resources/config/config.json similarity index 100% rename from deployments/helm/v2/onap4k8s/ncm/resources/config/config.json rename to deployments/helm/v2/emco/ncm/resources/config/config.json diff --git a/deployments/helm/v2/onap4k8s/ncm/templates/configmap.yaml b/deployments/helm/v2/emco/ncm/templates/configmap.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ncm/templates/configmap.yaml rename to deployments/helm/v2/emco/ncm/templates/configmap.yaml diff --git a/deployments/helm/v2/onap4k8s/ncm/templates/deployment.yaml b/deployments/helm/v2/emco/ncm/templates/deployment.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ncm/templates/deployment.yaml rename to deployments/helm/v2/emco/ncm/templates/deployment.yaml diff --git a/deployments/helm/v2/onap4k8s/ncm/templates/service.yaml b/deployments/helm/v2/emco/ncm/templates/service.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ncm/templates/service.yaml rename to deployments/helm/v2/emco/ncm/templates/service.yaml diff --git a/deployments/helm/v2/onap4k8s/ncm/values.yaml b/deployments/helm/v2/emco/ncm/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ncm/values.yaml rename to deployments/helm/v2/emco/ncm/values.yaml diff --git a/deployments/helm/v2/onap4k8s/orchestrator/Chart.yaml b/deployments/helm/v2/emco/orchestrator/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/orchestrator/Chart.yaml rename to deployments/helm/v2/emco/orchestrator/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/orchestrator/requirements.yaml b/deployments/helm/v2/emco/orchestrator/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/orchestrator/requirements.yaml rename to deployments/helm/v2/emco/orchestrator/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/orchestrator/resources/config/config.json b/deployments/helm/v2/emco/orchestrator/resources/config/config.json similarity index 100% rename from deployments/helm/v2/onap4k8s/orchestrator/resources/config/config.json rename to deployments/helm/v2/emco/orchestrator/resources/config/config.json diff --git a/deployments/helm/v2/onap4k8s/orchestrator/templates/configmap.yaml b/deployments/helm/v2/emco/orchestrator/templates/configmap.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/orchestrator/templates/configmap.yaml rename to deployments/helm/v2/emco/orchestrator/templates/configmap.yaml diff --git a/deployments/helm/v2/onap4k8s/orchestrator/templates/deployment.yaml b/deployments/helm/v2/emco/orchestrator/templates/deployment.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/orchestrator/templates/deployment.yaml rename to deployments/helm/v2/emco/orchestrator/templates/deployment.yaml diff --git a/deployments/helm/v2/onap4k8s/orchestrator/templates/service.yaml b/deployments/helm/v2/emco/orchestrator/templates/service.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/orchestrator/templates/service.yaml rename to deployments/helm/v2/emco/orchestrator/templates/service.yaml diff --git a/deployments/helm/v2/onap4k8s/orchestrator/values.yaml b/deployments/helm/v2/emco/orchestrator/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/orchestrator/values.yaml rename to deployments/helm/v2/emco/orchestrator/values.yaml diff --git a/deployments/helm/v2/onap4k8s/ovnaction/Chart.yaml b/deployments/helm/v2/emco/ovnaction/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ovnaction/Chart.yaml rename to deployments/helm/v2/emco/ovnaction/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/ovnaction/requirements.yaml b/deployments/helm/v2/emco/ovnaction/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ovnaction/requirements.yaml rename to deployments/helm/v2/emco/ovnaction/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/ovnaction/resources/config/config.json b/deployments/helm/v2/emco/ovnaction/resources/config/config.json similarity index 100% rename from deployments/helm/v2/onap4k8s/ovnaction/resources/config/config.json rename to deployments/helm/v2/emco/ovnaction/resources/config/config.json diff --git a/deployments/helm/v2/onap4k8s/ovnaction/templates/configmap.yaml b/deployments/helm/v2/emco/ovnaction/templates/configmap.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ovnaction/templates/configmap.yaml rename to deployments/helm/v2/emco/ovnaction/templates/configmap.yaml diff --git a/deployments/helm/v2/onap4k8s/ovnaction/templates/deployment.yaml b/deployments/helm/v2/emco/ovnaction/templates/deployment.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ovnaction/templates/deployment.yaml rename to deployments/helm/v2/emco/ovnaction/templates/deployment.yaml diff --git a/deployments/helm/v2/onap4k8s/ovnaction/templates/service.yaml b/deployments/helm/v2/emco/ovnaction/templates/service.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ovnaction/templates/service.yaml rename to deployments/helm/v2/emco/ovnaction/templates/service.yaml diff --git a/deployments/helm/v2/onap4k8s/ovnaction/values.yaml b/deployments/helm/v2/emco/ovnaction/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/ovnaction/values.yaml rename to deployments/helm/v2/emco/ovnaction/values.yaml diff --git a/deployments/helm/v2/onap4k8s/rsync/Chart.yaml b/deployments/helm/v2/emco/rsync/Chart.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/rsync/Chart.yaml rename to deployments/helm/v2/emco/rsync/Chart.yaml diff --git a/deployments/helm/v2/onap4k8s/rsync/requirements.yaml b/deployments/helm/v2/emco/rsync/requirements.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/rsync/requirements.yaml rename to deployments/helm/v2/emco/rsync/requirements.yaml diff --git a/deployments/helm/v2/onap4k8s/rsync/resources/config/config.json b/deployments/helm/v2/emco/rsync/resources/config/config.json similarity index 100% rename from deployments/helm/v2/onap4k8s/rsync/resources/config/config.json rename to deployments/helm/v2/emco/rsync/resources/config/config.json diff --git a/deployments/helm/v2/onap4k8s/rsync/templates/configmap.yaml b/deployments/helm/v2/emco/rsync/templates/configmap.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/rsync/templates/configmap.yaml rename to deployments/helm/v2/emco/rsync/templates/configmap.yaml diff --git a/deployments/helm/v2/onap4k8s/rsync/templates/deployment.yaml b/deployments/helm/v2/emco/rsync/templates/deployment.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/rsync/templates/deployment.yaml rename to deployments/helm/v2/emco/rsync/templates/deployment.yaml diff --git a/deployments/helm/v2/onap4k8s/rsync/templates/service.yaml b/deployments/helm/v2/emco/rsync/templates/service.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/rsync/templates/service.yaml rename to deployments/helm/v2/emco/rsync/templates/service.yaml diff --git a/deployments/helm/v2/onap4k8s/rsync/values.yaml b/deployments/helm/v2/emco/rsync/values.yaml similarity index 100% rename from deployments/helm/v2/onap4k8s/rsync/values.yaml rename to deployments/helm/v2/emco/rsync/values.yaml diff --git a/kud/deployment_infra/playbooks/configure-emco-reset.yml b/kud/deployment_infra/playbooks/configure-emco-reset.yml new file mode 100644 index 00000000..a4560cc2 --- /dev/null +++ b/kud/deployment_infra/playbooks/configure-emco-reset.yml @@ -0,0 +1,56 @@ +--- +# SPDX-license-identifier: Apache-2.0 +############################################################################## +# Copyright (c) 2018 +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +- hosts: kube-master + tasks: + - name: Load kud variables + include_vars: + file: kud-vars.yml + + - name: Change the emco directory and run helm delete + command: /usr/local/bin/helm delete --purge emco + register: helm_delete + args: + chdir: /opt/multicloud/deployments/helm/v2/emco + + - debug: + var: helm_delete.stdout_lines + + - name: Change the emco directory and delete the emco namespace + command: /usr/local/bin/kubectl delete ns emco + register: delete_emco_ns + args: + chdir: /opt/multicloud/deployments/helm/v2/emco + + - debug: + var: delete_emco_ns.stdout_lines + + - name: Change the emco directory and make clean + command: /usr/bin/make clean + register: make_clean + args: + chdir: /opt/multicloud/deployments/helm/v2/emco + + - debug: + var: make_clean.stdout_lines + + - name: Change the emco directory and make repo-stop + command: /usr/bin/make repo-stop + register: make_repo_stop + args: + chdir: /opt/multicloud/deployments/helm/v2/emco + + - debug: + var: make_repo_stop.stdout_lines + + - name: clean multicloud-k8s path + file: + state: absent + path: /opt/multicloud diff --git a/kud/deployment_infra/playbooks/configure-emco.yml b/kud/deployment_infra/playbooks/configure-emco.yml new file mode 100644 index 00000000..255ce6a4 --- /dev/null +++ b/kud/deployment_infra/playbooks/configure-emco.yml @@ -0,0 +1,55 @@ +--- +# SPDX-license-identifier: Apache-2.0 +############################################################################## +# Copyright (c) 2018 +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +- hosts: kube-master + tasks: + - name: Load kud variables + include_vars: + file: kud-vars.yml + + - name: Getting emco code in /opt folder + git: + repo: 'https://github.com/onap/multicloud-k8s.git' + dest: /opt/multicloud + + - name: install make package for ubuntu systems + apt: name=make state=present update_cache=yes + when: ansible_distribution == "Ubuntu" + + - name: install make package for centos systems + yum: name=make state=present update_cache=yes + when: ansible_distribution == "CentOS" + + - name: Change the emco directory and run the command make repo + command: /usr/bin/make repo + register: make_repo + args: + chdir: /opt/multicloud/deployments/helm/v2/emco + + - debug: + var: make_repo.stdout_lines + + - name: Change the emco directory and run the command make all + command: /usr/bin/make all + register: make_all + args: + chdir: /opt/multicloud/deployments/helm/v2/emco + + - debug: + var: make_all.stdout_lines + + - name: Change the emco directory and run the command helm install + command: /usr/local/bin/helm install dist/packages/emco-0.1.0.tgz --name emco --namespace emco + register: helm_install + args: + chdir: /opt/multicloud/deployments/helm/v2/emco + + - debug: + var: helm_install.stdout_lines diff --git a/kud/deployment_infra/playbooks/configure-onap4k8s-reset.yml b/kud/deployment_infra/playbooks/configure-onap4k8s-reset.yml index 6adaf2ee..d6f2f6bc 100644 --- a/kud/deployment_infra/playbooks/configure-onap4k8s-reset.yml +++ b/kud/deployment_infra/playbooks/configure-onap4k8s-reset.yml @@ -23,7 +23,7 @@ - debug: var: helm_delete.stdout_lines - - name: Change the onap4k8s directory and delete the ona4k8s-ns namespace + - name: Change the onap4k8s directory and delete the onap4k8s-ns namespace command: /usr/local/bin/kubectl delete ns onap4k8s-ns register: delete_onap_ns args: diff --git a/kud/tests/sanity-check-for-v2.sh b/kud/tests/emco.sh similarity index 100% rename from kud/tests/sanity-check-for-v2.sh rename to kud/tests/emco.sh