[ONAP-wide] Replace .Release.Name with common.release 86/100786/1
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Fri, 24 Jan 2020 22:29:13 +0000 (23:29 +0100)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Fri, 24 Jan 2020 22:29:13 +0000 (23:29 +0100)
commit1c9c9bba658057f6147276fba4f84e7db9117e70
tree382a21300cb33cc0660baf150dc575725517467b
parentf636b1cc2bf7d391dc76956e906a6f497ef1b092
[ONAP-wide] Replace .Release.Name with common.release

ONAP is too big to be deployed using helm install so we need to
use a custom helm plugin helm deploy. This script deloys onap
component by component instead of deploying evrything at
once. Unfortunately this script also modifies the helm release by
appending component name to it.

As a result of this behavior our objects are called for example:

onap-mariadb-galera-mariadb-galera-0

instead of just being called onap-mariadb-galera-0.

This patch simplifies this naming convention by replacing all direct
usages of .Release.Name with common.release macro which strips the
component specific part from the release name.

Issue-ID: OOM-2275
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: I450057f5b4a10842f09665ecccc58e4ed727cd89
46 files changed:
components/aai-babel/templates/configmap.yaml
components/aai-babel/templates/deployment.yaml
components/aai-babel/templates/secrets.yaml
components/aai-babel/templates/service.yaml
components/aai-data-router/templates/configmap.yaml
components/aai-data-router/templates/deployment.yaml
components/aai-data-router/templates/secret.yaml
components/aai-elasticsearch/templates/configmap.yaml
components/aai-elasticsearch/templates/deployment.yaml
components/aai-elasticsearch/templates/pv.yaml
components/aai-elasticsearch/templates/pvc.yaml
components/aai-elasticsearch/templates/service.yaml
components/aai-graphadmin/templates/configmap.yaml
components/aai-graphadmin/templates/deployment.yaml
components/aai-graphadmin/templates/job-copy-db-backup.yaml
components/aai-graphadmin/templates/job-create-db.yaml
components/aai-graphadmin/templates/job-migration.yaml
components/aai-graphadmin/templates/pv.yaml
components/aai-graphadmin/templates/pvc.yaml
components/aai-graphadmin/templates/service.yaml
components/aai-modelloader/templates/configmap.yaml
components/aai-modelloader/templates/deployment.yaml
components/aai-modelloader/templates/secret.yaml
components/aai-modelloader/templates/service.yaml
components/aai-resources/templates/configmap.yaml
components/aai-resources/templates/deployment.yaml
components/aai-resources/templates/service.yaml
components/aai-schema-service/templates/configmap.yaml
components/aai-schema-service/templates/deployment.yaml
components/aai-schema-service/templates/service.yaml
components/aai-search-data/templates/configmap.yaml
components/aai-search-data/templates/deployment.yaml
components/aai-search-data/templates/secret.yaml
components/aai-search-data/templates/service.yaml
components/aai-sparky-be/templates/configmap.yaml
components/aai-sparky-be/templates/deployment.yaml
components/aai-sparky-be/templates/secret.yaml
components/aai-sparky-be/templates/service.yaml
components/aai-traversal/templates/configmap.yaml
components/aai-traversal/templates/deployment.yaml
components/aai-traversal/templates/job.yaml
components/aai-traversal/templates/service.yaml
templates/configmap.yaml
templates/deployment.yaml
templates/secret.yaml
templates/service.yaml