aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/oof
AgeCommit message (Collapse)AuthorFilesLines
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
2020-05-13Bump version of readiness imageSylvain Desbureaux6-9/+9
New readiness image proposes several new stuff: * smaller size * ability to wait for daemonset Issue-ID: OOM-2373 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I4af9a09393c5b71214d8f4db2c1a095b260c9fbd
2020-05-06[OOF] Fix Ingress configurationSylvain Desbureaux1-1/+1
Set redirect for SSL as backend is HTTPS. Issue-ID: OOM-2182 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I7dca15d6a381048f8f07c81b2523a1b6ec0ae308
2020-05-05MUSIC spring boot helm charts (music-sb)Tschaen, Brendan8-15/+19
Removal of tomcat and zookeeper as per latest music version.. Replaced with cassandra only and spring boot version of music, adding support for https and running the music container under a non-root user Update oof-has music-api configuration, use https Switch to music-api-springboot for all the ready.py Issue-ID: MUSIC-572 Signed-off-by: Tschaen, Brendan <ctschaen@att.com> Change-Id: Idbfac29cb5e9808787b5994e2575f055c292a146 Signed-off-by: vrvarma <vikas.varma@att.com>
2020-05-05[OOF] add Ingress to HAS API serviceSylvain Desbureaux2-0/+25
Adding the Ingresses to HAS API service. Issue-ID: OOM-2182 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I6cfe4d014a18e693344e24f14c00f4108d9c15c9
2020-04-17Update oom with the latest release version for OOFKrzysztof Opasiak17-233/+216
Fixing the configuration based on comments Updating osdf common_config.yaml Separating cmso configuration to a new review Creating secrets app_key and add substution routine Fix a typo in has-xx deployment.yaml files Adding secret.yaml files for all has deployments Fixing certificates for oof Helm chart cleanup and unification. Fixing pdx url and mount path Unsetting appkey and removing secrets Change-Id: I6fbdbd7532c73dffeb9fac65d50d3900c85cd87a Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-720 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2020-04-09Changing log writes location to /var/log for oof/hasIkramullah, Ikram2-6/+6
The log locaitons that the processes write to should be a common place so that a non-root that starts the process can be setup to manage the writes to that location. Chaning all log locations to /var/log where user 'onap' has been given write access to. Issue-ID: OPTFRA-711 Signed-off-by: Ikramullah, Ikram <ikram@research.att.com> Change-Id: I524534179b98c29acaf697dabdddd63b213199ba
2020-04-06Add optf-cmso oom helm chartsvrvarma11-36/+67
Making the charts consistent based on comments Fixing oom gating issue related to busyBoxImage value not found Moving and fixing cmso certs to this checkin Adding oof-cmso to the hardcoded certificates list Change-Id: Id48903ef7c38d69fcd8da5e067c2031359c94b56 Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-720
2020-04-02Bump chart versionSylvain Desbureaux15-17/+17
Use 6.0.0 in preparation for Frankfurt release Issue-ID: OOM-2320 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I8ad82dfdf48b56c38c0e85d640b18cc13c8d9e67
2020-03-25[OOF] Use faster version of common secret templateKrzysztof Opasiak5-8/+8
Issue-ID: OOM-2051 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Ib25f38d3fed05608adfeaf4a4ef1898cf66e12b1
2020-02-25Replaced URLs from the configuration file with test valuesIkramullah, Ikram1-3/+1
Also, the last patch seems to have required the server_url attribute in section [sdnc] to be avaiable. This is why instead of 'removing', I'm replacing the unused/unwanted URL Issue-ID: OPTFRA-699 Signed-off-by: Ikramullah, Ikram <ikram@research.att.com> Change-Id: I2365439ae013b7b4331741cd26b66e9b59f4d864
2020-02-17[OOF] Use common secret template for mariadb credentialsKrzysztof Opasiak8-54/+152
Remove all hardcoded credentials for mariadb and depend on common secret template to generate all passwords at the deployment time. Issue-ID: OOM-2292 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I54e57b317a8852469bcc11aabf6ddf0040ff5eb3
2020-02-06[OOF] fix secret names for mariadb-galeraKrzysztof Opasiak2-9/+9
It looks like AAF issues masked my real mistakes of letting some of oof services failing because of bad secret names. Let's fix that quickly by just setting them to the corrent names temporarly as later oof will be ported to use common secret template anyway. Issue-ID: OOM-2053 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I9de1804dbd5399df25a3ef98354f41d39d073bf7
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak26-63/+63
ONAP is too big to be deployed using helm install so we need to use a custom helm plugin helm deploy. This script deloys onap component by component instead of deploying evrything at once. Unfortunately this script also modifies the helm release by appending component name to it. As a result of this behavior our objects are called for example: onap-mariadb-galera-mariadb-galera-0 instead of just being called onap-mariadb-galera-0. This patch simplifies this naming convention by replacing all direct usages of .Release.Name with common.release macro which strips the component specific part from the release name. Issue-ID: OOM-2275 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Ia8cead50d305adb00eef666d0a1ace74479b5183
2019-12-11Merge "[Common] Use global storage templates for PVC"Borislav Glozman1-0/+1
2019-12-05[Common] Use global storage templates for PVCSylvain Desbureaux1-0/+1
OOM has now templates in order to create the needed PVC, using: * a PV with a specific class when using a common nfs mount path between nodes (sames as today use) --> is the default behavior today * or a storage class if we want to use dynamic PV. On this case, we use (in order of priority): - persistence.storageClassOverride if set on the chart - global.persistence.storageClass if set globally - persistence.storageClass if set on the chart I've also aligned the PV creation of the different charts. I've also aligned the PVC creation of the different charts. I've removed unused mysql chart and (badly) used nfs-provisioner chart. I've also make cassandra backup work with dynamic PV (but RWX only for now). Change-Id: I0ea3f8c7514ca648d94b6c682684c06b822bbe0a Issue-ID: OOM-2229 Issue-ID: OOM-2228 Issue-ID: OOM-2227 Issue-ID: OOM-1227 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-11-28Add ingress controler support to OOFLucjan Bryndza2-0/+7
Issue-ID: OOM-2182 Change-Id: I69ea7e5dbc30981ec840373dc030f26696ed32db Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2019-10-04Merge "Use SO simulutor in cmso-robot"Brian Freeman11-111/+34