aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/nbi
AgeCommit message (Collapse)AuthorFilesLines
2020-04-20Update SO API for freeradius_nbi gating testaosull011-1/+1
Issue-ID: EXTAPI-432 Signed-off-by: aosull01 <adrian.osullivan@huawei.com> Change-Id: I6f14ab5ce0efe50db3e0cf0325d78457b886b60e Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-04-14test DMaaP connection via httpsaosull012-6/+3
Issue-ID: EXTAPI-427 Signed-off-by: aosull01 <adrian.osullivan@huawei.com> Change-Id: I2a35284b9de2153b473b4bdde1d77be6a015b620
2020-04-06[NBI] Use AAF init container for certificatesSylvain Desbureaux3-16/+98
Onboard server certificates for HTTPs via AAF init containers. Issue-ID: EXTAPI-375 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Icbcf075dd2dd8588aa9f14d23974a122bde38ae7
2020-04-02Bump chart versionSylvain Desbureaux2-5/+5
Use 6.0.0 in preparation for Frankfurt release Issue-ID: OOM-2320 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I8ad82dfdf48b56c38c0e85d640b18cc13c8d9e67
2020-03-25[NBI] Use faster version of common secret templateKrzysztof Opasiak2-3/+3
Issue-ID: OOM-2051 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I84509f2b6eb04585055bb7a5b0cfd957785f53fb
2020-03-13Add NBI Frankfurt features to gating testaosull011-1/+1
Issue-ID: EXTAPI-413 Signed-off-by: aosull01 <adrian.osullivan@huawei.com> Change-Id: I962409c449ea8ba14327e3102c0085311bb1800a
2020-02-13Fix external secret name in mariadb-initKrzysztof Opasiak1-1/+1
mariadb-init chart should play nicely with mariadb-galera as it simplifies migration to common mariadb instance. Unfortunately after adding the support for common secret template I didn't pay enough attention to consistent naming convention and mariadb-galera and mariadb-init chart ended up being incompatible. To fix that let's just rename the mariadb-init chart config option to match exactly the one used in mariadb-galera chart. Issue-ID: OOM-2248 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I621804821292e2bd0b5b1dd3f010629d1cb5471f
2020-02-07[NBI] Don't hardcode mariadb-galera passwordKrzysztof Opasiak3-9/+34
Let's use common secret template to generate user credentials for NBI DB and depend on mariadb-galera to generate secure enough root password. BTW. Don't be surprised for now mariadb-galera has a hardcoded root password but as soon as we move all charts that use it to common secret template it will be auto generated. Issue-ID: OOM-2291 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I5d16f6c26aa63a46db98ba3dab3a76267b4049f1
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak2-4/+4
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: Ia8cead50d305adb00eef666d0a1ace74479b5183
2019-12-11DMaaP switch from HTTP to HTTPSMatthieuGeerebaert1-1/+1
ONAP projects using HTTP port to connect to DMaaP Message Router (MR), please start using HTTPS port Issue-ID: EXTAPI-371 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com> Change-Id: I965f57599bb11fe0ee85a1fa66a55bf292399c58
2019-12-02[NBI] Use the common galera cluster of ONAPSylvain Desbureaux5-35/+230
Instead of having our "own" galera cluster, use the common one already proposed by OOM. If a local cluster is needed, you just need to set global.mariadbGalera.localCluster to True. Also create a common chart that create the needed values for the database. Change-Id: I9ad551b76a40732b4ab3fc34ba7cde6ca90fe432 Issue-ID: EXTAPI-348 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-11-06NBI to SDC: API is HTTPS with port 8443Matthieu Geerebaert1-1/+1
Issue-ID: EXTAPI-341 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com> Change-Id: I94b41e338d80939934c7d42fd518d0984cf89b92
2019-10-28[NBI] Use mariadb-galera from commonSylvain Desbureaux13-431/+18
Instead of using "homegrown" mariadb chart, move to use the common mariadb-galera chart in order to be aligned with most of the other users of mariadb and eventually to move into the common mariadb galera instance. Change-Id: I0c8ed6adfea0d64f97e7d9378464039915d389c7 Issue-ID: EXTAPI-347 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-09-09Update oom master to pick up 5.0.1 nbi releaseaosull011-1/+1
Change-Id: I5f9292c70b0f31a615a7d4c84222ce08b8c99de1 Issue-ID: EXTAPI-314 Signed-off-by: aosull01 <adrian.osullivan@huawei.com>
2019-08-29Move Storage access to RWOSylvain Desbureaux1-1/+1
Today when deploying NBI with OOM, the PersistentVolumeClaim needs the "ReadWriteMany" (or "RWX") capability. According to Kubernetes Documentation (https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes), ReadWriteMany stands for "the volume can be mounted as read-write by many nodes". That means that a particular PVC needs to be read and written from many pods. That also means that your code takes that into account and do the work to avoid write at the same place at the same time. An issue on RWX mode is that most "official" storage driver from Kubernetes doesn't support it (13 over the 19 drivers doesn't support it, espacially OpenStack, Amazon and Google storage classes). MongoDb PVC is used only for one Mongo instance and it's the same for maria. Thus we don't need RWX Change-Id: I4d54cd7853778d8ba6c83551a211abe34d383382 Issue-ID: EXTAPI-305 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-08-08update master to pick up nbi el alto early drop releaseaosull011-1/+1
Change-Id: I337ad5dca092bf4c7f6df1fd8666192dc05ccc40 Issue-ID: EXTAPI-279 Signed-off-by: aosull01 <adrian.osullivan@huawei.com>
2019-07-11Moving Helm Chart version for El AltoMike Elliott4-5/+5
Updating all helm chart versions to 5.0.0 for the El Alto release. Merge will be co-ordinated with the merge of a separate aai/oom patch. Please do not merge until this coordination has completed. Issue-ID: OOM-1980 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com> Change-Id: I31daaebeacea33565f13affd2fa28fb15fe948ba
2019-05-16Bad ref of NBI API in helm chart template for Dublinmrichomme1-1/+1
TMF Forum moved from v3 to v4 (no backward compatibility) template must reflect it problem detected when running End to end case using NBI for instantiation Issue-ID: EXTAPI-247 Change-Id: I937eca3a00d37df83c6871c65a00d37ad516d03a Signed-off-by: mrichomme <morgan.richomme@orange.com>
2019-05-13Update OOM with externalapi/nbi 4.0.0MatthieuGeerebaert1-1/+1
Change-Id: I08269f126c5c2fbf9aa38a2c07f34a05c9caeeac Issue-ID: EXTAPI-239 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
2019-04-11Merge "Bump version of Mongo and Mariadb for NBI"James MacNider1-1/+1
2019-04-11Bump version of Mongo and Mariadb for NBISylvain Desbureaux1-1/+1
Change-Id: Ib6042ee657415ec94d5c8acdd23a2ef1b5438a93 Issue-ID: EXTAPI-213 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-04-04Update api version to v4 for liveness testsMatthieuGeerebaert1-2/+2
Change-Id: I5b4a5d04bd0713ceb1421157d23403201b2e8fe1 Issue-ID: EXTAPI-228 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
2019-03-15Bump version of NBI to 3.0.2Sylvain Desbureaux1-1/+1
Change-Id: Idfc612c4de957eb541044499014d741b5e966321 Issue-ID: EXTAPI-214 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-03-14Update nbi deployment to have DMAAP_HOSTaosull011-0/+2
Change-Id: Ie24091607ae131599ca107a5191a9cd55dc58991 Issue-ID: OOM-1725 Signed-off-by: aosull01 <adrian.osullivan@huawei.com>
2019-02-10Update Chart version for Dublin ReleaseMike Elliott4-5/+5
All charts are being bumped from 3.0.0 to 4.0.0 for the Dublin release. In addition the requirement.yaml files have been updated to allow for chart versions that include timestamp suffix. A following on patch will take care of changes to the OOM Makefiles to support injection of the timestamp versions. Change-Id: Ie03d86fad2027e975e8b9106e3a828e4335037cb Issue-ID: OOM-1642 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-11-27README for NBISylvain Desbureaux1-0/+17
when looking at OOM Charts, it's important to know what they're deploying and what are the requirements. This commit is doing it for NBI project Change-Id: I8200bc1a2ce06073af898a38ef4d72511969d03d Issue-ID: OOM-1453 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2018-10-12Merge "Container restart loop"Mandeep Khinda1-4/+4
2018-10-11Update Docker tag for CasablancaEric Debeau1-1/+1
Change-Id: I407217cb69df133406be0ec63eb4f3793fca7308 Issue-ID: EXTAPI-146 Signed-off-by: Eric Debeau <eric.debeau@orange.com>
2018-10-08Container restart loopMatthieuGeerebaert1-4/+4
The container restarts in a loop before being considered as living on slow labs. Modified liveness and readiness probe, initial delay to 180 Change-Id: I499cb2ef85aa26dc054ad1b2e5b7ac8034ada7db Issue-ID: EXTAPI-122 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
2018-10-05Container restart loopMatthieuGeerebaert1-4/+10
The container restarts in a loop before being considered as living on slow labs. Modified liveness and readiness probe Change-Id: I780d9e36b30284857c3405f687295b755b0e702c Issue-ID: EXTAPI-122 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
2018-09-29Correct resources limit for mariadbEric Debeau1-8/+8
Reduce minimal values for mariadb Align with CLAMP values Change-Id: I4e7042acc5d73ee2459e8932435992f681a8a8ab Issue-ID: OOM-1156 Signed-off-by: Eric Debeau <eric.debeau@orange.com>
2018-09-25Updating charts to use common resource templateMandeep Khinda2-2/+2
Issue-ID: OOM-1145 Change-Id: I1510339a820802554b6e8b9a201619ef66be17a0 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-09-25adding unlimited resource limitMandeep Khinda2-2/+3
Adds the ability to turn them off if they are found to cause issues also cleaning up some whitespace Issue-ID: OOM-1145 Change-Id: Idf0ee21f70e1bf65813b7f51ea028f2783a01cf8 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-09-24Update Chart versions to 3.0Mike Elliott4-5/+5
All Chart versions and requirement dependencies have been updated to 3.0 for Casablanca release. Change-Id: Iea57e5da09ea8a8bac0a415b9a6196151cbea10b Issue-ID: OOM-1354 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-09-20reducing resource request numbersMandeep Khinda1-4/+4
Issue-ID: OOM-1145 Change-Id: Ic2770086914e7cf1a96f2b6e5fd04bf1bd3f75d8 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-09-19fixing resource limit whitespaceMandeep Khinda1-6/+6
causes a warning: warning: cannot overwrite table with non table for limits (map[cpu:2 memory:4Gi]) Issue-ID: OOM-1421 Change-Id: Ice08a1d0af99eedbfaca4fe507d6d966784a6cb2 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-09-19Resource Limit for LOGvaibhavjayas4-5/+32
Issue-ID: OOM-1153 Change-Id: Icd62d392b2e2a275a273b7f6260ad39d68987f50 Signed-off-by: vaibhavjayas <vaibhav.jayas@amdocs.com>
2018-09-17Update NBI deploy configsQuoc Nghia Nguyen2-2/+8
- update nbi image version - add new configs for msb integration Change-Id: Ia5ba5e7a539464d54c5286b37e092b0858a6f3a3 Issue-ID: EXTAPI-147 Signed-off-by: Quoc Nghia Nguyen <quocnghia.nguyen@orange.com>
2018-09-11Fix resource imits for nbiEric Debeau1-18/+7
Issue-ID: OOM-1156 Change-Id: I2745d750b2031dcf8283fc46abd2034b284332d4 Signed-off-by: Eric Debeau <eric.debeau@orange.com>
2018-09-06Merge "Container restart loop"Mandeep Khinda1-1/+1
2018-08-30License Addition task UUI , VNFSDK , MSB , NBIPrateekinlinux9-0/+21
Issue-ID: OOM-1303 Change-Id: I7c3407e01619aa4463f7f8285cfad57ce17ee294 Signed-off-by: Prateekinlinux <prateek.khosla@amdocs.com>
2018-08-17Container restart loopMatthieuGeerebaert1-1/+1
The container restarts in a loop before being considered as living on slow labs. Change-Id: I3bb243e0d096c3e1e11b2738a2673ff5c577ab8d Issue-ID: EXTAPI-122 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
2018-06-05Fix bad values for configuring NBI.Sylvain Desbureaux2-2/+2
PS-3 MK: the sample value for openStackVNFTenantId is being interpolated as a number because it is all numeric. Going with the quoting it at the template level. Changing the value to 12345abcde probably would work too. Change-Id: I2f81430e56f465543d3701a2d8cd4b562e7e987d Issue-ID: OOM-1116 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-06-05Sync OOM docker versions with docker-manifest.csvGary Wu1-1/+1
Sync OOM docker versions with docker-manifest.csv commit a6e05c8c18624a1794abb1d3a3ab879a7a06bcfe Change-Id: If8df538638670e0f1080d41d40d06de54ab1d93a Issue-ID: OOM-1053 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-05-23Merge "fixing nodeport collisions with sdnc"Mike Elliott1-1/+1
2018-05-22Correct Helm Chart for NBIEric Debeau1-2/+2
The pair-wising tests failed based on OOM. sdc-be should be used instead of sdc-fe https must be used for aai Change-Id: I95109b3f99fb75b5017e017e964ed05b2435d26d Issue-ID: EXTAPI-92 Signed-off-by: Eric Debeau <eric.debeau@orange.com>
2018-05-17fixing nodeport collisions with sdncMandeep Khinda1-1/+1
I am told that the sdnc geo feature needs a well known set of node ports and they have selected a contigous block so I am changing the other charts Issue-ID: OOM-1096 Change-Id: I237d126e96174726902422bf842135304764c7d2 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-05-17Add External Interface NBI project into OOMSylvain Desbureaux16-0/+771
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>