aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/helm
AgeCommit message (Collapse)AuthorFilesLines
2024-06-10[COMMON] Disable components in default deployment in NewDelhiAndreas Geissler1-1/+1
Components are disabled from the default deployment, which - do not support the native Kafka interfaces (DMaaP MR removal) - dmaap/message-router - dcaegen2-services/dcae-datafile-collector - dcaegen2-services/dcae-heartbeat - dcaegen2-services/dcae-kpi-ms - dcaegen2-services/dcae-pm-mapper - dcaegen2-services/dcae-pmsh - dcaegen2-services/dcae-restconf-collector - dcaegen2-services/dcae-slice-analysis-ms - dcaegen2-services/dcae-snmptrap-collector - dcaegen2-services/dcae-son-handler - dcaegen2-services/dcae-tcagen2 - dcaegen2-services/dcae-ves-mapper - nbi - sdnc/dmaap-listener - are not supported by multiple releases - cli - holmes - oof - msb - vfc - vnfsdk - modelling - deactivation is agreed by TSC - change the order of deployment in helm deploy plugin Issue-ID: OOM-3301 Change-Id: I692117405473a2eb666304b421bdf7e4c4be06b3 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-04-13[COMMON] Remove hostPath entriesAndreas Geissler1-8/+2
As hostPath volumes violate Cluster policies, they are not allowed within pod definitions. In our case only the "etc/localtime" is mounted to get the timezone of the host, which is not required. Issue-ID: OOM-3287 Change-Id: I6c8c8ea4e982d7e95e73f5fed7fc07ed47ceaab7 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-03-20[COMMON] Make imagePullSecrets configurableAndreas Geissler1-2/+1
Currently in ONAP the imagePullSecrets is hardcoded to 'onap-docker-registry-key' which is created by the repository-wrapper component. With this change the secrets can be configured via setting global.imagePullSecrets and optionally per image if it is configured as map (image.pullSecrets) Issue-ID: OOM-3284 Change-Id: I8644f9b46043b6014219c42928e057b149df43a4 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-02-28[COMMON] Harmonize resource settingsAndreas Geissler1-4/+4
Update all resource settings to the kubernetes recommended normalized form. Fix ReadinessCheck resource limits. Issue-ID: OOM-3273 Change-Id: Ie10903b801e4dc1689bcec092162d711a431a7a6 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-11-10[CASSANDRA] Make stargate and reaper deployment optionalAndreas Geissler1-2/+2
As Reaper startup is failing in many cases the deployment it should be possible to disable it to stabilize the gating Change the delay handling in the deploy plugin. Issue-ID: OOM-3246 Change-Id: Ibf435d30551aacc213d7c9d38bce72198f4f4b3d Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-09-26[COMMON] Prioritize the deployment of wrappersAndreas Geissler1-1/+1
Install the roles-wrapper and repository-wrapper before all other ONAP components to speed up the installation and reduce timeout failures Issue-ID: OOM-3243 Change-Id: I712a324c521a137e6f19803f86c5b3b78cc42e4b Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-06-29[COMMON] Bump ONAP versionAndreas Geissler1-3/+3
Update chart versions to 13.0.0 for Montreal Issue-ID: OOM-3173 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Ie53fd021f01e459c464e44f4459a73ba0b00c172
2023-05-24[COMMON] Remove not supported componentsAndreas Geissler1-2/+2
Remove the following component charts: - AAF - CONSUL - CONTRIB - PORTAL - LOG - SNIRO-EMULATOR correct the helm deploy plugin Issue-ID: OOM-3074 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I93cd32d9a9dabbc4cdeda63d8c7b669a79cdea8a
2023-03-03[COMMON] Fix resources indentmiroslavmasaryk1-2/+1
Fix of resources template indent and therefore resources in components Issue-ID: OOM-3104 Signed-off-by: miroslavmasaryk <miroslav.masaryk@telekom.com> Change-Id: I825a3860db00cae4bb80b2aa2d82ac1a42b33124
2022-11-10[COMMON] Bump ONAP versionAndreas Geissler1-3/+3
Update chart versions 12.0.0 for London Issue-ID: OOM-3046 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Ic196235ff4f6ae14a7ecad799bd75a9666b2594a
2022-06-24[COMMON] Bump ONAP versionAndreas Geissler1-3/+3
Use version 11.0.0 for Kohn Issue-ID: OOM-2971 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Icc0e0839fc6def2035383b5fa4c9153fc15fafda
2022-05-15[COMMON] Fix more and more array bashisms step 2guillaume.lambert1-13/+13
pointed out by checkbashisms. Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: I1712fd583a454cbd7599c53a8f0542c71a773ba5
2022-05-06[COMMON] Fix some k8s plug deploy.sh bashismsguillaume.lambert1-2/+3
These bashisms were added recently with a few fixes. Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: I33b77a1db871d6628187692e260265d9c754103f
2022-05-03[COMMON] Fix more and more array bashisms step 1guillaume.lambert1-8/+17
pointed out by checkbashisms. Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: I8c78bb6617c8f0fdaed9933c1c5897598db7428a
2022-04-07[DEPLOY] Use HELM_NS for kubectl commandsefiacor1-5/+7
Use HELM_NAMESPACE instead of RELEASE for kubectl Increase timeout for strimzi deploy Issue-ID: OOM-2959 Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ie6d09ade07f2f229972cfa8059f58312b9d6ee20
2022-04-05[DEPLOY] Improve deploy.shefiacor1-42/+72
Add logic to deploy required components up front Fix storage deleteClaim on kafka Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I6dd820a40691ba3c7e3a93510d0e5eaa9f356f9b Issue-ID: OOM-2954
2022-04-04[DEPLOY] Bug fix for positional arg in deploy.shefiacor1-1/+1
Bug fix for positional arg in deploy.sh Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ic8de9baf9236e65e53a0d2d9ba084208a3212772 Issue-ID: OOM-2955
2022-03-31[STRIMZI] Adding strimzi projectefiacor1-0/+21
Deploy a 2 node replica strimzi kafka cluster Reduce MR kafka to 1 replica Add kafka ready check to cps-temporal Update readthedocs with strimzi prerequisite Modify deploy.sh to deploy the strimzi kafka in advance Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I87e54ad69a174174cb86f096c07d58878e3ab14e Issue-ID: DMAAP-1621
2021-12-16[COMMON] Fix more array bashismsguillaume.lambert1-5/+8
pointed out by checkbashisms. Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: Ia22b064a6bda5f7e2cb50247bc3c47a8b162466c
2021-12-07[GLOBAL] Migrate to helm v3efiacor3-42/+20
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-10-15[COMMON] Bump ONAP versionSylvain Desbureaux2-3/+5
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-09-26[COMMON] Add and run pre-commit linters via toxguillaume.lambert2-4/+4
- 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-20[COMMON] Replace tabs by 4 ws in shell scriptsguillaume.lambert1-8/+8
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-09[COMMON] Fix deploy.sh/undeploy.sh scriptsguillaume.lambert2-4/+4
- fix bugs introduced after Honolulu - use exit code 1 rather than 0 when scripts are not called properly Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: If4bff02bcf8c26b924ce6d5281d6ad35f3defa40
2021-09-06[COMMON] Fix ${foo:3[:1]} bashismsGuillaume Lambert2-5/+5
pointed out by checkbashisms Issue-ID: OOM-264 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Ief3b2595a55f0e7a0a2e7ab05857848c99ce42f9
2021-08-28[COMMON] Fix non-breaking spaces in shell scriptsguillaume.lambert1-1/+1
Non-breaking spaces (0xa0) are interpreted differently than spaces, what makes shell scripts debugging very tricky. Issue-ID: OOM-264 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: Ica60bdc1274ae6f949c1df1cbef0836abd249654
2021-06-24[COMMON] Fix some bashismsGuillaume Lambert2-2/+2
pointed out by checkbashisms: - variable name HOSTNAME - source instead of . - sleep with suffix - string increments And migrate a few shebangs to /bin/sh Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: I653c14454a3232b5a349ca1564ece53ddc94289d
2021-06-23[COMMON] Revert "[COMMON] Fix a few bashisms"Krzysztof Opasiak2-2/+2
This reverts commit 62178a49cc9e4088019d426636657d9f2980d242. This commit introduced regression on portal db config job which is now unable to start: /usr/local/bin/docker-entrypoint.sh: line 114: syntax error near unexpected token `(' Issue-ID: OOM-1 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I3cb72cd7625b180b364b713fe942d5956736ebef
2021-06-15[COMMON] Fix a few bashismsGuillaume Lambert2-2/+2
pointed out by checkbashisms: - variable name HOSTNAME - source instead of . - variable increments - sleep with suffix And migrate a few shebangs to /bin/sh Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: I82981bcff17e88cf824935b841ce37a585ddde00
2021-05-17[COMMON] Fix condition bracket bashisms - step 1Guillaume Lambert2-28/+28
pointed out by checkbashisms $ mycmd=$(tox -e checkbashisms | grep '(\[\[ foo \]\] should be \[ foo \])' | sed -e "s@^[^.]*\(.[^ ]*\) line \([0-9]*\) .*@sed -i '\2s/\\\[\\\[\\\( [^]]*\\\)\\\]\\\]/[\\\1]/g' \1;@") $ eval $mycmd plus fix manually quoting hells induced and bash specific regex and multi-conditions Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Ie7ca5b71938fae22c200b7fead418618160fbe19
2021-05-11[COMMON] Fix arithmetic loop bashismsGuillaume Lambert2-3/+4
pointed out by checkbashisms. Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: I85fd7d9beca75dc729de247fa67a20b801748c19
2021-05-10[COMMON] Fix &> and <<< bashismsGuillaume Lambert1-5/+5
pointed out by checkbashisms. Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: I958443b2e4b4f6391a74f957314d7d3fcf321cd0
2021-05-06[COMMON] Fix trailing blanks in shell scriptsGuillaume Lambert2-3/+3
$ find . -not -path '*/\.*' -name *.sh -exec sed -i 's/ *$//g' {} + Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Id813526ec21e9c39daba697448bd6dea0b4e4d70
2021-04-16[COMMON] Fix condition equality bashismsGuillaume Lambert1-16/+16
pointed out by checkbashisms. $ mycmd=$(tox -e checkbashisms | grep "(should be 'b = a')" | sed -e "s@^[^.]*\(.[^ ]*\) line \([0-9]*\) .*@sed -i -e '\2s/==/=/g' \1;@") $ eval $mycmd Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: I9032130bc4717e111de11a73187c2f1052376e45
2021-03-24[DOC][COMMON] Prepare Honolulu releaseSylvain Desbureaux2-4/+4
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-11[GENERAL] Fix failed chart list reporting in deploy pluginBartek Grzybowski1-1/+5
Helm's v3 'list' subcommand syntax has changed and without [-A | --all-namespaces] flag it's output will contain only charts from default namespace, not the one ONAP was deployed in. Hence if any chart fail to deploy the output of "helm ls" would be still empty without --all-namespaces flag. Change-Id: I425a6ac8823b69e64f2f68f4475c51691239ad33 Issue-ID: OOM-2677 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2020-11-30[COMMON][DOC] Bump version GuilinSylvain Desbureaux2-3/+3
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[HELM] Uses new tpls for repos / imagesSylvain Desbureaux3-7/+5
This commit makes Helm example 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: I1561fa6626687cf841c278231f2caab9cd99d46b
2020-10-20[HELM] Update helm deploy pluginJakub Latusek1-4/+15
Change cache path to one used by helm3 plugins Remove --purge flag for helm3 Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562 Change-Id: Ic33a1a5e2149478c8451c38a87f7bc1d32f00d55
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-05-15deploy.sh does not work on Mac os x because untar directory is created ↵yoonsoonjahng1-3/+3
before helm fetch Issue-ID: OOM-2407 Signed-off-by: yoonsoonjahng <yoonsoon.jahng@yoppworks.com> Change-Id: I20e6169bd8c7794db4c6972bfd7bca4f0bf6a910 Change-Id: I01f8c26539e6ceb828a73458d74a8185e9a5081f Signed-off-by: yoonsoonjahng <yoonsoon.jahng@yoppworks.com>
2020-04-02Bump chart versionSylvain Desbureaux2-2/+2
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 Opasiak2-4/+4
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-10-10Fix deploy on failure of subprojectMike Elliott1-5/+4
Issue-ID: OOM-2114 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com> Change-Id: I8fd18f0e58cc680000a46299c8997e51b1f2dc8e
2019-09-04delay flag in deploy.shAkansha Dua1-0/+10
Issue-ID: OOM-1997 Signed-off-by: Akansha Dua <akansha.dua@amdocs.com> Change-Id: I3a8b117c81219f75231bec6b61c99fe2dbcd0485
2019-07-11Moving Helm Chart version for El AltoMike Elliott2-2/+2
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-06-11Increase helm deploy perf by reducing helm lsJoey Sullivan1-1/+4
Helm ls takes a lot of time to execute. This code change makes sure it only executes once per helm deploy instead of once per helm release. Issue-ID: OOM-1923 Signed-off-by: Joey Sullivan <joey.sullivan@amdocs.com> Change-Id: I6337c97380d9f583b33f55a2be1d41ac7ce350c8
2019-04-17Deploy plugin bugfix.Oleg Mitsura1-1/+1
Issue-ID: CCSDK-1144 Change-Id: Iaa59d8e37fe154af5205a80275d10c032b11efbd Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-02-28OOM-1664 add annotation last-applied-configurationsushil masal1-0/+19
Issue-ID: OOM-1664 Change-Id: I36cbe306fbe9b391d4c0b1b5cd6816e02bc1999c Signed-off-by: sushil masal <sushil.masal@amdocs.com>
2019-02-20Merge "Support version flag in helm deploy"Mike Elliott1-5/+11