summaryrefslogtreecommitdiffstats
path: root/kubernetes/vid
AgeCommit message (Collapse)AuthorFilesLines
2021-09-26[COMMON] Add and run pre-commit linters via toxguillaume.lambert1-20/+20
- create a .pre-commit-config.yaml configuration file with * gitlint * trailing blanks linter * tabs removal linter - exclude .git folder from it - exclude Makefiles since tabs are mandatory by default in them - create a tox pre-commit profile to run it from tox note gitlint is not runnable at this pre-commit stage - create pre-commit-install and pre-commit-uninstall tox profiles to (un)install hooks locally and (un)perform tests at each "git commit" call (i.e. without calling manually the pre-commit tox profile) - precise pre-commit stages/types in the pre-commit configuration file so that hooks are installed correctly. This avoids messages about skipped tests when they are run at a wrong stage. Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: Ie95bb4f6f90be80b05a1398973caffeff7936881
2021-03-24[DOC][COMMON] Prepare Honolulu releaseSylvain Desbureaux2-6/+6
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-24[VID] Create an empty dir for cacheSylvain Desbureaux1-0/+4
VID needs a cache folder. Currently, this caching feature doesn't work as cache folder can't be accessed. This patch allows the cache to be accessed. Issue-ID: VID-960 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Iea442f115e01919e82b14674249695d21c3197fe
2021-03-23[VID] Obfuscate truststore password at the entrypointKrzysztof Opasiak2-2/+4
VID unfortunately expects truststore password to be obfuscated instead of getting it in plain text. Current solution that we had in the master branch was only a temporary fix which hardcoded obfuscated password in our charts. This patch introduces a proper solution that uses jetty-util to obfuscate the password before starting VID application. Issue-ID: OOM-1 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I391c29b6552121fd0b574a1046b4c1551c1a927a
2021-03-21[VID] Update VID to 8.0.2Ikramullah, Ikram1-1/+1
VID's Honolulu release image. Issue-ID: VID-958 Change-Id: Iad54bdeb02a9e361db5ca0d68d3487a1dc4d3150 Signed-off-by: Ikramullah, Ikram <ikram@research.att.com>
2021-03-17[VID] Use obfuscated password for truststoreKrzysztof Opasiak1-3/+2
VID expects truststore password to be obfuscated using jetty-util. Issue-ID: OOM-1 Change-Id: I3d44524f7e89f026dfa27ac7d247028ccd598850 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2021-02-15[VID] Automatically retrieve certificatesSylvain Desbureaux6-26/+72
Use certInitializer in order to retrieve the certificates instead of hardcoding them. Issue-ID: VID-959 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I72eb09cd2719995ee05141034936f8e0589c7ad1
2020-12-14[COMMON][MARIADB] Upgrade Mariadb DB galera versionSylvain Desbureaux3-15/+15
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-01[VID] Uses new tpls for repos / imagesSylvain Desbureaux3-13/+12
This commit makes VID template to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I99c371c949398ecb6a2437c3ddd49a74f5a2c97e
2020-11-30[COMMON][DOC] Bump version GuilinSylvain Desbureaux2-4/+4
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-18[COMMON/VID] Modified VID to use Shared DB.RPMishra7-123/+50
This change modifies VID to use the shared DB instance of mariadb. In addition, we create a mechanism in mariadb-init to allow a shared DB user to run a script after the DB has been created. The script can be passed as a configMap (as is the case with VID) or it can be a standalone script that is passed as a string. Issue-ID: OOM-1226 Change-Id: Ie51823338562a6fbe7472025d62cd4dba688168d Signed-off-by: RPMishra <rpmishra@aarnanetworks.com> Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2020-10-21[VID] change comment styleJakub Latusek7-0/+14
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: I66c141480e6a5715be571b7a2ae1e9945b9e040e Issue-ID: OOM-2562
2020-10-08Guilin Release Image for VIDIkramullah, Ikram (fi241c)1-1/+1
Issue-ID: VID-897 Change-Id: I4517c137c7cf8660b3943969000f65a8e0d4d7ac Signed-off-by: Ikramullah, Ikram <ikram@research.att.com>
2020-09-04[GENERAL] Use readiness container v3.0.1Sylvain Desbureaux3-6/+5
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-11[VID] Make VID compatible with Kubernetes v1.17Magdalena_Biernacka1-1/+4
Issue-ID: OOM-2470 Signed-off-by: Magdalena Biernacka <magdalena.1.biernacka@nokia.com> Change-Id: I6f023a4696bdef7cab685de1c8107db48faf960f
2020-05-06[VID] Fix Ingress configurationSylvain Desbureaux1-2/+2
Set SSL to redirect as backend is HTTPS. Issue-ID: OOM-2191 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: If7dd2760af35f169cad1adcf7573352766beada2
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-02Bump chart versionSylvain Desbureaux2-3/+3
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[VID] Use faster version of common secret templatesKrzysztof Opasiak3-5/+5
Issue-ID: OOM-2051 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I87995de66dca0b3a6d159a09ee2dc8fca2989cce
2020-03-25VID: Update to version 6.0.4 (Frankfurt RC3)Ittay Stern1-1/+1
This build handle DB password special characters Issue-ID: VID-786 Issue-ID: VID-779 Change-Id: I48f3da564d1ea9314cb779021438241dd6113ba1 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-03-19New VID certificate valid until: Mar 17, 2021Ittay Stern2-1/+1
Issue-ID: VID-784 Change-Id: I2393279cce83191e75730caaff1b57802857f0e9 Signed-off-by: Ittay Stern <ittay.stern@att.com> Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2020-03-04VID: Update to version 6.0.3 (Frankfurt RC2)Ittay Stern1-1/+1
Issue-ID: VID-761 Change-Id: Ie3127f62a9b059020b047ae09bf13bdf77923833 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-02-15[VID] Don't hardcode mariadb-galera passwordKrzysztof Opasiak4-44/+25
Let's use common secret template to generate user credentials for VID DB and depend on mariadb-galera to generate secure enough root password. Issue-ID: OOM-2293 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Ib474e202e9e35e6b2959d29648f542a89c87a4e5
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak5-14/+14
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
2020-01-27VID: Update to version 6.0.2 (Frankfurt wave 1)Ittay Stern1-1/+1
Issue-ID: VID-716 Change-Id: Ia6344de1aa524d25a8818e18bfe693cacffc26c8 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-27VID logging adjustments to portal-sdk 2.6.0Ittay Stern1-2/+2
Issue-ID: VID-253 Issue-ID: VID-471 Change-Id: I642bdc7a3926bf3be897f959aa1886617b2978d6 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2020-01-09VID: Update to version 6.0.1Ittay Stern1-1/+1
Release 6.0.1 supports the current OOM chart setup (without VID_KEYSTORE_PASSWORD workaround). Issue-ID: VID-650 Issue-ID: VID-716 Change-Id: Ie326a9b0cc5c892f815470384b92938ab2312c62 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-18Merge "VID: Remove VID_KEYSTORE_PASSWORD workaround"Borislav Glozman1-2/+0
2019-12-15VID: Remove VID_KEYSTORE_PASSWORD workaroundIttay Stern1-2/+0
Workaround is no longer needed, after CATALINA_OPTS parameters are late-evaluated. See commit https://gerrit.onap.org/r/c/vid/+/99583 (change id Ife2a2e92b3745691cc45590d1afd1688d918048f). Issue-ID: VID-650 Change-Id: Ibb27d050632e8ce9b96da6e4033840380d1f3f72 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-12VID logging adjustmentsIttay Stern1-299/+386
Now using org.onap.logging libs, improved formatting, and full MDC key/values dump. Added outgoingRequests logging of upstream in-out traffic. See also: VID logs to Logging Specification v1.2 (Casablanca) https://wiki.onap.org/pages/viewpage.action?pageId=28378955 Issue-ID: VID-253 Change-Id: If1378319d6c77fef0d08adc8e5e08c98cab50580 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-12-11Merge "Add missing [mysqld] group"Borislav Glozman1-0/+1
2019-12-11Merge "Add ingress configuration for vid"Sylvain Desbureaux2-0/+7
2019-12-06Add missing [mysqld] groupBrian Freeman1-0/+1
Issue-ID: VID-725 Change-Id: I00bed189eae8a615f4db9531814a88ed2b000362 Signed-off-by: Brian Freeman <bf1936@att.com>
2019-11-27Add ingress configuration for vidLucjan Bryndza2-0/+7
Add ingress configuration file for vid component. Ingress configuration can be changed in onap-all.yaml Change-Id: Icb1eccccd0488d78a8b44745888203192d9aaa4b Issue-ID: OOM-1508 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2019-11-18[VID] Use mariadb galera common chartSylvain Desbureaux14-538/+52
Instead of using "own" galera chart, reuse chart placed in common part of OOM installation. Will ease move to common galera cluster (which is not done by this commit). Change-Id: I843c89ed4899055e9502268089d0e01f28fe37ae Issue-ID: VID-704 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-10-03New VID certificate valid until: Oct 03, 2020Ittay Stern3-0/+5
Issue-ID: VID-650 Change-Id: I5a844993619002eb0792e3ebb62788dc69562309 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-18Merge "HTTPS calls for sdc"Brian Freeman2-1/+3
2019-09-18HTTPS calls for sdck.kedron2-1/+3
Proper configuration for HTTPS in the sdc: -configured the livenessProbe/readinessProbe ports -changed mount path for dcea-be components -updated dcea component images -updated VID and Portal to talk with the SDC Change-Id: Ibdece8f095aaa79e326cb9c4510e8227a7856b15 Issue-ID: SDC-2548 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
2019-09-16Update VID values.yaml to version 5.0.3Ittay Stern1-1/+1
✔ El-Alto second wave 2.0 Issue-ID: VID-641 Change-Id: Ic35684d4c3198c0a415739f0727808f07afa241c Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-09-09Update VID values.yaml to version 5.0.2Ittay Stern1-1/+1
✔ El-Alto second wave Issue-ID: VID-521 Change-Id: Ib537e1629084cb0cf4c98c9a00a85d5242e76310 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-08-29Update VID values.yaml to version 5.0.1Ittay Stern1-1/+1
✔ El-Alto first wave Issue-ID: VID-521 Change-Id: Ic34065a28a47d07e408ad345b493404a055740c6 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-08-13Merge "moving certificates from vid image to mounted catalog"Brian Freeman4-0/+19
2019-08-09Merge "Update VID values.yaml to release 5.0.0"Brian Freeman1-1/+1
2019-08-08moving certificates from vid image to mounted catalogBartosz Gardziejewski4-0/+19
Issue-ID: VID-494 Change-Id: Ie1a3a9b362618d6b1821583bc6b3c39c28eb82c0 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
2019-08-06Merge "Update VID's k8s-mariadb-galera-centos image to latest"Brian Freeman1-1/+1
2019-08-06Close VID's plain text port 30238Ittay Stern2-10/+23
* Move robot's health-check to https * Expose 8080 on ClusterIP only Issue-ID: VID-496 Issue-ID: OJSI-119 Change-Id: I9c197684c124e131c84109a7c0cbd279abcd4890 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-08-06Increase vid-mariadb-galera replicaCount from 1 to 2Ittay Stern1-2/+1
Issue-ID: VID-358 Change-Id: Ic46c9d361e4df9ef218b8cb6ceb314d92810ced0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-08-06Update VID's k8s-mariadb-galera-centos image to latestIttay Stern1-1/+1
Issue-ID: VID-438 Change-Id: I0827c625406523b00770f32de7eac68971b093ea Signed-off-by: Ittay Stern <ittay.stern@att.com> (cherry picked from commit 48c03640eb77c6a8cc450232893428b96a58c177)
2019-08-04Update VID values.yaml to release 5.0.0Ittay Stern1-1/+1
✔ El-Alto early drop Issue-ID: VID-521 Change-Id: I14f3f1e2407a79016b9c4be777a4fe8e33ae06e0 Signed-off-by: Ittay Stern <ittay.stern@att.com>
2019-07-11Moving Helm Chart version for El AltoMike Elliott3-3/+3
Updating all helm chart versions to 5.0.0 for the El Alto release. Merge will be co-ordinated with the merge of a separate aai/oom patch. Please do not merge until this coordination has completed. Issue-ID: OOM-1980 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com> Change-Id: I31daaebeacea33565f13affd2fa28fb15fe948ba