aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/oof/components
AgeCommit message (Collapse)AuthorFilesLines
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
2020-09-24[OOF] Direct logs to STDOUTkrishnaa962-2/+3
Issue-ID: OPTFRA-804 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: Ic395ce79ae3b9188574bf35375509decdafd5503
2020-09-23[OOF] Update release version for OOFkrishnaa9611-14/+16
Issue-ID: OPTFRA-850 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: If6ea86e827e7b1da81a1fc17b6301fc0df3d1309
2020-09-16[OOF] Use certInitializer for OOF podskrishnaa9698-0/+6544
Remove Hardcoded certificates from OOF Resturcture OOF charts Issue-ID: OPTFRA-803 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: Ibe886a44fcbf22bb3443fbb8ec8e37ddc7636ffe