summaryrefslogtreecommitdiffstats
path: root/kubernetes/clamp
AgeCommit message (Collapse)AuthorFilesLines
2020-10-14[CLAMP] Give times to mariadb to come upSylvain Desbureaux1-2/+4
On some environments, clamp database is restarted in the middle of the init script. The consequence is then a weird behavior, especially if the users are not set. This patch adds more time to the DB in the environment override file (which is supposed to be used in slow environnement). Issue-ID: OOM-2597 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ieb700afbb27610dbad18d860b7fb85ac95c2bb0d
2020-10-01Merge "[CLAMP] Upgrade the FE/BE to 5.1.2"Sylvain Desbureaux3-4/+4
2020-10-01[CLAMP] Upgrade the FE/BE to 5.1.2sebdet3-4/+4
Upgrade Clamp BE and FE to 5.1.2 (new imaged based on integration one + removal of Legacy policies Issue-ID: CLAMP-949 Issue-ID: CLAMP-948 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I61055d83290579ac180e84a0f6dd40382d4139cc
2020-09-26[CLAMP] upgrade for java11osgn422w4-3/+6
upgrade elk version to move to java 11 for CLAMP dashboard part. Issue-ID: CLAMP-934 Change-Id: I5b6a8064f17ab0bdd7c5fa1feb8813848d9753cc Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2020-09-25Merge "[CLAMP] AAF certificate using certinializer(2)"Sylvain Desbureaux12-9/+176
2020-09-25[CLAMP] AAF certificate using certinializer(2)osgn422w12-9/+176
use of auto-generated certificates via AAF side-car at OOM deployment time for CLAMP dashboard part. Issue-ID: CLAMP-884 Change-Id: If1c1cfb7d218060dde129546cadf38647a8d496e Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2020-09-25Merge "[CLAMP] Use helm-push plugin in clamp"Sylvain Desbureaux1-0/+5
2020-09-24[CLAMP] Use helm-push plugin in clampJakub Latusek1-0/+5
this is done in order to make OOM compatible with helm3 Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562 Change-Id: Ideb4e113bd9fb977e2d64621a68ea0ac8e656d76
2020-09-24[CLAMP] Replace YAML comments with helm commentsJakub Latusek1-1/+2
This is done in order to make OOM compatible with helm3 Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562 Change-Id: I7f95cf437e67876a4dc074b16cbfe7c7f0bfd9b1
2020-09-17[CLAMP] AAF certificate using certinializerChrisC56-48/+319
use of auto-generated certificates via AAF side-car at OOM deployment time for CLAMP. Issue-ID: CLAMP-884 Change-Id: I24f5a119714a5e46c4d0c152c03b6bc545135b8e Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com> Signed-off-by: ChrisC <christophe.closset@intl.att.com>
2020-09-17Merge "[CLAMP] Update mariadb db to latest"Sylvain Desbureaux1-1/+1
2020-09-08Merge "[CLAMP,COMMON] Escape special chars in mysql passwords"Sylvain Desbureaux1-1/+6
2020-09-04[GENERAL] Use readiness container v3.0.1Sylvain Desbureaux8-16/+12
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-09-02[CLAMP,COMMON] Escape special chars in mysql passwordsKrzysztof Opasiak1-1/+6
Fix both clamp and common mariadb-galera instances to make sure that special characters in passwords are escaped properly. Issue-ID: OOM-2328 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Iee48523d36d404ad7b21515f0d205f2f60a507ed
2020-08-03[CLAMP] Update mariadb db to latestsebdet1-1/+1
Update the mariadb version to latest 10.5.4 Issue-ID: CLAMP-850 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Id5b6c80457a75ee7d830eb3b782206b0277d26a1
2020-07-29[CLAMP] Refer to docker.io mariadbsebdet1-1/+1
Remove the link to cached mariadb in nexus3.onap.org, use docker.io instead Issue-ID: CLAMP-855 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I449298ae0188d1478cf4ae13383c00c5e921de88
2020-07-14Make CLAMP compatible with Kubernetes v1.17Magdalena_Biernacka6-6/+24
Issue-ID: OOM-2449 Signed-off-by: Magdalena Biernacka <magdalena.1.biernacka@nokia.com> Change-Id: I75090aac67139465bb5f4030129361ea771c11d2
2020-07-06Release Clamp 5.0.7sebdet2-2/+2
Release clamp 5.0.7 containing an important fix for clamp-857 Issue-ID: CLAMP-857 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I94b0d11ca0e6fdf441784c8cb77860d002923dad (cherry picked from commit f80ad5609f2e271eaa9d3c9c693f5d5c289c250e)
2020-05-25[CLAMP] Allow to use ' in clamp mariadb passwordsKrzysztof Opasiak3-0/+213
' is one of characters that are placed in passwords by our default password generation algorith. As ' is a special character in SQL files we need to escape it before substituting environment variables in .sql file. Issue-ID: OOM-2317 Reported-by: Fiachra Corcoran <fiachra.corcoran@est.tech> Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I0423b0eaecf7cc16892c10b14881c4d09a24a1d0
2020-05-05Merge "[CLAMP] Configure Ingress for Kibana"Krzysztof Opasiak2-0/+21
2020-05-05[CLAMP] Configure Ingress for KibanaSylvain Desbureaux2-0/+21
Clamp Kibana didn't had a proper ingress, adding it. Issue-ID: OOM-2175 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I584bffc776789e7e527ffe24fb6ea73f42aebd59
2020-05-05Merge "remove hardcoded MariaDB password"Sylvain Desbureaux12-93/+113
2020-05-04remove hardcoded MariaDB passwordJulienBe12-93/+113
This aligns with other changes on OOM. You can either supply a specific password or have it generated for you based on a master password Issue-ID: CLAMP-796, OJSI-188 Change-Id: If1b80fc47cf1033e094f8a106746d1e8c556c08b Signed-off-by: JulienBe <jb379x@att.com> Co-authored-by: sebdet <sebastien.determe@intl.att.com> [small updates in common secret template usage] Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2020-04-29Change ingress hosnames for exposed servicesLucjan Bryndza1-1/+1
Change ingress host to the required hostnames Change-Id: Ic78c8821e2e23e00943d8abdf7b2183b4d940c72 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com> Issue-ID: OOM-2391 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2020-04-27Merge "[CLAMP] use common templates for logs"Krzysztof Opasiak10-59/+85
2020-04-22[CLAMP] use common templates for logsSylvain Desbureaux10-59/+85
Using the common templates for centralized logging. Issue-ID: OOM-2370 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I4824e11bd2be971d15e3a39510f544d2c36b05fd
2020-04-20Release Clamp 5.0.4sebdet1-1/+1
Release clamp 5.0.4 containing all the fixes from CLAMP-R6 Sprint 5 Issue-ID: CLAMP-822 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I02cf0de0569f236f56be482a301ef61121c89ffb
2020-04-03Bump up clamp to 5.0.3sebdet2-2/+2
Due to some fixes for policy communication, we have to bump up clamp to 5.0.3 Issue-ID: CLAMP-819 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I46eed4fa23e92002a6b80f4d1b00e5ba27b4edd2
2020-04-02Merge "Bump chart version"Morgan Richomme11-11/+11
2020-04-02Bump chart versionSylvain Desbureaux11-11/+11
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-04-02Remove logback and bump up the clamp versionsebdet4-327/+3
Remove the logback file not used anymore and bump up clamp version Issue-ID: CLAMP-812 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ic3576039df21eb8aa27064188c56c0117aea1ceb
2020-03-31Merge "Update CLAMP deployment for Frankfurt release (RC0)"Sylvain Desbureaux7-63/+221
2020-03-30Update CLAMP deployment for Frankfurt release (RC0)sebdet7-63/+221
Update the SQL and settings of Clamp + set the docker image to current release Issue-ID: CLAMP-795 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Idaa4935516237221c90c4cf9141136fa1e104a02
2020-03-03ES non-rootosgn422w3-3/+3
ElasticSearch run as non-root user Issue-ID: CLAMP-668 Change-Id: I786e2ff8babf4b78fa6dfdf63ff9cd486099fbac Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2020-02-21move to OpenDistroosgn422w14-317/+108
move dashboard to Opendistro and certificate update Issue-ID: CLAMP-483 Change-Id: Ibaba1d517c13adeab611ab23749fb16295081372 Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak23-49/+49
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-06[CLAMP] Use global storage templates for PVCSylvain Desbureaux4-15/+10
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 Change-Id: I2cc90fe7a22a04d47d406b854c3a75502e539a25 Issue-ID: OOM-1227 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-12-04Add ingress controler support to CLAMPLucjan Bryndza2-0/+7
Issue-ID: OOM-2175 Change-Id: I15359ebc3116bf453c2a2b3ce706ead6024797bf Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2019-11-07Merge "Fix the nginx config"Sylvain Desbureaux1-0/+2
2019-11-05[CLAMP] set Mariadb PVC to RWOSylvain Desbureaux1-1/+1
Forgot Mariadb PVC in previous commit (https://gerrit.onap.org/r/c/oom/+/94610). Change-Id: I9e3d96eab8b6d6ada7d2ab406a8e72249c909aa4 Issue-ID: CLAMP-488 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-10-17Fix the nginx configsebdet1-0/+2
Fix nginx config so that AAF can work through it Issue-ID: CLAMP-519 Change-Id: Ica2d3ea6f6c4b19e019f3e7cf30e5b1372f07255 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-10-11Align on release 4.1.3sebdet10-871/+22
Align the charts on the 4.1.3 clamp containers + fix the dcae parameters to https4 + remove old db files Issue-ID: CLAMP-513 Change-Id: I0429d1888f78d1a0f5ed7543cf0f9bb9cd77e652 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-16Bump up clamp to 4.1.2sebdet4-4/+4
Bump up the version of clamp to 4.1.2 to take the latest changes Issue-ID: CLAMP-506 Change-Id: If77b23f5263affd34cce121ab6b6d905195321f0 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-09Add frontend containersebdet17-82/+485
Add the frontend container as the main chart, and add clamp-backend as the a sub chart Issue-ID: CLAMP-486 Change-Id: Ib02562d608011047157b77b302902de86c0d954d Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-05Merge "Fix OOM Clamp"Mike Elliott8-11/+21
2019-09-05Fix OOM Clampsebdet8-11/+21
Fix the image name and SQL for mariadb as it has been updated Issue-ID: CLAMP-467 Change-Id: I0bb9bf48b86a8eb3cc7a0f74dd5a5f20e46e8b44 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2019-09-02Merge "Move CLAMP Storage access to RWO"Alexis de Talhouƫt1-1/+1
2019-09-02Merge "Use nodePortPrefix variable in CLAMP-mariadb service template"Borislav Glozman1-1/+1
2019-08-29Move CLAMP Storage access to RWOSylvain Desbureaux1-1/+1
Today when deploying CLAMP with OOM, the PersistentVolumeClaim needs the "ReadWriteMany" (or "RWX") capability. According to Kubernetes Documentation (https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes), ReadWriteMany stands for "the volume can be mounted as read-write by many nodes". That means that a particular PVC needs to be read and written from many pods. That also means that your code takes that into account and do the work to avoid write at the same place at the same time. An issue on RWX mode is that most "official" storage driver from Kubernetes doesn't support it (13 over the 19 drivers doesn't support it, espacially OpenStack, Amazon and Google storage classes). CLAMP PVC is used only for one ES instance. Thus we don't need RWX. Change-Id: I3a17195bca4f0f01b5cdb0d8e803bb2a8ab2dd38 Issue-ID: CLAMP-488 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-08-05Change dcae to httpssebdet1-1/+1
Change all dcae port to https even for inventory Issue-ID: CLAMP-412 Change-Id: Ie63ea0c11b96b08269439ed91e4f34d1b267cc9c Signed-off-by: sebdet <sebastien.determe@intl.att.com>