aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/oof
AgeCommit message (Collapse)AuthorFilesLines
2024-04-13[COMMON] Remove hostPath entriesAndreas Geissler6-39/+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 Geissler2-2/+4
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-03-20[COMMON] Make imagePullSecrets configurableAndreas Geissler6-12/+6
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 Geissler1-3/+3
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 Geissler7-64/+64
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>
2023-10-18[OOM] Fixing k8s cpu limitsvladimir turok7-14/+14
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-08-08[COMMON] Cleanup charts from unsupported partsAndreas Geissler1-13/+0
Remove common charts (cert-wrapper, certInitializer, music) which are not needed anymore wor unsupported Issue-ID: OOM-3114 Change-Id: Iec3a49fd4f08b207961ddc572e2de873ee1480d5 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 Geissler7-40/+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 Geissler8-49/+49
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-03-03[COMMON] Fix resources indentmiroslavmasaryk6-14/+7
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-02-23[OOF] Make OOF ServiceMesh compatibleAndreas Geissler33-850/+134
Update the OSDF image version to 3.0.8 and remove the AAF related configuration options Issue-ID: OOM-2990 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Ib2b5085fa51eacb5ddc0e62dc29c2df9838c9c74
2023-01-19[OOF] Update configuration for NSST selection app in OOM chartsAleem Raja1-0/+11
Added configuration for NSST selection app in OOF to support NSST selection API in OPTF-OSDF Issue-ID: OOM-3086 Signed-off-by: Aleem Raja <aleem.raja@t-systems.com> Change-Id: I7969bb79a2b226d1140eacc953b40dd487789bcb
2022-11-10[COMMON] Bump ONAP versionAndreas Geissler8-46/+46
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-24[OOF] Service Mesh Compliance for OOFamatthews15-30/+99
Updating basic requirements for Service Mesh Compliance within OOF. Removed AAF dependencies in OOF deployments. Resolved merge conflict for oof-has/resources/conflict/conductor.conf for DCAE Issue-ID: OOM-2253 Change-Id: I660085ca94db723e4880dfa67aa31b604e712d15 Signed-off-by: amatthews <adrian.matthews@est.tech>
2022-10-21[COMMON] Harmonize all component ingress configAndreas Geissler2-2/+2
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-09-22[OOF] Update OOF image versionsmalar8-10/+10
- Update OSDF version to 3.0.7 - Update HAS version to 2.3.1 Issue-ID: OPTFRA-1080 Issue-ID: OPTFRA-1089 Signed-off-by: Malarvizhi Paramasivam <malarvizhi.44@wipro.com> Change-Id: Id16478f40893c5ca447c84868d3bf55bf6ae0500
2022-08-17[COMMON] Update Makefiles to enable parallelizationAndreas Geissler4-29/+40
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-06-24[COMMON] Bump ONAP versionAndreas Geissler8-46/+46
Use version 11.0.0 for Kohn Issue-ID: OOM-2971 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Icc0e0839fc6def2035383b5fa4c9153fc15fafda
2022-04-28[OOF] Update configuration for TN-FH in NxI termination appmalar1-0/+1
Update configuration for TN-FH in NxI termination app in OOF charts Issue-ID: OPTFRA-1059 Signed-off-by: Malarvizhi Paramasivam <malarvizhi.44@wipro.com> Change-Id: If4b18884dea167f89aee1954ac385a465a0c067d
2022-04-25[OOF] Update OOF-HAS container to 2.3.0Krishna7-6/+53
Update OOF-HAS container to 2.3.0 Issue-ID: OPTFRA-1037 Signed-off-by: Krishna <krishnamoorthy.manoharan@stl.tech> Change-Id: I46f6a23ce0f61cf22559e39e29a0118cc9730136
2022-03-14[OOM][OOF-HAS] Use basic password strength to avoid dollar signMichal Jagiello1-0/+3
OOF HAS controller uses Python oslo library to manage config files. In Python configuration files dollar sign ($) is used to reference other values. If that sign is in generated password container can't parse configuration file and exits with error. Basic password strength means it will use only alphanumberic characters. Issue-ID: OPTFRA-1028 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: Id31d6f21f22dab93386ea36e2aa026f70367c2e0
2022-01-26[OOF] Update slicing_config.yamlMaciej Lisowski1-2/+4
Slicing_config.yaml file has to be properly aligned in Istanbul version Issue-ID: OOM-2916 Signed-off-by: Maciej Lisowski <m.lisowski2@partner.samsung.com> Change-Id: I9b9129212f71369cd4e36fdf5c9b762e74638090
2021-12-07[GLOBAL] Migrate to helm v3efiacor20-278/+173
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-24[OOF] Update configuration for NxI termination appMalarvizhi1-6/+10
Update configuration for NxI termination app in the OOF charts Issue-ID: OPTFRA-1016 Signed-off-by: Malarvizhi Paramasivam <malarvizhi.44@wipro.com> Change-Id: I28d4ade079e7c98375edb865b665f6df99021e86
2021-10-27[OOF] Update chart with service accountfarida azmy18-1/+60
Add service account to requirements, values and deployment/statefulset Issue-ID: OOM-2872 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Change-Id: Id55593ca2103c962ad95925ae418cf143906ef50
2021-10-20Merge "[OOF] Slicing_config exposed in the OOM config"Sylvain Desbureaux2-0/+101
2021-10-15[COMMON] Bump ONAP versionSylvain Desbureaux16-40/+56
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-15[OOF] Slicing_config exposed in the OOM configLukasz Rajewski2-0/+101
Slicing_config exposed in the OOM config. This should let to modify the configuration without the need to restart container or to build new image. Issue-ID: OPTFRA-986 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: I5f629e53f912b36ab94877cd8e03861f47965eea
2021-10-15Merge "[OOF] Update OOF image versions"Sylvain Desbureaux9-8/+22
2021-10-11[OOF] Update OOF image versionskrishnaa969-8/+22
- Add configuration for CPS - Update OSDF version to 3.0.6 - Update HAS version to 2.2.1. Issue-ID: OPTFRA-987 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I5b2110f131ab50ba7d2617079d2c7f793b3341ae
2021-09-22[COMMON] Enforce checkbashisms tox profileGuillaume Lambert1-1/+1
- 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-07-23[OOF] Add configuration for Slice terminationkrishnaa962-0/+9
- Add query templates for termination app - Add DSL url to osdf config Issue-ID: OPTFRA-984 Signed-off-by: krishna Moorthy <krishna.moorthy6@wipro.com> Change-Id: I90f1c17fbf93dd83bac9c061f7276e002f130d6a
2021-07-07Merge "[OOF] Fix AAI schema version from v19 to v21"Sylvain Desbureaux1-1/+1
2021-07-02[OOF] Fix AAI schema version from v19 to v21nellix931-1/+1
AAI v19 version schema is deprecated Change-Id: Iff6bb1332b0aba08ee0d1a691e44762f2539d809 Signed-off-by: nellix93 <aniellopaolo.malinconico@guest.telecomitalia.it> Issue-ID: OOM-2766
2021-06-30[OOF] Deprecate OOF-CMSOkrishnaa9658-3730/+0
OOF-CMSO helm chart is being removed from the OOF deployment, since it is being deprecated. Issue-ID: OPTFRA-969 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I540c1b0b26e6317a374f3397c9eba01fd3ec3600
2021-06-21[OOF] Use the common mariadb-galera instanceMahmoud Abdelhamid6-29/+31
Updates for OOF CMSO: - Add section under (.Values.global) for shared mariadb instance with a condition to instantiate local instance. - Use a hook to send mariadb info to oof-csmo-service and oof-csmo-optimizer - Add condition under (requirments.yaml) to install local mariadb instance - Update oof-cmso-service and oof-cmso-optimizer (.Values) files to accomodate for local mariadb instance - Update oof-cmso-service and oof-cmso-optimizer deployments to use the templates defined under (templates/_mariadb.tpl) Issue-ID: OOM-2769 Signed-off-by: Mahmoud Abdelhamid <mahmoud.abdelhamid@orange.com> Change-Id: I59e6c98ae992faafd363c5f97e18bf631f9c4d4e
2021-05-28[OOF] Update HAS charts to use etcdkrishnaa9618-381/+191
- Add etcd as a subchart - Add configuration to switch between etcd and music - Remove onboard and healthcheck jobs Issue-ID: OPTFRA-953 Signed-off-by: Krishna moorthy <krishna.moorthy6@wipro.com> Change-Id: I44c8b60c3bdb0282329b6f87c5011093055ea91f
2021-04-21[OOF] Remove so-simulator from CMSOkrishnaa965-17/+6
so-simulator has been kept in place as a side car for cmso testing which is no longer required, hence removing it Issue-ID: OOM-2714 Signed-off-by: krishna moorthy <krishna.moorthy6@wipro.com> Change-Id: I6d681e9dbe0e61c5b2a1501f7a9d9398e5bb98eb
2021-04-13[COMMON] Fix shell scripts missing shebangsGuillaume Lambert1-2/+3
pointed out by checkbashisms. $ tox -e checkbashisms |grep 'interpreter line' | cut -d' ' -f2 |xargs grep -lv '#!/bin/sh' | xargs sed -i -e '1i#!/bin/sh' -e '1i\\' plus manual fixes Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Ic41fec6ebadd162cecf889f2b119ac82551bd21d
2021-03-30[OOF] CMSO logs to STDOUTDominik Mizyn12-19/+27
Root level change to INFO. Result should be more logs in STDOUT. Issue-ID: OOM-2514 Signed-off-by: Dominik Mizyn <d.mizyn@partner.samsung.com> Change-Id: Ie64f0aff59a732f4a798e0a27d7ae18e38dfe2e2 [Add VM_ARGS define to point to the right logback file] Suggested-by: Krishna Moorthy <krishna.moorthy6@wipro.com> Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Signed-off-by: Krishna Moorthy <krishna.moorthy6@wipro.com>
2021-03-24[DOC][COMMON] Prepare Honolulu releaseSylvain Desbureaux26-66/+65
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-03-20[OOF] Update containers to latest versionskrishnaa9616-20/+61
- OSDF: 3.0.4 - Fixed NST selection response - HAS: 2.1.4 - Fixed SDC interface - Fixed weak cryptography issues - CMSO: 2.3.2 - Fixed weak cryptography issues Chart changes - Remove encrypted password from CMSO and move it to k8s secret Issue-ID: OPTFRA-917 Signed-off-by: Krishna Moorthy <krishna.moorthy6@wipro.com> Change-Id: I1cf272f66f76412d5042fdf3ed3bcf1d461ab254
2021-02-23[OOF] Update image versionskrishnaa9614-14/+132
- Update OSDF to 3.0.3 - NST selection enhancements - Interface with consul - Update HAS to 2.1.3 - New candidate support(NST) - Update CMSO to 2.3.1 - Fixed security vulnerabilities Issue-ID: OPTFRA-904 Signed-off-by: Krishna Moorthy <krishna.moorthy6@wipro.com> Change-Id: Ib78325aba6e043c06a9e766298f91badf1af4d27
2021-01-18[OOF] Fix typo in license headerskrishnaa964-78/+79
Issue-ID: OPTFRA-886 Signed-off-by: Krishna Moorthy <krishna.moorthy6@wipro.com> Change-Id: I1e6475c90546a94051015732dc9730dc21cc591f
2020-12-14[COMMON][MARIADB] Upgrade Mariadb DB galera versionSylvain Desbureaux1-18/+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-12-08Update config db url for SON testsuitekrishnaa961-3/+3
Issue-ID: TEST-285 Signed-off-by: Krishna moorthy <krishna.moorthy6@wipro.com> Change-Id: I512bcaec2df477f6b6fd3097bafbd6f3fb51df65
2020-12-02[COMMON][MUSIC] Uses new tpls for repos / imagesSylvain Desbureaux1-1/+1
This commit makes music template to use the new generator for repositories and images. As new templates doesn't work well with "sub charts", we move also subcharts to components folder. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Icd5caef12b28cbcc246cf30a13426d6eb11cfe20
2020-11-30[COMMON][DOC] Bump version GuilinSylvain Desbureaux26-64/+64
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[OOF] Uses new tpls for repos / imagesSylvain Desbureaux36-78/+84
This commit makes OOF 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: I0350ae761177c9a275f2f8b2d3d3d94cce87437b