aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/components
AgeCommit message (Collapse)AuthorFilesLines
2024-08-13[COMMON] Cleanup chartsAndreas Geissler15-667/+0
- archive charts, which are not maintained anymore - archive subcharts in SDNC, MSB, DCAEGEN2-SERVICES - Cleanup environment and override files Issue-ID: OOM-3309 Issue-ID: ONAPARC-805 Change-Id: If19a807fefa574ceb9b90ac1eb84d9642729323d Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-07-02[SDNC] Version bump for New DelhiDan Timoney10-10/+10
Update SDNC versions for New Delhi. This version includes support for Bierman as well as RFC 8040 versions of restconf, and includes fix for dgbuilder Update of chart version to 14.0.0 Issue-ID: CCSDK-4004 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ib34c524d527a7756ca93a0ebb010ac2ee3335d46
2024-04-17[SDNC] Disable MessageRouter ReadinessCheck in UEB ListenerAndreas Geissler1-2/+0
As the UEB Listener is already migrated to Kafka, the ReadinessCheck in the deployment.yaml is deleted Issue-ID: OOM-3291 Change-Id: If940f1e90b3bf3762ae70d7f96acd71357e4ffe7 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-04-13[COMMON] Remove hostPath entriesAndreas Geissler6-40/+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 Geissler6-15/+15
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 Geissler17-0/+912
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 Geissler5-10/+5
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 Geissler8-16/+16
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-02-28[COMMON] Harmonize resource settingsAndreas Geissler10-40/+75
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 Geissler3-0/+15
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-10-24[MARIADB] Make the MariaDB service Operator awareAndreas Geissler3-3/+3
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 turok5-10/+10
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 Geissler5-7/+7
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-07-14[OOM] Fixing k8s resources and limitsAndreas Geissler5-20/+35
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 Geissler5-20/+20
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-22[SDNC] Add SDNR Websocket supportdemskeq82-1/+3
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 Timoney8-8/+69
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 SDNCAndrewLamb8-0/+87
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-03-29[SDNC] Chart cleanup from TLS/AAF optionsAndreas Geissler16-137/+61
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
2022-12-19[SDNC] Version bump for final Kohn release for SDNC and CDSDan Timoney4-4/+4
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 Geissler5-21/+21
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 Desbureaux1-8/+7
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)4-4/+4
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-09-30[SDNC] Version bump of SDNC images for Kohn releaseTimoney, Dan (dt5972)4-4/+4
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 Geissler1-7/+10
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 Geissler4-9/+24
2022-06-28[SDNC] SDNC ServiceMesh compatibilityRadoslaw Chmiel4-9/+24
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 Geissler5-21/+21
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 Timoney4-4/+4
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 Timoney4-4/+4
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-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 Timoney3-3/+3
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 Timoney4-4/+4
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 Timoney4-4/+4
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 Timoney2-0/+4
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 v3efiacor11-141/+73
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-03[SDNC] Version bump for final Istanbul imageDan Timoney4-4/+4
Bump SDNC images to version 2.2.2, final Istanbul release version Issue-ID: SDNC-1610 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I340cc2a1c32534d561c121fc3cd33ab82c800f02
2021-10-31[SDNC] Bump version for Istanbul RCDan Timoney4-4/+4
Bump version of SDNC and CCSDK images for Istanbul RC milestone. Issue-ID: SDNC-1615 Issue-ID: CCSDK-3483 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Id3a3627765e5623aa6cd8bffbfad1679ae6afef6
2021-10-15[COMMON] Bump ONAP versionSylvain Desbureaux10-21/+31
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-10-10[SDNC] Bump versions for IstanbulDan Timoney5-5/+5
Bump image versions for SDNC for Istanbul release Issue-ID: SDNC-1609 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Iecfb133ce8563ccfabf1a38af9d8c26d99d398f4
2021-09-22[COMMON] Enforce checkbashisms tox profileGuillaume Lambert1-2/+2
- add checkbahims to tox.ini default profiles - remove -f options to unforce bashisms detection in explicit bash scripts and to differentiate treatments between bash and sh - migrate #!/bin/bash shebangs to #!/bin/sh for scripts without bashisms The following scripts have not been migrated since they still use bashisms difficult to migrate (mostly arrays - more details below) ./kubernetes/common/mariadb-init/resources/config/db_init.sh ./kubernetes/portal/components/portal-mariadb/resources/config/ \ mariadb/docker-entrypoint.sh ./kubernetes/helm/plugins/deploy/deploy.sh ./kubernetes/helm/plugins/undeploy/undeploy.sh ./kubernetes/sdnc/components/sdnc-prom/resources/bin/ensureSdncActive.sh $ find . -not -path '*/\.*' -name *.sh -exec checkbashisms -f {} + 2>&1\ | grep line | cut -d' ' -f 7- | sort | uniq -c | sort -k1,1nr 18 (bash arrays, ${name[0|*|@]}): 2 (declare): 1 ($FUNCNAME): 1 (shopt): 1 (trap with ERR|DEBUG|RETURN): https://mywiki.wooledge.org/Bashism#Arrays https://mywiki.wooledge.org/Bashism#Special_Variables https://mywiki.wooledge.org/Bashism#Builtins https://www.oilshell.org/release/0.5.alpha2/test/spec.wwz/builtin-trap.html Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Id06ad1d45004321a293bdd26038d8da5f7b6b4ac
2021-08-17[SDNC] Update chart with service accountfarida azmy15-0/+50
Add service account to chart Issue-ID: OOM-2719 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Change-Id: I263f53a60e32867f61b2d85cc4dc8a78d9701449
2021-07-12[SDNC] Fix indent level for nodeSelector and affinitySatoshi Fujii5-50/+34
When nodeSelector was given by values or override.yaml, helm deploy was failed due to wrong indentation in helm charts. This change fixed indentation level for nodeSelector and affinity in pod spec. Issue-ID: SDNC-1565 Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Change-Id: Ie5446928e3f32d9333c04245fc0d2c0f98b3b4e7
2021-06-24[COMMON] Fix some bashismsGuillaume Lambert2-3/+3
pointed out by checkbashisms: - variable name HOSTNAME - source instead of . - sleep with suffix - string increments And migrate a few shebangs to /bin/sh Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: I653c14454a3232b5a349ca1564ece53ddc94289d
2021-06-23[COMMON] Revert "[COMMON] Fix a few bashisms"Krzysztof Opasiak2-3/+3
This reverts commit 62178a49cc9e4088019d426636657d9f2980d242. This commit introduced regression on portal db config job which is now unable to start: /usr/local/bin/docker-entrypoint.sh: line 114: syntax error near unexpected token `(' Issue-ID: OOM-1 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I3cb72cd7625b180b364b713fe942d5956736ebef
2021-06-15[COMMON] Fix a few bashismsGuillaume Lambert2-3/+3
pointed out by checkbashisms: - variable name HOSTNAME - source instead of . - variable increments - sleep with suffix And migrate a few shebangs to /bin/sh Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: I82981bcff17e88cf824935b841ce37a585ddde00
2021-05-12[SDNC] Install latest service release (SR3) of OpenDaylight AluminumDan Timoney4-4/+4
This version bump installs the latest service release of OpenDaylight Aluminum (SR3). This was released too late for inclusion in the initial Honolulu release, but contains bug fixes that are needed for SDN-R and so is being released as part of the Honolulu maintenance release Issue-ID: SDNC-1542 Issue-ID: CCSDK-3285 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I8b2c9763958bd33d41560d609c31bdc2f46cdcce
2021-04-27Merge "[COMMON] Fix condition equality bashisms"Krzysztof Opasiak4-4/+4
2021-04-22[SDNC] Bump version to install license/bug fixDan Timoney4-4/+4
Version bump on sdnc images to install license fix to address issue identified in latest license scan, and to install fix for bug in basic_vm_model test (SDNC-1515) Issue-ID: SDNC-1507 Issue-ID: SDNC-1515 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I80721c0ce88ce2654b637d7f6748441496a684e6