aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common
AgeCommit message (Collapse)AuthorFilesLines
2018-05-17Merge "Multi-site High-availability Manual Failover (PoC)"Mandeep Khinda2-5/+8
2018-05-17Merge "Fix postgres startup"Mandeep Khinda2-5/+10
2018-05-17Multi-site High-availability Manual Failover (PoC)Neha Jain2-5/+8
Change-Id: I9f1417a77b0e3cae23f55b1bfc1d419730d8f9cd Signed-off-by: Neha Jain <neha.jain3@amdocs.com> Issue-ID: SDNC-214
2018-05-17fixing common makefile build errorMandeep Khinda1-1/+2
Issue-ID: OOM-1095 Change-Id: I469fcf48b3c99496199d31f55a7c46bfb9711832 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-05-17Fix postgres startupBorislavG2-5/+10
Change-Id: I411447a908c16b3769a5819d8812a93b58623af6 Issue-ID: OOM-1094 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-05-17Add External Interface NBI project into OOMSylvain Desbureaux10-0/+556
NBI (North Bound Interface) is one of the new project added for Beijing release. Features added ============== MongoDB common chart -------------------- Ability to start a mongo container, with a chart consistent with other common charts (readiness, liveness, persistence, resources, nfs, service, ...). Specific configuration: * name of the db to create if needed NBI chart --------- Ability to start a mariadb container, with a chart consistent with other common charts (readiness, liveness, persistence, resources, nfs, service, ...). Specific configuration: * name of the db to create if needed * name of the user that has access to the db * password of the user that has access to the db * root password of the database Ability to start a NBI container, with a chart consistent with other common charts (readiness, liveness, persistence, resources, nfs, service, ...). Specific configuration: * log level * cloudOwner * ecompInstanceId * openStackRegion * openStackServiceTenantName * sdc_authorization * aai_authorization * so_authorization ONAP chart ---------- Added a requirement on NBI chart, possibility to enable/disable and configuration to push to the chart. Current Status ============== - [*] adding a common chart for mongodb - [*] make mongo chart compiling - [*] testing the mongodb common role - [*] creating a mariadb chart inside nbi helm - [*] testing the mariadb chart - [*] make mariadb chart compiling - [*] make nbi use these charts - [*] make nbi chart compiling - [*] test the whole solution - [*] create a service for nbi Change-Id: I8dd3e79768c83b1553a05c892cf418f840931255 Issue-ID: EXTAPI-54 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2018-05-15Merge "Add separate PV for each SDN-C MYSQL pod"Mandeep Khinda5-61/+56
2018-05-10Improve docker registry secret managementBorislavG6-6/+18
Change-Id: I2d1ff878c215becc9856af184eb0b11defd75e1d Issue-ID: OOM-1064 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-05-08Add separate PV for each SDN-C MYSQL podMohammadreza Pasandideh5-61/+56
Change-Id: I5238ee63c2e7adadaaf9a25cf2c72dab03ed1af8 Signed-off-by: Mohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com> Issue-ID: SDNC-299
2018-05-08Merge "Update mysql configuration file to change sql_mode"Borislav Glozman1-0/+2
2018-05-08Merge "Fix persistent volume to be mapped to Release.Name"Mandeep Khinda4-5/+5
2018-05-08Merge "Fix inconsistent repository references"Mandeep Khinda2-4/+4
2018-05-07ccsdk docker update for sdnc/appcMichael O'Brien1-1/+1
Change-Id: I5605cd9187ae96681755b58cd3b2852e43201b6f Signed-off-by: Michael O'Brien <frank.obrien@amdocs.com> Issue-ID: SDNC-285
2018-05-07Fix persistent volume to be mapped to Release.NameBorislavG4-5/+5
Change-Id: I98754174e50537df2e82a9d9b40f471edff19e69 Issue-ID: OOM-907 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-05-06Fix inconsistent repository referencesBorislavG2-4/+4
Issue-ID: OOM-874 Changes to be committed: modified: aai/charts/aai-babel/templates/deployment.yaml modified: aai/charts/aai-champ/templates/deployment.yaml modified: aai/charts/aai-data-router/templates/deployment.yaml modified: aai/charts/aai-gizmo/templates/deployment.yaml modified: aai/charts/aai-modelloader/templates/deployment.yaml modified: aai/charts/aai-resources/templates/deployment.yaml modified: aai/charts/aai-search-data/templates/deployment.yaml modified: aai/charts/aai-sparky-be/templates/deployment.yaml modified: aai/charts/aai-traversal/templates/deployment.yaml modified: aai/charts/aai-traversal/templates/job.yaml modified: appc/charts/appc-cdt/templates/deployment.yaml modified: appc/templates/statefulset.yaml modified: clamp/charts/mariadb/templates/deployment.yaml modified: clamp/templates/deployment.yaml modified: cli/templates/deployment.yaml modified: common/dgbuilder/templates/deployment.yaml modified: common/mariadb-galera/templates/statefulset.yaml modified: dcaegen2/charts/dcae-bootstrap/templates/job.yaml modified: dcaegen2/charts/dcae-cloudify-manager/templates/deployment.yaml modified: dcaegen2/charts/dcae-healthcheck/templates/deployment.yaml modified: dcaegen2/charts/dcae-redis/templates/statefulset.yaml modified: dmaap/charts/dmaap-bus-controller/templates/deployment.yaml modified: dmaap/charts/dmaap-bus-controller/values.yaml modified: esr/charts/esr-gui/templates/deployment.yaml modified: esr/templates/deployment.yaml modified: msb/charts/kube2msb/templates/deployment.yaml modified: msb/charts/msb-discovery/templates/deployment.yaml modified: msb/charts/msb-eag/templates/deployment.yaml modified: msb/charts/msb-iag/templates/deployment.yaml modified: multicloud/charts/multicloud-ocata/templates/deployment.yaml modified: multicloud/charts/multicloud-vio/templates/deployment.yaml modified: multicloud/charts/multicloud-windriver/templates/deployment.yaml modified: multicloud/templates/deployment.yaml modified: policy/charts/brmsgw/templates/deployment.yaml modified: policy/charts/drools/charts/nexus/templates/deployment.yaml modified: policy/charts/drools/templates/statefulset.yaml modified: policy/charts/mariadb/templates/deployment.yaml modified: policy/charts/pdp/templates/statefulset.yaml modified: policy/templates/deployment.yaml modified: portal/charts/portal-app/templates/deployment.yaml modified: portal/charts/portal-cassandra/templates/deployment.yaml modified: portal/charts/portal-mariadb/templates/deployment.yaml modified: portal/charts/portal-sdk/templates/deployment.yaml modified: portal/charts/portal-widget/templates/deployment.yaml modified: portal/charts/portal-zookeeper/templates/deployment.yaml modified: sdnc/charts/dmaap-listener/templates/deployment.yaml modified: sdnc/charts/sdnc-portal/templates/deployment.yaml modified: sdnc/charts/ueb-listener/templates/deployment.yaml modified: sdnc/templates/statefulset.yaml modified: uui/charts/uui-server/templates/deployment.yaml modified: uui/templates/deployment.yaml modified: vid/charts/mariadb/templates/deployment.yaml modified: vid/templates/deployment.yaml Change-Id: I00aaa1eff3b870db3b475365eeda3f2e10aef6b9 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-05-04Update mysql configuration file to change sql_modeAaron Hay1-0/+2
Aggregated query without group by results errors when performing LCM actions unless the sql_mode value is changed. Change-Id: I91c6ef71f22d32cf401a5113ae4e28e1ab554bb6 Issue-ID: APPC-878 Signed-off-by: Aaron Hay <ah415j@att.com>
2018-04-24Make all services independent of helm Release.NameBorislavG7-18/+21
Issue-ID: OOM-906 Change-Id: Ic65127d3981cb0a696c784392cab59fbf06b1e66 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-04-19Add chart name override to service name tplMike Elliott1-3/+4
See issue id for details. Change-Id: Iea807608f7bd315a28032b640f3aa9370adc17eb Issue-ID: OOM-971 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
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>