aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc
AgeCommit message (Collapse)AuthorFilesLines
2024-04-13[COMMON] Remove hostPath entriesAndreas Geissler9-52/+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-04-11[COMMON] Update all ReadinessChecksAndreas Geissler10-46/+23
Use the new "service" feature of the readiness image to resolve startup dependencies. Issue-ID: OOM-3280 Change-Id: Ia331d51528676744e5e0479d1fd0ca02830c3499 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-04-10[SDNC] Move dgbuilder and network-name-gen to SDNCAndreas Geissler19-5/+919
Move the charts from /common to sdnc/components and simplify the DB creation. Issue-ID: OOM-3286 Change-Id: Ib0c53e51b96ad2e1573859b9d938e700c0bea4ac Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-03-20[COMMON] Make imagePullSecrets configurableAndreas Geissler8-16/+8
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-14[COMMON] Harmonize resource settings, Part 2Andreas Geissler10-20/+20
Some settings are still wrongly interpreted (e.g. 0.02Gi) Therefor they are changed to non-floating numbers (e.g. 20Mi) Issue-ID: OOM-3273 Change-Id: Icc88dead1ac5b1df8629d6adcc438a739e20522e Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-03-11[COMMON] Update MariaDB readinessChecks to fix Operator issuesAndreas Geissler3-21/+30
Give different readinessCheck rules depending on the usage of mariaDB Operator and local/global DB setup Apply these changes to CDS, NBI, SO, SDNC, Policy Issue-ID: OOM-3280 Change-Id: I4e6f584558ffebb6ab602db88a73c2f02891902e Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-02-28[COMMON] Harmonize resource settingsAndreas Geissler14-48/+104
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-19[SDNC] Support root secret for external DBAndreas Geissler2-8/+15
In case of an external DB the secret containing the root password can be given in the global.mariadbGalera section and has to be used in the DB jobs Issue-ID: OOM-3266 Change-Id: I05d36169e7f8c6aa18712e0a75621d1cd001f1b3 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-01-11[MARIADB][SO] Connect MariaDB Galera via master nodeAndreas Geissler4-0/+17
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-0/+1
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 Geissler4-4/+4
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 turok6-12/+12
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 Geissler9-27/+29
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-31[SDNC] Change SDNR DB from elasticsearch to maria DBdemskeq85-2/+101
Enable sdnrdb mariaDB as default Elasticsearch remains as legacy support Issue-ID: OOM-3210 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com> Change-Id: I16298ef13cd8eb6f6848ec5dbcd63e22f29f3922
2023-08-09[COMMON] Fix for ServiceAccount in network-name-genAndreas Geissler1-2/+0
Added missing SA definition in values.yaml and changed location in deployment.yaml Issue-ID: OOM-3199 Change-Id: I1d488e8d0d65c4cd3cf0ae21d22fa1143c8d64ab Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-08-07[OOM] Fixing k8s ServiceAccountsvladimir turok3-0/+4
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 Geissler6-26/+41
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 Geissler6-35/+35
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-06-29[SDNC] Support kafka native interfacedemskeq84-67/+107
Add Support of kafka native interface for SDNR Issue-ID: OOM-3170 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com> Change-Id: Ic285cd2b72fae7c0169a0f0dbf45f646146a17e8
2023-06-22[SDNC] Add SDNR Websocket supportdemskeq85-3/+16
new service and env for websocket in sdnr Issue-ID: OOM-3169 Change-Id: I4b890475a10cb0f8ebd5ec1955ed4c944914be98 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com>
2023-06-22[SDNC] Bump SDNC and CCSDK versions for London releaseDan Timoney9-9/+70
Bump versions of SDNC and CCSDK docker images for London release, bump sdnc version to 2.5.2 to resolve gating issues bump sdnc version to 2.5.3 to add missing Bierman API karaf feature bump sdnc version to 2.5.5 to resolve HTTP PATCH issue ueb-listener to use sdc-distr-client 2.0.0 (kafka native) Use Strimzi KafkaUser template Issue-ID: CCSDK-3876 Issue-ID: CCSDK-1789 Issue-ID: CCSDK-3908 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I053058f09bad1f5d1578979134eed43eee1d76eb
2023-06-20[SDNC] Create Authorization Policies for SDNCAndrewLamb11-0/+171
Add initial authorized serviceaccounts for each SDNC service Issue-ID: OOM-3131 Change-Id: I56db8f5d16ec15400fdd240c5a0126e2381f7237 Signed-off-by: AndrewLamb <andrew.a.lamb@est.tech>
2023-04-19[SDNC] Correct baseUrl in mountpoint-registrarAndreas Geissler2-6/+22
Change the URL from localhost to the SDNC service Added missing section in file (OOM-3062) Issue-ID: OOM-3063 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I8e05694896c54ed57b4b8e7d0633977fb1800e58
2023-03-29[SDNC] Chart cleanup from TLS/AAF optionsAndreas Geissler24-254/+100
Remove checks and add the usage of common templates Add information about external access to SDNC-callhome and add ingress setup for it Issue-ID: OOM-3122 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I7b32832ee31d811c23b4eaa5d43f7aa9d767c353
2023-03-03[COMMON] Fix resources indentmiroslavmasaryk1-1/+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
2022-12-19[SDNC] Version bump for final Kohn release for SDNC and CDSDan Timoney5-5/+5
Contains bug fix for dmaapListener version Issue-ID: SDNC-1765 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I1f5f84bd230c51b517be0a6ee951a58649b21176
2022-11-10[COMMON] Bump ONAP versionAndreas Geissler6-37/+37
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-11-03[SDNC] Simplify cert retrieval scriptSylvain Desbureaux2-10/+8
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: I0089a954a42d900fe06a591594bbc89d56bfeb01
2022-10-28[SDNC] Version bump for SDNC Kohn RCTimoney, Dan (dt5972)5-6/+6
Version bump for SDNC Kohn RC milestone. Also, change callhome port from 6666 to 4334 to comply with RFC standard, implemented in ODL Sulfur release Issue-ID: SDNC-1744 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Change-Id: I1e5576d0b51d140a8899e8e48d27f4ab071c44e3
2022-10-26Merge "[SDNC] Fix service template for ServiceMesh case"Fiachra Corcoran1-5/+0
2022-10-21[COMMON] Harmonize all component ingress configAndreas Geissler1-3/+5
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[SDNC] Fix service template for ServiceMesh caseAndreas Geissler1-5/+0
sdnc-oam service was not created correctly in case of a nonTLS deployment Issue-ID: OOM-2495 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I095f8a466d9d1df62800a28d2538e75db597e023
2022-09-30[SDNC] Version bump of SDNC images for Kohn releaseTimoney, Dan (dt5972)5-5/+5
Update SDNC image versions for Kohn release Issue-ID: SDNC-1734 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Change-Id: I4bf12b7719055d0f07ecd25daa4a0747bf0b0ed0
2022-08-17[COMMON] Update Makefiles to enable parallelizationAndreas Geissler2-14/+20
All Makefiles are updated to support SKIP_LINT option, have a defined order of compilation (common -> components) to support the parallel compilation of charts using: make all -j8 (for 8 Jobs). Additionally use cm-push instead of push to use the new K8S/Helm version Issue-ID: OOM-3011 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: If9903c9d5bc646b5ce54075acc616e98c4b6706e
2022-07-11Merge "[SDNC] SDNC ServiceMesh compatibility"Andreas Geissler8-12/+72
2022-06-28[SDNC] SDNC ServiceMesh compatibilityRadoslaw Chmiel8-12/+72
SDNC charts and properties file changes to make it work with servicemesh Issue-ID: OOM-2983 Signed-off-by: Radoslaw Chmiel <r.chmiel@partner.samsung.com> Change-Id: I30bf8948f65d6a1b912c3f840ca44cead03bdc96
2022-06-24[COMMON] Bump ONAP versionAndreas Geissler6-37/+37
Use version 11.0.0 for Kohn Issue-ID: OOM-2971 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Icc0e0839fc6def2035383b5fa4c9153fc15fafda
2022-06-08[SDNC] Update image to install final Jakarta fixesDan Timoney5-5/+5
Update versions for SDNC images to install final Jakarta fixes. Issue-ID: SDNC-1706 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ic0c7ddf9f61f020889aa814d7031f6f76a473a8f
2022-05-12[SDNC] Version bump for Jakarta RCDan Timoney5-5/+5
Bump SDNC image versions to 2.3.1 to install fixs for Jakarta RC. The changes are bug fixes, primarily to service logic (aka 'directed graphs') Issue-ID: SDNC-1685 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I6235702f1188b0e594977280c09bca24557263f7
2022-05-10[SDNC] Fix Oauth fieldsebdet1-2/+2
The field redirectUri crashes the oauth feature because there too many double quotes dumped in the oauth config file Change-Id: Ia69a1b6185e4a6cab56061d1d168d783d67518f2 Issue-ID: SDNC-1697 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2022-04-28[COMMON] Fix 'trap RETURN' and $BASHPID bashismsguillaume.lambert1-3/+3
pointed out by checkbashisms. Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: I19e7f50d5a98087d59cbe99778bee1a5f7a3a27c
2022-04-19[CCSDK][SDNC] Install Jakarta versionsDan Timoney4-4/+4
Install Jakarta M4 versions of CCSDK and SDNC docker containers Issue-ID: CCSDK-3604 Issue-ID: SDNC-1672 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ifd5da73e9fd6937e9e395522b49f60263f64d472
2022-01-25[SDNC] Upgrade log4j to version 2.17.1Dan Timoney5-5/+5
Update SDNC image versions to address log4j vulnerability by upgrading to version 2.17.1 of log4j-core Issue-ID: SDNC-1655 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I0b227e2b2ebaab1a915ab39d69b790f8d7b99a39
2022-01-06[SDNC] Log4shell fixDan Timoney5-5/+5
This update remediates the log4shell security vulnerability in SDNC by installing updated versions of the SDNc images which have been patched. Issue-ID: CCSDK-3556 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I63377cd21254b70a83a7302841cb5ac12f19d422
2021-12-14[SDNC] Mediate log4shell vulnerabilityDan Timoney3-0/+6
Add Java system property setting to remediate day zero vulnerability, pending more permanent fix (upgrade CCSDK/SDNC to log4j v2.15.0, and upgrade to a version of OpenDaylight that has upgraded as well). Issue-ID: CCSDK-3556 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Id2a9e2743490daa23f3fa51f10a43beb91290e0b
2021-12-08[COMMON] Fix & add to bashisms CI failover scriptsguillaume.lambert1-3/+3
Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: Icf139e50d44aed0315d0e4cb21c59ad05a5a3bdb
2021-12-07[GLOBAL] Migrate to helm v3efiacor14-218/+135
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-11-29Merge "[SDNC] Add Ves collector config"Krzysztof Opasiak2-2/+39
2021-11-16[SDNC] Add Ves collector configsebdet2-2/+39
Add the Ves collector configuration to the sdnc chart so that it can be disabled/enabled Issue-ID: OOM-2863 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I7039c4ab53b80a96f05bcf3fa8ef30224f15a96b
2021-11-15Merge "[SDNC] Fix dependencies for SDNRONLY mode"Sylvain Desbureaux1-2/+4