aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/oof/components
AgeCommit message (Collapse)AuthorFilesLines
2024-04-13[COMMON] Remove hostPath entriesAndreas Geissler5-33/+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 Geissler1-1/+2
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 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 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 Geissler6-56/+56
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 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-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 Geissler6-34/+34
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 Geissler7-42/+42
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 indentmiroslavmasaryk5-12/+6
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 Geissler24-639/+83
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
2022-11-10[COMMON] Bump ONAP versionAndreas Geissler7-39/+39
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 OOFamatthews10-13/+65
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 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-09-22[OOF] Update OOF image versionsmalar7-9/+9
- 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 Geissler3-21/+30
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 Geissler7-39/+39
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-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
2021-12-07[GLOBAL] Migrate to helm v3efiacor17-238/+147
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[OOF] Update chart with service accountfarida azmy15-0/+50
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-15[COMMON] Bump ONAP versionSylvain Desbureaux14-34/+48
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-15Merge "[OOF] Update OOF image versions"Sylvain Desbureaux6-6/+6
2021-10-11[OOF] Update OOF image versionskrishnaa966-6/+6
- 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-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-CMSOkrishnaa9656-3724/+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 Desbureaux24-59/+58
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 versionskrishnaa9615-19/+60
- 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 versionskrishnaa9611-13/+110
- 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-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 Desbureaux24-57/+57
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 Desbureaux33-71/+78
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
2020-10-22Merge "[OOF] change comment style"Sylvain Desbureaux39-3/+82
2020-10-21[OOF] change comment styleJakub Latusek39-3/+82
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: Ia9195b1f3ac6af6ce929060a57503d1a497c0736 Issue-ID: OOM-2562
2020-10-21[OOF] Add helmignore to ignore componentskrishnaa962-0/+2
components directory takes up a lot of space and is included during helm package Lets remove it using .helmignore Issue-ID: OOM-2534 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I13f264caeab9c05280196db14a43d7f02edfa410
2020-10-20Merge "Update makefiles to use specific helm version"Krzysztof Opasiak5-30/+35
2020-10-16Update makefiles to use specific helm versionJakub Latusek5-30/+35
Helm is now called by HELM_BIN variable which by default is set to helm and makefiles use helm from path. HELM_BIN can be overwritten so user can have two version of helm in system and choose which one to use. Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562 Change-Id: I0917796aafe234e87afa0ac3c4c15720296276d5
2020-10-14[OOF] Bump versionskrishnaa9628-60/+266
- Upgrade OSDF and HAS to new image version - Intermediate and root ca certs should be added to domain cert for nginx to serve https requests - Remove redundant certs and load it as a secret Issue-ID: OPTFRA-857 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I51d5f9bf53561acbe5e1df6691e02899de41eed0
2020-10-02Merge "[OOF] Use helm-push plugin"Sylvain Desbureaux5-0/+25
2020-10-01[OOF] Change yaml comment to helm commentJakub Latusek1-1/+2
Change-Id: Ided74384fa71bebcaf5e99a8ebb839c8c8171bd4 Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562
2020-10-01[OOF] Use helm-push pluginJakub Latusek5-0/+25
Change-Id: I182d3c77a5be3cf220151a0984d44bfe4f25d039 Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562