aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common
AgeCommit message (Collapse)AuthorFilesLines
2018-04-19Merge "Add Common Helm Chart "mariadb-galera""Mandeep Khinda11-0/+418
2018-04-19fix nfs-provisioner for appc and sdncJerome Doucerain4-15/+6
change in common/mysql/templates/pvc.yaml to allow pvc use when persistence is required change in common/mysql/templates/storageclass.yaml to be led by the disableNfsprovisioner variable change in appc/values to default the disableNfsprovisioner to false as it is in sdnc changing the default disableNfsprovisioner to true for both appc and sdnc changing the stateful set avoid volumeclaimtemplates. When used in helm, the volumeclaimtemplates is causing pvc to be left after the helm delete --purge. I guess this is due to the fact the pvc are not directly created by the helm install by indirectly by kubernetes Now the tests are working in both cases (nfsprovisioner disabled or not) The only piece remaining after a helm delete is pv in released state in case we are using nfsprovisioner. That makes sense again because this are objects created by the provisioner and not by helm. removed some leftover Issue-ID: OOM-787 Change-Id: Ieb1f1c482217aeb1b89be39a437bb891a299db71 Signed-off-by: Jerome Doucerain <jerome.doucerain@bell.ca>
2018-04-18Add Common Helm Chart "mariadb-galera"vitalied11-0/+418
A new common helm chart that will deploy a Galera cluster for MariaDB. Please note that this chart is still work in progress and more features will be added or improved. Change-Id: Ia4487666798f83d2869c35bcfaacc5516068f194 Issue-ID: OOM-758 Signed-off-by: vitalied <vitalied@amdocs.com>
2018-04-17fixing bug in new service templateMandeep Khinda1-1/+1
Issue-ID: OOM-906 Change-Id: Idfbb47f70146a63759fe9829b6dae25b88cc562f Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-04-16Merge "Add service name standard template"Jerome Doucerain1-0/+30
2018-04-16Update readiness-check versionBorislavG4-4/+4
Readiness check version is not sinchronized in many pods This causing deployment failures. Issue-ID: OOM-936 Change-Id: Ieef91df17836adcdf24db536440d0a1624a50591 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-04-15Add service name standard templateMike Elliott1-0/+30
Updated helm starter to make use of a standard service name tpl. Change-Id: Ia387c2944da6d46238aa041db8542368b5c8d6a1 Issue-ID: OOM-906 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-04-10Restore pv and pvc in mysql chartjmac11-14/+212
This change restores the pv.yaml and pvc.yaml that were previously removed. These are required for the case when the NFS provisioner is disabled. I've added a condition to these files such that they should be disabled if the NFS provisioner is enabled. The two ways of managing entities need to be mutually exclusive. Borislav: Solution for directory creation problem upon first deployment with persistence enabled Borislav: Fixed licenses for mysql Change-Id: I9879b3b6574f8026a28793b9d86d6ef3ec9ce2e9 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-889
2018-04-05Fix for MySQL local redundancyjmac5-57/+30
Change-Id: I453a75ba1a8604d06d95c0accde2a77b3f791ae3 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-878
2018-04-03Multi-site High-availability Manual Failover (PoC)Neha Jain3-2/+31
Change-Id: Ib11a01170962a932466bcfb1b12e6e0563476e73 Signed-off-by: Neha Jain <neha.jain3@amdocs.com> Issue-ID: SDNC-214
2018-04-03Merge "Add common repository template"Jerome Doucerain1-0/+31
2018-04-03Add common repository templateMike Elliott1-0/+31
Introducing a common template to be used by all ONAP helm charts to ensure consistency in repository resolution. This will allow the default repository in a chart to be overridden with a global.repository value and then, if need be, have the global.repository value be overridden on a per chart basis using a repositoryOverride configuration value. In the future will look at trying to address 3rdparty repository resolution in a simular manor. Change-Id: I7d6a14ae39d60bf75f80e28a038cea5de31aa558 Issue-ID: OOM-845 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-04-03Add generic Postgres set for DCAEBorislavG8-0/+515
DCAE postgres set is based on Crunchy Data Statefulset Helm Example. It provides a statefulSet of two postgres replicas. Remaining work: tweak services and PVs. Adjust the chart to DCAE needs. Change-Id: Ic05f88fcde5c5967ebd93f944f953262df77d7c6 Issue-ID: OOM-853 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-04-02Fixed missing/wrong references in DG Builder chartjmac5-15/+16
Change-Id: I90eb42468f84120693d5842ea0cd13b1b3c20ecb Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-748
2018-03-28Apache2 license addition for sql and js filesvaibhav_16dec1-0/+15
Issue-ID: OOM-825 Change-Id: I0cd8748adc7aa1a66cefd4a2b7d660d671a550b3 Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
2018-03-27Add repo index fixMike Elliott1-0/+1
Fixes an issue where subchart build dependencies are not always resolved when using 'make repo' to start a local helm repo. Also added the start of a 'make repo-stop' to shutdown and cleanup a running local repo. Change-Id: I33667053637ea4980ad00e424378a156abbe1ad4 Issue-ID: OOM-830 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-03-26Add fix for build dependeciesMike Elliott25-1/+1078
Moved mysql and dgbuilder under common (built first) to ensure they are built before appc and sdnc charts that depend on them. Change-Id: I2fc28f0537b2639bd2b761c6f115544965a228b1 Issue-ID: OOM-830 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-03-22Add common location for shared chartsMike Elliott7-25/+107
Moved shared templates into common directory. This "common" location is where upcoming charts for mariadb-galera, postgress etc. will reside. Change-Id: Id2e2ffd3369a3e4d6437c2ca4f04a5f1dceb236a Issue-ID: OOM-816 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-03-22License addition in all yamlsvaibhav_16dec2-0/+28
Issue-ID: OOM-821 Change-Id: I627ac962afe8cd6bf2859a30a0e88f6c9ac89d34 Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
2018-03-18Fix wrong version of readinessBorislavG1-2/+2
Change-Id: Iec439d1ac774763cfd245ca1f72f1dccd01e764e Issue-ID: OOM-809 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-03-09iterating on new helm structure for SOMandeep Khinda6-28/+2
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>
2018-03-06make so chart one namespace compatiblekerenj1-3/+1
changed namespace to be nsPrefix only added component name as prefix to chart name changed all templated to use name instead of fullname Issue-ID: OOM-784 Change-Id: If2288ba14e5f74a7f7ba4c2f9bf46eecc36feca7 Signed-off-by: kerenj <keren.joseph@amdocs.com>
2018-02-23Merge "Add Makefile to OOM project"Alexis de Talhouƫt1-0/+25
2018-02-23Add Makefile to OOM projectMike Elliott1-0/+25
Executing 'make' provides: - linting of all charts - resolution of chart/subchart dependencies - creation and deployment of Helm packages to a local Helm repo Prerequisite: Start up a local repo and register with Helm as 'local'. Example: > helm serve > helm repo add local http://127.0.0.1:8879 Change-Id: Ie08e8fc2593ac7e67b01f93e266953b962adef5d Signed-off-by: Mike Elliott <mike.elliott@amdocs.com> Issue-ID: OOM-265
2018-02-23Add common helm chartMike Elliott5-0/+84
This helm chart provides common base templates that should be included in each onap subchart. This chart is included as a dependency within a charts requirements.yaml. Change-Id: I0f4e155bcca31de79aa57b4ce45d26e86069ef72 Issue-ID: OOM-265 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>