iterating on new helm structure for SO 65/34965/3
authorMandeep Khinda <mandeep.khinda@amdocs.com>
Fri, 9 Mar 2018 14:29:37 +0000 (14:29 +0000)
committerMandeep Khinda <mandeep.khinda@amdocs.com>
Fri, 9 Mar 2018 14:54:49 +0000 (14:54 +0000)
commita57d8dd090a3d3d747ba40ef58e14215e88adfa2
treebc2dcdc8b45cb0d663cb0bd40668737c84b7f1c8
parent41c491482386f37ac876717e0f565ba0781e2d8a
iterating on new helm structure for SO

with this change we can now do the following:

can deploy umbrella chart with currently working components:
helm install local/onap --name onap --namespace onap-all
helm install local/onap --name onap-2 --namespace onap-all-2 \
--set global.nodePortPrefix=303
- umbrella includes setup chart

can deploy a-la-carte component by component into a single namespace
- Need to deploy a setup chart first. cannot be made a helm dependency
as there will be conflicts if each app chart has the same setup dependency.
helm install local/setup --name onap-setup --namespace onap-apps
helm install local/so --name so1 --namespace onap-apps \
--set global.nodePortPrefix=304

helm list
NAME          REVISION    STATUS      CHART          NAMESPACE
onap          1           DEPLOYED    onap-2.0.0     onap-all
onap-2        1           DEPLOYED    onap-2.0.0     onap-all-2
onap-setup    1           DEPLOYED    setup-2.0.0    onap-apps
so1           1           DEPLOYED    so-2.0.0       onap-apps

Unfortunately, the config maps all have fixed names, so installing
the same app in the a-la-carte fashion will fail due to a collision.
Not worrying about this as I'm not sure we want to support this.

-made the common and setup charts standalone to remove relative file paths
from requirements.yaml
   This will help when there are different levels of subcharts that
need to include common

Issue-ID: OOM-786
Issue-ID: OOM-789
Issue-ID: OOM-788

Change-Id: I20bacae6f0f20e8f3bb1527af1e7e53f187341d5
Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
29 files changed:
kubernetes/Makefile
kubernetes/common/.helmignore [moved from kubernetes/common/common-templates/.helmignore with 100% similarity]
kubernetes/common/Chart.yaml [moved from kubernetes/common/common-templates/Chart.yaml with 79% similarity]
kubernetes/common/Makefile [deleted file]
kubernetes/common/templates/_name.tpl [moved from kubernetes/common/common-templates/templates/_name.tpl with 100% similarity]
kubernetes/common/templates/_namespace.tpl [moved from kubernetes/common/common-templates/templates/_namespace.tpl with 74% similarity]
kubernetes/common/values.yaml [moved from kubernetes/common/common-templates/values.yaml with 100% similarity]
kubernetes/onap/requirements.yaml
kubernetes/onap/values.yaml
kubernetes/setup/.helmignore [new file with mode: 0644]
kubernetes/setup/Chart.yaml [new file with mode: 0644]
kubernetes/setup/requirements.yaml [new file with mode: 0644]
kubernetes/setup/templates/clusterrolebinding.yaml [moved from kubernetes/so/charts/mariadb/templates/clusterrolebinding.yaml with 82% similarity]
kubernetes/setup/templates/secrets.yaml [moved from kubernetes/so/templates/secrets.yaml with 79% similarity]
kubernetes/setup/values.yaml [new file with mode: 0644]
kubernetes/so/charts/mariadb/Chart.yaml
kubernetes/so/charts/mariadb/templates/NOTES.txt
kubernetes/so/charts/mariadb/templates/deployment.yaml
kubernetes/so/charts/mariadb/templates/pv.yaml
kubernetes/so/charts/mariadb/templates/pvc.yaml
kubernetes/so/charts/mariadb/templates/secrets.yaml
kubernetes/so/charts/mariadb/templates/service.yaml
kubernetes/so/requirements.yaml
kubernetes/so/templates/NOTES.txt
kubernetes/so/templates/clusterrolebinding.yaml [deleted file]
kubernetes/so/templates/deployment.yaml
kubernetes/so/templates/namespace.yaml [deleted file]
kubernetes/so/templates/service.yaml
kubernetes/so/values.yaml