aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/nbi
AgeCommit message (Collapse)AuthorFilesLines
2024-04-13[COMMON] Remove hostPath entriesAndreas Geissler1-8/+0
As hostPath volumes violate Cluster policies, they are not allowed within pod definitions. In our case only the "etc/localtime" is mounted to get the timezone of the host, which is not required. Issue-ID: OOM-3287 Change-Id: I6c8c8ea4e982d7e95e73f5fed7fc07ed47ceaab7 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-03-25Merge "[MONGODB] Set default resource settings for mongodb"Lukasz Rajewski1-7/+7
2024-03-20[COMMON] Make imagePullSecrets configurableAndreas Geissler1-2/+1
Currently in ONAP the imagePullSecrets is hardcoded to 'onap-docker-registry-key' which is created by the repository-wrapper component. With this change the secrets can be configured via setting global.imagePullSecrets and optionally per image if it is configured as map (image.pullSecrets) Issue-ID: OOM-3284 Change-Id: I8644f9b46043b6014219c42928e057b149df43a4 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-03-18[MONGODB] Set default resource settings for mongodbAndreas Geissler1-7/+7
Set the resources settings for mongodb in: - NBI - DCAEGEN2/TCAEGEN2 - MULTICLOUD/K8S Issue-ID: OOM-3277 Change-Id: I3454120d920edf3ae45eb1ebb0132cf5133e1575 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-03-07[MONGODB] Update to latest bitnami mongodb chartAndreas Geissler3-15/+30
Import the latest bitnami mongodb chart and update the client charts, which use it: - NBI - DCAEGEN2/TCAEGEN2 (include Chart.yaml fix) - MULTICLOUD/K8S THe new version supports the initial creation of DBs and user Issue-ID: OOM-3277 Change-Id: I75a475aadb8b84a313527b75f4c69e85624af8ba Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-02-28[COMMON] Harmonize resource settingsAndreas Geissler1-8/+8
Update all resource settings to the kubernetes recommended normalized form. Fix ReadinessCheck resource limits. Issue-ID: OOM-3273 Change-Id: Ie10903b801e4dc1689bcec092162d711a431a7a6 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-01-11[MARIADB][SO] Connect MariaDB Galera via master nodeAndreas Geissler1-0/+2
To avoid "lock" situations all clients of the mariadb-galera cluster should use the "primary" service, which connects to the master node. This service is provided by the mariadb-operator. Additionally for SO the bugfix for "local" DB configuration is fixed. Additionally missing readiness checks added to so-cnfm-lcm and so-etsi-nfvo-ns-lcm to wait for the DB job to complete Issue-ID: OOM-3261 Issue-ID: OOM-2697 Change-Id: I3d44f8b6d84d112c0271bfccebc4fa533c4e6aff Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-12-14[MARIADB] Fix db/user creation in operatorAndreas Geissler1-1/+2
Fix the resource names for db/user in mariadb template for the mariadb-operator and corrected the resource notation to work with ArgoCD Added missing "user" entry for mariadb-galera in NBI and Etsicatalog values.yaml and missing dbName in SDNC Issue-ID: OOM-3255 Issue-ID: OOM-3257 Change-Id: Ib11c20ce99bdd7f29415611d2c0795466415eea6 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-10-24[MARIADB] Make the MariaDB service Operator awareAndreas Geissler1-1/+1
To support both Operator and non-operator deployments the service name should be either mariadb-galera-primary or mariadb-galera Issue-ID: OOM-3236 Change-Id: Ic7721e08ec6a257b537024cb4a4751d6155ee28c Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-10-18[OOM] Fixing k8s cpu limitsvladimir turok1-2/+2
Adding specific cpu limits for all oom components Issue-ID: OOM-3241 Change-Id: I0bbd973d91d11dbb0ffa5848f7c1ed5ebb5f54ba Signed-off-by: vladimir turok <vladimir.turok@t-systems.com>
2023-09-29[MARIADB][COMMON] Add support for mariadb-operatorAndreas Geissler1-2/+5
Add template functions for the mariadb-operator resources and update the mariadb-galera chart to support them Change the flag to "useOperator" in cassandra to the global setup and additional labels for cassandra resources Changed Policy DB users to support the new mariadb User and fixed db.sh script to wait for the DB user creation Use the new readiness image 5.0.1 with the "app-name" option Change the MariaDB-Galera Service to the "primary" to avoid Deadlocks Fix previous SDNC patch (https://gerrit.onap.org/r/c/oom/+/135308) and temporary disable MariaDB for SDNR, as it is not compatible to MariaDB 11 Issue-ID: OOM-3236 Change-Id: Ie63fcc9c6d5fa802d38c592b449e7ff8553c2ab9 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-08-07[OOM] Fixing k8s ServiceAccountsvladimir turok1-0/+2
Adding service account for the jobs Cleanup MSB, ES and other common charts from AAF dependencies Issue-ID: OOM-3199 Issue-ID: OOM-3114 Issue-ID: OOM-3116 Change-Id: I55bf80876c9fb3b110e538ed1a5504e0dc1d4e1a Signed-off-by: vladimir turok <vladimir.turok@t-systems.com>
2023-07-14[OOM] Fixing k8s resources and limitsAndreas Geissler1-6/+6
This fix is adjusting OOM helm charts components resources limits and requests Issue-ID: OOM-3199 Signed-off-by: Vladimir Turok <vladimir.turok@t-systems.com> Change-Id: I56aeba925cda4984277ac7bbf23cfd158263d30f
2023-06-29[COMMON] Bump ONAP versionAndreas Geissler1-7/+7
Update chart versions to 13.0.0 for Montreal Issue-ID: OOM-3173 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Ie53fd021f01e459c464e44f4459a73ba0b00c172
2023-04-07[COMMON][OTHERS] Fix dependency conditionsAndreas Geissler2-1/+4
In case of local DB the "init" dependency is activated as the "not" condition is not working Issue-ID: OOM-3152 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I27dba69a644bbcc2b61245c22784976ba7c66173
2023-03-20[NBI] Cleanup the charts regarding AAF/TLS removalAndreas Geissler4-64/+15
Remove AAF related entries in charts and config files Issue-ID: OOM-3118 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I551c6a529bea8efd89ccd1f2f0a30baa91df3a2f
2023-03-03[COMMON] Fix resources indentmiroslavmasaryk1-2/+1
Fix of resources template indent and therefore resources in components Issue-ID: OOM-3104 Signed-off-by: miroslavmasaryk <miroslav.masaryk@telekom.com> Change-Id: I825a3860db00cae4bb80b2aa2d82ac1a42b33124
2023-01-31[DMAAP] Remove AAF dependencyefiacor1-1/+1
Remove DMaaP NodePorts Update dmaap-bc postgres setup and dbc-client image used by DCAE Use the http port of the dbcClient in the dmaapProvisioning job Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ie4888b58b6f7e1405ed67625900da89e58b5cb79 Issue-ID: DMAAP-1573
2022-11-10[COMMON] Bump ONAP versionAndreas Geissler1-8/+8
Update chart versions 12.0.0 for London Issue-ID: OOM-3046 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Ic196235ff4f6ae14a7ecad799bd75a9666b2594a
2022-10-21[COMMON] Harmonize all component ingress configAndreas Geissler1-1/+1
Harmonize all ingress definitions using schema: <component>-<application>-<api|ui> and adding plain_port attributes to support SM Issue-ID: OOM-3000 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I8212774ba194758d7cf23bc2085edcc4eacd2539
2022-10-20[EXTAPI] Make NBI ServiceMesh compatibleAndreas Geissler3-55/+22
Enable HTTP connections to SDC, DMAPP, AAI and provide own HTTP service, allign chart to the common templates Issue-ID: OOM-3007 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I8d984c1ac8a93b154b458b1306b6b0f814e47a4f
2022-06-24[COMMON] Bump ONAP versionAndreas Geissler1-8/+8
Use version 11.0.0 for Kohn Issue-ID: OOM-2971 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Icc0e0839fc6def2035383b5fa4c9153fc15fafda
2022-05-10[EXTAPI] Update image versionEric Debeau1-1/+1
Add new release to include patch correction for slicing use-case Issue-ID: EXTAPI-603 Signed-off-by: Eric Debeau <eric.debeau@orange.com> Change-Id: I717e5695f5f19ebeadd016a4026ea26c309b2b27
2021-12-07[GLOBAL] Migrate to helm v3efiacor2-44/+31
Move all Chart.yaml to use apiVersion: 2 Move dependencies from requirements.yaml to Chart.yaml Changes to all makeFiles Changes to helm deploy plugin Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I03c5290eee9e40f76eacbf171e774204cf5fb1c0 Issue-ID: OOM-2845
2021-10-27[NBI] Update chart with service accountfarida azmy3-0/+10
Add service account to requirements, values and deployment/statefulset Issue-ID: OOM-2867 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Change-Id: I63aa457b22c798b481bcca7cc33ca592d7eca0b9
2021-10-15[COMMON] Bump ONAP versionSylvain Desbureaux2-9/+9
Use version 9.0.0 for Istanbul Also update the doc. Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I03e11799bf487226784c98b04116f005c89d1e70
2021-07-20[NBI] Add missing DB service entry for local DB deploymentandreasgeissler1-0/+4
Without this entry deployment with local DB fails Issue-ID: OOM-2762 Change-Id: I9c405996f62549b9dc8c191b1fed47e3f7b44b88 Signed-off-by: andreasgeissler <andreas-geissler@telekom.de>
2021-04-13[NBI] Simplify cert retrieval scriptSylvain Desbureaux1-3/+2
As retrieving values is now done via a generic script, let's clean a little bit cert retrieval in order to remove unneeded part. Issue-ID: OOM-2688 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ie7f46f848bdb433023d2d8cf170f1efe7831c4f4
2021-03-24[DOC][COMMON] Prepare Honolulu releaseSylvain Desbureaux2-7/+7
Updating the documentation and bumping version to 8.0.0 Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I6f942f1466fed64264c44fb8fc0e1ffc93a98f18
2021-02-24[EXTAPI] Deploy R8 container image with nexus base for external apiaosull011-1/+1
New base java 11 image in Dockerfile from nexus, integration team Issue-ID: EXTAPI-572 Signed-off-by: aosull01 <adrian.osullivan@huawei.com> Change-Id: I47b785298fa3a9b6dcc7e816c32c4f5993fc6684
2021-02-18[NBI] Fix image nameKrzysztof Opasiak1-1/+1
-latest images are not allowed in the oom master branch Issue-ID: EXTAPI-564 Change-Id: I381f87fa813e103c47434227327dbfadaf4b8892 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2021-02-15[EXTAPI] Deploy R8 container image for external apiaosull011-1/+1
Deploy new Honolulu version of nbi container with enhanced support for internal macromode SO APIs Issue-ID: EXTAPI-564 Signed-off-by: aosull01 <adrian.osullivan@huawei.com> Change-Id: I39780e800b09eb49b35974cc43d2b05aee7f1d33
2020-12-14[COMMON][MARIADB] Upgrade Mariadb DB galera versionSylvain Desbureaux2-13/+11
Mariadb DB Galera containers version is outdated and unmaintained. We need them to move to a new image provider. As new image provider is not compatible with our old templates, we also update the templates (by reworking bitnami mariadb-galera chart). An update of global mariadb image is also done in order to match mariadb galera version. Issue-ID: OOM-1720 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ib9976227759e90022183d4f37fc655143be4d6ac
2020-11-30[COMMON][DOC] Bump version GuilinSylvain Desbureaux2-7/+7
Update charts and requirements to 7.0.0. Create release notes for Guilin Update documentation Issue-ID: OOM-2638 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I965ed6b6ebb7d74bfddaff73edd3dd55a657841c
2020-11-21[NBI] Uses new tpls for repos / imagesSylvain Desbureaux3-28/+4
This commit makes NBI chart to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I1d95512008dedf7f1d0b416c9c40249abb4eacac
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