summaryrefslogtreecommitdiffstats
path: root/kubernetes/oof
AgeCommit message (Collapse)AuthorFilesLines
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
2020-11-17[OOF] Bump OSDF to 3.0.2krishnaa962-2/+5
Issue-ID: OPTFRA-871 Signed-off-by: Krishna Moorthy <krishna.moorthy6@wipro.com> Change-Id: I64b7e6dbacbc627e55d28dafc5254cbeac74b821
2020-10-22Merge "[OOF] change comment style"Sylvain Desbureaux42-3/+88
2020-10-21[OOF] change comment styleJakub Latusek42-3/+88
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: Ia9195b1f3ac6af6ce929060a57503d1a497c0736 Issue-ID: OOM-2562
2020-10-21[OOF] Add helmignore to ignore componentskrishnaa963-0/+3
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 Opasiak6-36/+42
2020-10-16Update makefiles to use specific helm versionJakub Latusek6-36/+42
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 versionskrishnaa9638-68/+349
- 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 Desbureaux6-0/+31
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 Latusek6-0/+31
Change-Id: I182d3c77a5be3cf220151a0984d44bfe4f25d039 Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562
2020-09-24[OOF] Direct logs to STDOUTkrishnaa964-2/+110
Issue-ID: OPTFRA-804 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: Ic395ce79ae3b9188574bf35375509decdafd5503
2020-09-23[OOF] Update release version for OOFkrishnaa9614-22/+74
Issue-ID: OPTFRA-850 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: If6ea86e827e7b1da81a1fc17b6301fc0df3d1309
2020-09-16[OOF] Use certInitializer for OOF podskrishnaa96113-447/+759
Remove Hardcoded certificates from OOF Resturcture OOF charts Issue-ID: OPTFRA-803 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: Ibe886a44fcbf22bb3443fbb8ec8e37ddc7636ffe
2020-09-11[OOF] Add limit to onboard and healthcheck jobskrishnaa962-2/+2
Add resources field to OOF jobs to set limit Issue-ID: OPTFRA-840 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I5fb9a804af9c1a5df440aa61818197028db2c4b6
2020-09-08Merge "[OOF] use non-root user to access cmso database"Sylvain Desbureaux6-35/+82
2020-09-07[OOF] use non-root user to access cmso databasekrishnaa966-35/+82
Move mariadb galera config from global to root Add service name to mariadb-init config Fix mariadb-init secret to use Additional databases Create separate users for cmso service and optimizer Issue-ID: OPTFRA-800 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I5b91d297d35125ca242f40fe1a6328da0f4daa62
2020-09-06[OOF] Add make clean targetKrzysztof Opasiak1-0/+4
Add make clean target to ensure that removed dependencies are always cleaned up properly. Issue-ID: OPTFRA-803 Change-Id: I2f845c775d5643c7a8b4539b35886fbf79ce889a Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2020-09-04[GENERAL] Use readiness container v3.0.1Sylvain Desbureaux16-52/+44
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-03[OOF] Make OOF compatible with Kubernetes v1.17Grzegorz-Lis10-10/+40
Issue-ID: OOM-2461 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: Ia8f5ff043bb76ec59e8ffdcf9902a14152ca3e6c
2020-07-20[OOF] Move nginx to a sidecar containerkrishnaa963-12/+44
Issue-ID: OPTFRA-794 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I16547f24ca58a80634ff13a9aeb7a5f595633b44
2020-05-27Increment release version for osdf & hasvrvarma4-6/+5
Update osdf and has configurations Change-Id: I900ca5143fea1e5cd38d382abd5fe9b08af1a4de Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-760
2020-05-18Merge "Bump version of readiness image"Sylvain Desbureaux6-9/+9