summaryrefslogtreecommitdiffstats
path: root/kubernetes/msb
AgeCommit message (Collapse)AuthorFilesLines
2022-06-24[COMMON] Bump ONAP versionAndreas Geissler6-29/+29
Use version 11.0.0 for Kohn Issue-ID: OOM-2971 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Icc0e0839fc6def2035383b5fa4c9153fc15fafda
2022-03-24[MSB] Update msb gateway docker versionjinquanni2-2/+2
Fixed the some security bug Issue-ID: MSB-654 Signed-off-by: jinquanni <ni.jinquan@zte.com.cn> Change-Id: Iaead5b50f9c2ce2ff9840d79d65e90027abf61e8
2021-12-07[GLOBAL] Migrate to helm v3efiacor14-176/+104
Move all Chart.yaml to use apiVersion: 2 Move dependencies from requirements.yaml to Chart.yaml Changes to all makeFiles Changes to helm deploy plugin Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I03c5290eee9e40f76eacbf171e774204cf5fb1c0 Issue-ID: OOM-2845
2021-11-18[MSB] Use log templateMaciej Wereski8-64/+30
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: I70b6294e8a3d16d4086ac894617d5338094bed0f
2021-10-27[MSB] Update chart with service accountfarida azmy13-4/+41
Add service account to requirements, values and deployment/statefulset Issue-ID: OOM-2861 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Change-Id: I6670bde473aef92399acd35b1efbfd4743438ef6
2021-10-15[COMMON] Bump ONAP versionSylvain Desbureaux12-27/+36
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[MSB] Update msb gateway docker versionjinquanni2-2/+2
Fixed MSB-593 packages update in direct dependencises for Istanbul. Issue-ID: MSB-610 Signed-off-by: jinquanni <ni.jinquan@zte.com.cn> Change-Id: I6e2e951fbee4fc70dc4d3f0be70f139a91732add
2021-10-04Merge "[COMMON] Add and run pre-commit linters via tox"Sylvain Desbureaux3-6/+6
2021-09-27Merge "[MSB]Update MSB docker images version"Sylvain Desbureaux3-3/+3
2021-09-26[COMMON] Add and run pre-commit linters via toxguillaume.lambert3-6/+6
- 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-09-23[MSB]Update MSB docker images versionjinquanni3-3/+3
Updated the version of MSB images to 1.3.0 Issue-ID: MSB-610 Signed-off-by: jinquanni <ni.jinquan@zte.com.cn> Change-Id: I6265992e72ad934dbe6d7c0130b5d2ac86e5761c
2021-09-22[COMMON] Enforce checkbashisms tox profileGuillaume Lambert1-9/+4
- 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-09-21Merge "[COMMON] Replace tabs by 4 ws in shell scripts"Sylvain Desbureaux1-1/+1
2021-09-20[COMMON] Replace tabs by 4 ws in shell scriptsguillaume.lambert1-1/+1
with the following command $ find . -not -path '*/\.*' -name *.sh -exec sed -i 's/\t/ /g' {} + then realign manually what deserves it and in particular, unindent some EOF scripting tags so they do not trigger errors. Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: Ibfa463ec8083d5a39de18a54d9c1d8746710fe03
2021-09-20[MSB]Update MSB docker images versionjinquanni3-3/+3
Updated the version of MSB's images. Issue-ID: MSB-537 Signed-off-by: jinquanni <ni.jinquan@zte.com.cn> Change-Id: I034005e3033640643d83f858c31020d18ce1787f
2021-09-06[COMMON] Fix ${foo:3[:1]} bashismsGuillaume Lambert1-1/+1
pointed out by checkbashisms Issue-ID: OOM-264 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Ief3b2595a55f0e7a0a2e7ab05857848c99ce42f9
2021-06-21[COMMON] Add missing .helmignore files and "components/" entriesandreasgeissler1-0/+1
In order to save some space Issue-ID: OOM-2763 Signed-off-by: andreasgeissler <andreas-geissler@telekom.de> Change-Id: Ibbd8d5f713307ada76a0d04ede57d3c7696bcfe5
2021-05-02[MSB] Simplify cert retrieval scriptSylvain Desbureaux2-42/+24
As retrieving values is now done via a generic script, let's clean a little bit cert retrieval in order to remove unneeded part. Issue-ID: OOM-2688 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ib53df46942e96a9ed9fb60a423eb4307f0b29988
2021-03-24[DOC][COMMON] Prepare Honolulu releaseSylvain Desbureaux12-26/+26
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-02-16[MSB] Use certInitializer for MSBSylvain Desbureaux18-177/+186
MSB is currently using an hardcoded certificate. In order to follow SECOMMON requirements, let's use a freshly generated certificate instead Issue-ID: MSB-521 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I157e44a6e30391c36c0142acfa08604c37b79cc4
2020-12-09[MSB] Change deprecated apiJakub Latusek1-1/+1
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: I3d8c671fbe93db47232b57b9c8f2d6935a599b5f Issue-ID: OOM-2562
2020-11-30[MSB] Uses new tpls for repos / imagesSylvain Desbureaux52-40/+164
This commit makes MSB 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: I97de4e13d077a6b7139d98dcd855f93645489035
2020-11-30[COMMON][DOC] Bump version GuilinSylvain Desbureaux12-12/+12
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[MSB] Make consul run as non-rootKrzysztof Opasiak4-0/+149
Start whole consul container as non-root and ensure that both dumb-init and consul are able to start and run as non-root. Issue-ID: REQ-362 Change-Id: If5a737953122cc6cd22b8d43ac603b40f4b22727 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2020-11-20[GENERIC] move from registry.hub.docker.com to docker.ioSylvain Desbureaux1-1/+1
`registry.hub.docker.com` needs authentication now, in contrary to previous behavior. As OOM deployments is unauthenticated when using docker hib repository, all OOM deployments is broken. `docker.io` seems to be still OK with unauthenticated requests so let's move to this endpoint. Issue-ID: OOM-2636 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Iea81b882d347124af22b0a9c408081706b1c6c6d
2020-10-21[MSB] change comment styleJakub Latusek15-0/+30
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: Ie0801f4fb81d21842bfd49a63574952254eaa47f Issue-ID: OOM-2562
2020-09-08[MSB] Add logs to STDOUTDominik Mizyn3-0/+21
This commit add STDOUT appender to root level logging. Issue-ID: OOM-2514 Signed-off-by: Dominik Mizyn <d.mizyn@partner.samsung.com> Change-Id: I4b789abca452832d80ac77fdeb55bef83270ea17
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-07-23[MSB] Make MSB compatible with Kubernetes v1.17Grzegorz-Lis5-5/+20
Issue-ID: OOM-2458 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: Iad18811736fca7a417714cc8b0885b12357846ad
2020-05-22Set certificate SAN as msb-iagHuabing Zhao4-18/+67
Also add helm certificate to be used within deployments. Issue-ID: MSB-467 Signed-off-by: Huabing Zhao <zhao.huabing@zte.com.cn> Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I1dabc31275edebd4a01be658e462a7d45497ce46
2020-05-05Merge "Release RC1"Krzysztof Opasiak5-4/+48
2020-05-04Release RC1Huabing Zhao5-4/+48
This change addresses two issues: MSB-467: Certificate in MSB is set to use *.zte.com.cn MSB-462: Pods still run as root These two issue have been fixed in docker images, but also need to be reflected in K8s manifest. Issue-ID: MSB-467 Signed-off-by: Huabing Zhao <zhao.huabing@zte.com.cn> Change-Id: Id67e521b3051e9651051083f05d9e54973803030
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-08Release MSB discovery 1.2.6 dockerHuabing Zhao3-3/+3
Issue-ID: MSB-456 Signed-off-by: Huabing Zhao <zhao.huabing@zte.com.cn> Change-Id: I0c2df32ead7254d0b243d5120afed66e78785045
2020-04-02Bump chart versionSylvain Desbureaux12-12/+12
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-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak11-23/+23
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-06Add ingress controler support to MSBLucjan Bryndza8-0/+28
Issue-ID: OOM-2181 Change-Id: I3a419138e4e553719f7f9f9b958d448f6c5cea24 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2019-11-20Merge "Remove plain HTTP endpoint 30281"Sylvain Desbureaux1-1/+1
2019-11-20Merge "Remove plain HTTP endpoint 30285"Sylvain Desbureaux1-1/+1
2019-11-20Merge "Remove plain HTTP nodeport 30282"Sylvain Desbureaux2-4/+0
2019-11-19Remove plain HTTP endpoint 30281Huabing Zhao1-1/+1
Issue-ID: OJSI-140 Signed-off-by: Huabing Zhao <zhao.huabing@zte.com.cn> Change-Id: I84f3272cbf2307a8015259842f30cc4e1b77c552
2019-11-19Remove plain HTTP endpoint 30285Huabing Zhao1-1/+1
Issue-ID: OJSI-186 Signed-off-by: Huabing Zhao <zhao.huabing@zte.com.cn> Change-Id: I2e6e422e500ab84c48f6d6fa6acefc8feb826783
2019-11-19Remove plain HTTP nodeport 30282Huabing Zhao2-4/+0
Issue-ID: OJSI-141 Signed-off-by: Huabing Zhao <zhao.huabing@zte.com.cn> Change-Id: I9d510ca293b7e43eecddd75fbfaa0e5acf74077e
2019-11-19Remove plain HTTP endpoint 30280 from NodeportHuabing Zhao1-3/+0
Issue-ID: OJSI-139 Signed-off-by: Huabing Zhao <zhao.huabing@zte.com.cn> Change-Id: I643c4c7a51b05b462d280c903363d2372d3664db
2019-09-16Update MSB docker image version for E releaseHuabing Zhao3-3/+3
Issue-ID: MSB-380 Change-Id: I63ebface924066f6ff828025e423fb2ddcd0482d Signed-off-by: Huabing Zhao <zhao.huabing@zte.com.cn>
2019-07-11Moving Helm Chart version for El AltoMike Elliott12-12/+12
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-14Update MSB docker images version to Dublin releaseHuabing Zhao3-3/+3
Issue-ID: MSB-334 Change-Id: I9f07333940e9b370a00b8798500628f44db4bad7 Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
2019-03-19Update MSB docker imagesHuabing Zhao4-8/+8
Update consul version to 1.4.3 Update discovery version to 1.2.3 Update api gateway version to 1.2.4 Issue-ID: MSB-325, MSB-326 Change-Id: I51bdbf783cb7a095f32f26cf738f959655ec44f3 Signed-off-by: Huabing Zhao <zhaohuabing@gmail.com>
2019-02-10Update Chart version for Dublin ReleaseMike Elliott12-12/+12
All charts are being bumped from 3.0.0 to 4.0.0 for the Dublin release. In addition the requirement.yaml files have been updated to allow for chart versions that include timestamp suffix. A following on patch will take care of changes to the OOM Makefiles to support injection of the timestamp versions. Change-Id: Ie03d86fad2027e975e8b9106e3a828e4335037cb Issue-ID: OOM-1642 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-10-23fixing clusterIP service type errorsMandeep Khinda4-4/+4
If you try and change the service type from a nodeport to a cluster IP things break. We never really exercise this code path in testing but if you want to experiment with a totally internal network environment you need to be able to turn off node ports. Issue-ID: OOM-1475 Change-Id: I1a0f4b0a4c390f3353e1611b6002b93e54bb5044 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>