aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/nbi
AgeCommit message (Collapse)AuthorFilesLines
2020-10-16[EXTAPI] Make new nbi properties configurable in oomaleemraja2-0/+6
Added two k8s related properties in nbi: 1. k8sCloudRegionId 2. k8sCloudOwner To support CNF instantiation through SO macro flow, we need to add k8s related configurations. Issue-ID: EXTAPI-524 Signed-off-by: aleemraja <ar00500721@techmahindra.com> Change-Id: I970ec5fe4fe707d8fb5fba6e96969c2baf496969
2020-10-07Merge "[EXTAPI] Deploy macromode and E2E slicing code changes"Sylvain Desbureaux2-2/+2
2020-09-23[EXTAPI] Deploy macromode and E2E slicing code changesaosull012-2/+2
Deploy handling serviceState and macromode attributes Internal changes in Service Order payload processing Issue-ID: EXTAPI-505 Signed-off-by: aosull01 <adrian.osullivan@huawei.com> Change-Id: I28e099072b4d2ac35f85311836c6998c4eec7139
2020-09-17Replace YAML comments with helm comments in templatesJakub Latusek4-0/+8
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: I8fa9f472994c5a01c228966d755eb8b21c4364cf Issue-ID: OOM-2562
2020-09-04[GENERAL] Use readiness container v3.0.1Sylvain Desbureaux1-2/+1
Readiness container v3.x and up are now present in ONAP main repository. They're also not using root user anymore and then script path has changed. Finally, "job_complete" script has been integrated in main "ready" script. As those changes are significant, we must upgrade all the components at once. Depends-On: I5afa83892043f4844afe12e61724a8d368a9f2e0 Issue-ID: OOM-2545 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: I0b4eb5dd86390273532d67d0a9696e1cfcadf110
2020-08-13[NBI] Make NBI compatible with Kubernetes v1.17Grzegorz-Lis1-1/+5
Issue-ID: OOM-2460 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: Ibb18d7d4ae31dcf4700f8cee0956e9542bde719f
2020-07-29[EXTAPI] Deploy R7 container image for external apiaosull011-1/+1
Deploy new Guilin version of nbi container with new support for internal macromode SO APIs Issue-ID: EXTAPI-480 Signed-off-by: aosull01 <adrian.osullivan@huawei.com> Change-Id: Ie26d0393802dce86ad77f477c5f27cfe242a6cff
2020-05-19[COMMON] Fix certInitializer to use proper global valuesKrzysztof Opasiak1-1/+0
One of reasons why certInitializer is a proper chart that you need to put in your requirements.yaml is to avoid copy-pasting the same global values among different charts. As it turned out in tests we've been not "mangling" global values properly while creating $subchartDot. This patch fixes the issue. Issue-ID: AAF-1134 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I630154c4eedd7192ebb1881e5899c8df495d988b
2020-05-06[COMMON] Add new template for obtaining certificateKrzysztof Opasiak4-45/+18
Add new template that can be used to obtain certificate by component. Make also a PoC with NBI. Strongly based on aaf-config template. Issue-ID: AAF-1134 Change-Id: I10cb2a7b36a8dc436be337518cc15431aabbbc5d Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2020-05-05[NBI] add missing ingress templateSylvain Desbureaux1-0/+15
ingress template is needed to create ingress. Issue-ID: OOM-2172 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I176f70600918def3d1fc43d9fdb35ca8d29653de
2020-04-29Change ingress hosnames for exposed servicesLucjan Bryndza1-0/+6
Change ingress host to the required hostnames Change-Id: Ic78c8821e2e23e00943d8abdf7b2183b4d940c72 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com> Issue-ID: OOM-2391 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
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>