summaryrefslogtreecommitdiffstats
path: root/kubernetes/helm
AgeCommit message (Collapse)AuthorFilesLines
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
2019-02-11Support version flag in helm deployMahendra Raghuwanshi1-5/+11
Change-Id: If6ad28c19986c38d724104dd75f860c67523f0c4 Issue-ID: OOM-1625 Signed-off-by: Mahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com>
2019-02-10Update Chart version for Dublin ReleaseMike Elliott2-2/+2
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-11-05Fix typosStanislav Chlebec1-2/+2
Change-Id: I0b6592a433f3fb29acbac0b97e90ef03e3ff958d Signed-off-by: Stanislav Chlebec <stanislav.chlebec@pantheon.tech> Issue-ID: AAF-582
2018-10-24Deploy plugin fixMike Elliott1-2/+7
There was an issue were the last subchart may not get deployed. Change-Id: Ifca7d4fc2bce6b5c56bf683feaac1286b9706297 Issue-ID: OOM-1478 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-10-24Fix deployment of sniro and sdncMike Elliott1-42/+23
There was a bug that prevented charts from being deployed when sniro-emulator was disabled. The '-' caused parsing issues which is now resolved. Change-Id: I0e35d3ef5f07dfd2d6dc2f2d60a1614dcf53a73c Issue-ID: OOM-1478 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-10-23fixing clusterIP service type errorsMandeep Khinda1-1/+1
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>
2018-10-18Fix deploy when subcharts contain same nameMike Elliott1-6/+10
Invalid subchart override file (internal) was being created for portal. This was caused by an incorrect match on subcharts that included "portal as a prefix or suffix in its name. Change-Id: I02d9564f573cf194940df7edc267079e2fb7eec2 Issue-ID: OOM-1344 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-10-15Update (un)deploy helm pluginsMike Elliott2-17/+100
- Added support for deploying and undeploying individual releases. - Added support for a --verbose flag to output details during a deploy. By default, verbose output will be supressed. - Fixed issues preventng some flags from propagating to helm commands. - Fixed issue where by --set <chartname>.enabled=false was not removing disabled Helm Charts. Change-Id: I8e407808a9946f316d035efd503316f96723223d Issue-ID: OOM-1344 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-09-25Updating charts to use common resource templateMandeep Khinda1-1/+1
Issue-ID: OOM-1145 Change-Id: I1510339a820802554b6e8b9a201619ef66be17a0 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-09-24Update Chart versions to 3.0Mike Elliott2-2/+2
All Chart versions and requirement dependencies have been updated to 3.0 for Casablanca release. Change-Id: Iea57e5da09ea8a8bac0a415b9a6196151cbea10b Issue-ID: OOM-1354 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-09-17Add helm plugins to (un)deploy onapMike Elliott4-0/+234
In the Casablanca release, ONAP has become very large. Every Helm chart contains some amount of external configuration. And unfortunately, there is a limit to the amount of configuration that can exist in a Helm chart. When ONAP is installed as a unbrella chart containing many subcharts (each with configuration), the amount of configuration that resides in configmaps in K8s causes the installation to fail. To work around this issue, it was necessary to introiduce a Helm plugin that will install/upgrade onap by deploying the parent chart and each subchart within its own Helm "release". This is the initial version of the plugins, which has been verified to work and unblock integration in the deployment of all of ONAP. Improvements will be made post M4 to further harden and enhance the plugins. Specifically, the plugins are not currently resilent to network issues which can cause some of the subcharts to fail to deploy. To work around this, the plugins should be run from within the same network as the k8s cluster you are deploying to. To install, copy plugins directory into your local ~/.helm/ folder. After which you should see 'deploy' and 'undeploy' if you do a 'helm' with no arguments. Change-Id: I7c586f1c75f7249d2d7c38b4088129162c96401d Issue-ID: OOM-1344 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-09-04Merge "Apache 2 License updation for common,helm,robot,so"Mandeep Khinda4-0/+32
2018-09-04Apache 2 License updation for common,helm,robot,sovaibhavjayas4-0/+32
Issue-ID: OOM-1356 Change-Id: I656f4ce722cd239933aa5a088308da5e9de7a7db Signed-off-by: vaibhavjayas <vaibhav.jayas@amdocs.com>
2018-08-30Apache2 License additiontoshrajbhardwaj1-1/+2
Issue-ID: OOM-1306 Change-Id: I1a617718006ee845d675fead74ce075c3390ac2f Signed-off-by: toshrajbhardwaj <toshrajbhardwaj@gmail.com>
2018-05-10Improve docker registry secret managementBorislavG1-1/+0
Change-Id: I2d1ff878c215becc9856af184eb0b11defd75e1d Issue-ID: OOM-1064 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-04-16Merge "Add service name standard template"Jerome Doucerain3-7/+13
2018-04-16Update readiness-check versionBorislavG1-1/+1
Readiness check version is not sinchronized in many pods This causing deployment failures. Issue-ID: OOM-936 Change-Id: Ieef91df17836adcdf24db536440d0a1624a50591 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-04-15Add service name standard templateMike Elliott3-7/+13
Updated helm starter to make use of a standard service name tpl. Change-Id: Ia387c2944da6d46238aa041db8542368b5c8d6a1 Issue-ID: OOM-906 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-04-04Merge "Remove global repository from onap chart"Jerome Doucerain1-0/+1
2018-04-03Add common repository templateMike Elliott1-1/+1
Introducing a common template to be used by all ONAP helm charts to ensure consistency in repository resolution. This will allow the default repository in a chart to be overridden with a global.repository value and then, if need be, have the global.repository value be overridden on a per chart basis using a repositoryOverride configuration value. In the future will look at trying to address 3rdparty repository resolution in a simular manor. Change-Id: I7d6a14ae39d60bf75f80e28a038cea5de31aa558 Issue-ID: OOM-845 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-04-03Remove global repository from onap chartMike Elliott1-0/+1
See description in linked issue id. Change-Id: I3bcec1214875cb318dc45162013aec8957443dc8 Issue-ID: OOM-845 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-03-28Add standardized helm chart for aafkj1-1/+1
AAF crashes due to "could not find or load main class org.onap.aaf.authz.service.AuthAPI" see https://jira.onap.org/browse/OOM-324 Issue-ID: OOM-732 Change-Id: I1c5f93d6e9a4d91224bfc0df2894ca7ab7d1de38 Signed-off-by: kj <keren.joseph@amdocs.com>
2018-03-22License addition in all yamlsvaibhav_16dec6-0/+84
Issue-ID: OOM-821 Change-Id: I627ac962afe8cd6bf2859a30a0e88f6c9ac89d34 Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
2018-03-20Add Helm Chart "template" StarterMike Elliott11-0/+287
Copy and rename onap-app dir to name of ONAP application being ported to standardized configuration format (2.0.0). Replace all <...> within the chart templates, Chart.yaml and values.yaml. MKhinda - updated after single namespace and refactor Change-Id: I9ef94839cb45a4698c1e125e3e0ca5243b929f13 Issue-ID: OOM-777 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>