summaryrefslogtreecommitdiffstats
path: root/kubernetes/modeling
AgeCommit message (Collapse)AuthorFilesLines
2021-11-16[MODELING] Use log templateMaciej Wereski5-25/+11
Ability to turn off filebeat is needed as it is being deprecated. To achieve that existing log helper template is used. Issue-ID: OOM-1 Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com> Change-Id: Ifb21cc0a10e1ac2770e6835ad883b5d0f0f1735d
2021-10-15[COMMON] Bump ONAP versionSylvain Desbureaux4-9/+13
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-11[MODELING] Update chart with service accountfarida azmy3-1/+10
Add service account to requirements, values and deployment/statefulset Issue-ID: OOM-2859 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Change-Id: I86de438d6d3d9fb3b1db8e0ef90872aee0dfbab8
2021-09-26[COMMON] Add and run pre-commit linters via toxguillaume.lambert1-2/+2
- 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-08-31[MODELING] Update modeling/etsicatalog imagedyh1-1/+1
Update modeling/etsicatalog image to 1.0.11 Change-Id: I1814097206fb12ac61eb2e58dc09ae31268d7f34 Issue-ID: MODELING-546 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
2021-06-21[COMMON] Add missing .helmignore files and "components/" entriesandreasgeissler1-0/+22
In order to save some space Issue-ID: OOM-2763 Signed-off-by: andreasgeissler <andreas-geissler@telekom.de> Change-Id: Ibbd8d5f713307ada76a0d04ede57d3c7696bcfe5
2021-03-24[DOC][COMMON] Prepare Honolulu releaseSylvain Desbureaux4-8/+8
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-04[MODELING] Update modeling/etsicatalog imagedyh1-1/+1
Update modeling/etsicatalog image to 1.0.10 Issue-ID: MODELING-492 Change-Id: I0e46408ecee550064b0783aa2c807a223d3530ef Signed-off-by: dyh <dengyuanhong@chinamobile.com>
2020-12-14[COMMON][MARIADB] Upgrade Mariadb DB galera versionSylvain Desbureaux1-7/+10
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-11-30[COMMON][DOC] Bump version GuilinSylvain Desbureaux4-8/+8
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-23[MODELING] Uses new tpls for repos / imagesSylvain Desbureaux16-43/+106
This commit makes Modeling chart 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: I64030918eb794a9a710b8286b9608aec02eabd1e
2020-11-04[Modeling] Update image of etsicatalogdyh1-1/+1
Change-Id: Ib697ce6b9e1e7f2abb819bc718b1cb855b0e7fdb Issue-ID: MODELING-448 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
2020-10-26[MODELING]Add environment variables in OOM chartdengyh2-4/+18
Issue-ID: MODELING-441 Change-Id: Ibcabdb9db6f9d0695f2c338a9f7d52b42f6d0723 Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
2020-10-21[MODELING] change comment styleJakub Latusek4-2/+10
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: I4f98c890d72ab3372b9cc87e8b7cd46b885133df Issue-ID: OOM-2562
2020-10-16Update makefiles to use specific helm versionJakub Latusek1-1/+2
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-09[MODELING] Refactor Modeling environment variablesdengyh2-4/+5
Issue-ID: MODELING-437 Change-Id: Ie8eba9f0d3e25787b0160e67d19a7d9f079dc717 Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
2020-09-30Merge "[MODELING]Mysql DB migrate to MariaDB Galera Cluster"Sylvain Desbureaux4-30/+69
2020-09-28[MODELING] Change yaml comment to helm commentJakub Latusek1-1/+2
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562 Change-Id: I206cb464a8e0649f4381f6c515f4d47dae03b0e9
2020-09-09[MODELING]Mysql DB migrate to MariaDB Galera Clusterdengyh4-30/+69
Issue-ID: MODELING-412 Change-Id: I7d42912a9cc1f200cc1ce8916991e6e3ab5e010b Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
2020-09-04[GENERAL] Use readiness container v3.0.1Sylvain Desbureaux2-4/+3
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-07-23[MODELING] Make MODELING compatible with Kubernetes v1.17Grzegorz-Lis1-1/+4
Issue-ID: OOM-2457 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: I9512abf462c8feef39cea3e3fa95794f0f0b223c
2020-07-15[MODELING]Modify the owner of static directory to onap instead of rootdengyh2-0/+11
Issue-ID: MODELING-390 Change-Id: I0ee220f9a86765af7c1b7b1292a338ba13ae8988 Signed-off-by: dengyh <dengyuanhong@chinamobile.com>
2020-05-13update release version of modeling-etsicatalogdyh1-1/+1
Issue-ID: MODELING-349 Change-Id: I52bb7f5f560fa3af6ece968b9c1e8ebc5331b813 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
2020-04-21Register API to MSB via HTTPSdyh3-1/+11
Issue-ID: MODELING-291 Change-Id: Ic1472b5263768bdfcae333c75bb37e43d776b538 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
2020-04-02Bump chart versionSylvain Desbureaux4-5/+5
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-31update release version of modeling-etsicatalogdyh1-1/+1
Change-Id: I24bc6a57b4d67883f6d26d2112b9573fc632b58b Issue-ID: MODELING-349 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
2020-03-25[MODELING] Use faster version of common secret templateKrzysztof Opasiak2-2/+2
Issue-ID: OOM-2051 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I78da9c8786642531ce57475869eaeb6c21fd0376
2020-02-20update msbPortdyh1-1/+1
Change-Id: Iff0251e5ccd432985d9b25ea80f004d7e772a652 Issue-ID: MODELING-317 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
2020-02-05Removed use of vfc-redis from etsicatalog componenthongyuzhao2-4/+0
Change-Id: Ie00783e0e55136aa40a8c3cf266ebc486240e308 Issue-ID: MODELING-307 Signed-off-by: hongyuzhao <zhao.hongyu@zte.com.cn>
2020-02-02[Modeling] Use common secret template for mariadb root passwordKrzysztof Opasiak3-16/+37
Remove hardcoded root password from the modeling chart. Because of huge number of issues in modeling docker image (see onap-discuss for details) I don't want to touch it. That's why I just made an awful hack to concatenate DB username and password before the entrypoint script. Please keep in mind that this eliminates only hardcoded root password but there is plenty of other credentials that are boiled into container image (DB, SDC, VCF-REDIS(!) etc). Issue-ID: OOM-2286 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Id85a03ec7f55885b606179d10e8b6528c6cb6947
2020-02-01[Modeling] Move mariadb-galera to etsicatalogKrzysztof Opasiak6-39/+74
etsicatalog is the only component inside modeling which use this DB thus there is no point to keep it outside of this component. Passwords and other bad stuff is left intentionally as this is just a first patch for this transition. Issue-ID: OOM-2286 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I4f592b736a86c7acf9ee43b0f6e136e5f1506847
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak5-9/+9
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-09[Modeling] Use global storage templates for PVCSylvain Desbureaux2-12/+6
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: I337e760ea71ec57c4f593e068c3cf6ea548a3cfc Issue-ID: OOM-1227 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-10-07Fixing Basic Modeling genericparser API Health Check Failingafenner1-3/+3
Change-Id: If2cf110e0387acaff61d996435efdedf41561b60 Issue-ID: OOM-2126 Signed-off-by: afenner <andrew.fenner@est.tech>
2019-10-02update OOM configuration for modeling/etsicatalogdyh9-16/+28
Change-Id: Ie6f18487961bc7de723f5dc69e37abfd5006f550 Issue-ID: MODELING-222 Signed-off-by: dyh <dengyuanhong@chinamobile.com>
2019-09-02Move Modeling Storage to RWOSylvain Desbureaux1-1/+1
Today when deploying Policy 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). Modeling PVC for is used only for one POD. Thus we don't need RWX. Change-Id: Ic4b8f5a336f2b9edfdf25ef3cc549b389f9b6f65 Issue-ID: MODELING-213 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-07-11Moving Helm Chart version for El AltoMike Elliott3-4/+4
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
2019-05-24update oom versionyangyan1-1/+1
Change-Id: Ic723624865b200ea025602aee0ec60efb4b9a09f Issue-ID: VFC-1373 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
2019-05-10Add modeling parser chartyangyanyj14-0/+664
Issue-ID: MODELING-165 Change-Id: I46419561fdc3f1b4fb7a7bcf19185ac6cbd99c1d Signed-off-by: yangyanyj <yangyanyj@chinamobile.com>