aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap/components/dmaap-dr-prov
AgeCommit message (Collapse)AuthorFilesLines
2024-04-13[COMMON] Remove hostPath entriesAndreas Geissler1-6/+0
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-8/+8
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>
2024-01-11[MARIADB][SO] Connect MariaDB Galera via master nodeAndreas Geissler1-0/+2
To avoid "lock" situations all clients of the mariadb-galera cluster should use the "primary" service, which connects to the master node. This service is provided by the mariadb-operator. Additionally for SO the bugfix for "local" DB configuration is fixed. Additionally missing readiness checks added to so-cnfm-lcm and so-etsi-nfvo-ns-lcm to wait for the DB job to complete Issue-ID: OOM-3261 Issue-ID: OOM-2697 Change-Id: I3d44f8b6d84d112c0271bfccebc4fa533c4e6aff Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-10-24[MARIADB] Make the MariaDB service Operator awareAndreas Geissler1-1/+1
To support both Operator and non-operator deployments the service name should be either mariadb-galera-primary or mariadb-galera Issue-ID: OOM-3236 Change-Id: Ic7721e08ec6a257b537024cb4a4751d6155ee28c Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-10-18[OOM] Fixing k8s cpu limitsvladimir turok1-2/+2
Adding specific cpu limits for all oom components Issue-ID: OOM-3241 Change-Id: I0bbd973d91d11dbb0ffa5848f7c1ed5ebb5f54ba Signed-off-by: vladimir turok <vladimir.turok@t-systems.com>
2023-09-29[MARIADB][COMMON] Add support for mariadb-operatorAndreas Geissler1-1/+4
Add template functions for the mariadb-operator resources and update the mariadb-galera chart to support them Change the flag to "useOperator" in cassandra to the global setup and additional labels for cassandra resources Changed Policy DB users to support the new mariadb User and fixed db.sh script to wait for the DB user creation Use the new readiness image 5.0.1 with the "app-name" option Change the MariaDB-Galera Service to the "primary" to avoid Deadlocks Fix previous SDNC patch (https://gerrit.onap.org/r/c/oom/+/135308) and temporary disable MariaDB for SDNR, as it is not compatible to MariaDB 11 Issue-ID: OOM-3236 Change-Id: Ie63fcc9c6d5fa802d38c592b449e7ff8553c2ab9 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-08-18[DMAAP] Update datarouter image versionsJack Lucas1-1/+1
Update to use container with shortened "X-DMAAP-DR-ON-BEHALF-OF" name for datarouter provisioning. Issue-ID: DMAAP-1893 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: I21b043b8709000d2a30ea4e07e3fd0f8693a393c
2023-08-08Merge "[OOM] Fixing k8s ServiceAccounts"Micha? Jagie??o1-0/+2
2023-08-07[OOM] Fixing k8s ServiceAccountsvladimir turok1-0/+2
Adding service account for the jobs Cleanup MSB, ES and other common charts from AAF dependencies Issue-ID: OOM-3199 Issue-ID: OOM-3114 Issue-ID: OOM-3116 Change-Id: I55bf80876c9fb3b110e538ed1a5504e0dc1d4e1a Signed-off-by: vladimir turok <vladimir.turok@t-systems.com>
2023-07-26[DMAAP] Introduce drprov-clientJack Lucas1-1/+1
Introduce the drprov-client (replaces dbc-client) and use it to provision data router feeds and subscriptions for DCAE datafile collector and pm-mapper. - Update the common dmaap provisioning template to use drprov-client instead of dbc-client. - Add drprov-client image to the repository generator. - Update the dcaegen2-services-common configMap template to generate JSON files suitable for provisioning data router directly. - Update the dcaegen2-services-common deployment template to use drprov-client as an init container instead of dbc-client. - Update dcae-datafile-collector and pm-mapper values.yaml to format feed and subscription data properly for drprov-client. - Update versions for datarouter-node and datarouter-prov - Update dependencies for DCAE datafile-collector and pm-mapper, which no longer depend on DMAAP bus controller. Issue-ID: DMAAP-1893 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: Ia090365428362ff6aa94cfb4096ee4c6b554b480
2023-07-14[OOM] Fixing k8s resources and limitsAndreas Geissler1-6/+6
This fix is adjusting OOM helm charts components resources limits and requests Issue-ID: OOM-3199 Signed-off-by: Vladimir Turok <vladimir.turok@t-systems.com> Change-Id: I56aeba925cda4984277ac7bbf23cfd158263d30f
2023-06-29[COMMON] Bump ONAP versionAndreas Geissler1-7/+7
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-04-25[DMAAP] Update images for Londonefiacor1-1/+1
Update DMaaP images for L Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ibb7c802c292bfc5d4295828ef4adeb6d4db19a87 Issue-ID: DMAAP-1878
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
2023-01-31[DMAAP] Remove AAF dependencyefiacor10-352/+92
Remove DMaaP NodePorts Update dmaap-bc postgres setup and dbc-client image used by DCAE Use the http port of the dbcClient in the dmaapProvisioning job Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ie4888b58b6f7e1405ed67625900da89e58b5cb79 Issue-ID: DMAAP-1573
2022-11-10[COMMON] Bump ONAP versionAndreas Geissler1-7/+7
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-10-21[COMMON] Harmonize all component ingress configAndreas Geissler1-1/+2
Harmonize all ingress definitions using schema: <component>-<application>-<api|ui> and adding plain_port attributes to support SM Issue-ID: OOM-3000 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I8212774ba194758d7cf23bc2085edcc4eacd2539
2022-09-29[DMAAP] Update Kohn versionsefiacor1-1/+1
Bump image version for kohn release Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I34e6714797e88c0cf6131022696b537aa36ff505 Issue-ID: DMAAP-1769
2022-06-24[COMMON] Bump ONAP versionAndreas Geissler1-7/+7
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-18[DMAAP-DR] Bump version to 2.1.10efiacor1-1/+1
Bump dmaap-dr version for J release Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I6d047b93264983b26344a3d0e14ad6f1075bdbf5 Issue-ID: DMAAP-1624
2022-03-08Merge "[DMAAP] Add pod security context to MR and others"Sylvain Desbureaux2-0/+11
2022-03-03[DMAAP] Add pod security context to MR and othersrope2522-0/+11
Add security context to pods within DMAAP Change-Id: I86f7bd79e77dec33879f4ee3b599799705d40a24 Issue-ID: OOM-2913 Signed-off-by: rope252 <gareth.roper@est.tech>
2022-01-19[DMAAP] Fix log volume name in some componentsMaciej Wereski1-2/+2
Issue-ID: OOM-1 Reported-By: Jack Lucas <jflos@sonoris.net> Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com> Change-Id: Ieefbb96d8bcc1b4e9a7066acf6a877336a57117c
2021-12-07[GLOBAL] Migrate to helm v3efiacor2-43/+23
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-08[DMAAP] Use log templateMaciej Wereski3-23/+8
Ability to turn off filebeat is needed as it is being deprecated. To achieve that existing log helper template is used. Also unecessary filebeat config map was removed. Issue-ID: OOM-1 Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com> Change-Id: I3dc384b0e2e857637897ac56a172a605de7eb67e
2021-10-21Merge "[COMMON] Fix trailing blanks found by pre-commit"Sylvain Desbureaux1-1/+1
2021-10-20Merge "[DMAAP] Bump image versions"Sylvain Desbureaux1-1/+1
2021-10-20[COMMON] Fix trailing blanks found by pre-commitguillaume.lambert1-1/+1
pre-commit is now enforced by the CI chain. Meanwhile, trailing blanks were introduced in the code base and must be fixed so that gate pass. Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: I54daa27a1fdf019a6777e9b90274d0ef4f1ba08e
2021-10-15[COMMON] Bump ONAP versionSylvain Desbureaux2-7/+9
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-13[DMAAP] Bump image versionsefiacor1-1/+1
Bump DMaaP. kafka and zookeeper versions for I release Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ie8b11626b868c2e74dc2a2c29de635d46b2f7d6c Issue-ID: OOM-2795
2021-10-06[DMAAP] Use the common mariadb-galera instanceMahmoud Abdelhamid4-27/+34
Have following updates for DMAAP-DR-PROV: - Add section under .Values.global for shared mariadb instance default info with a condition to instantiate local instance - Add section under .Values for mariadb-init and mariadb-galera projects - Add condition under requirments.yaml to install local mariadb instance - Update deployment with DB host parameter and reflect it into resource file (using the templates defined under templates/_mariadb.tpl) Issue-ID: OOM-2774 Signed-off-by: Mahmoud Abdelhamid <mahmoud.abdelhamid@orange.com> Change-Id: I8a8e2c179710680282f4ad686dc44e75356a1b81
2021-07-23[DMAAP] Update chart with service accountfarida azmy3-0/+10
Add service account to requirements.yaml, values.yaml and deployment/statefulset Issue-ID: OOM-2702 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Co-authored-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Id63ae33ce92a5192d43ff0f782487b3974fc5f41
2021-06-23[DMAAP][DR] Set replica of Mariadb to 1Sylvain Desbureaux1-1/+1
As decided by TSC, all local databases (not the shared one) should use a replica of 1 per default. Issue-ID: OOM-2779 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I664213c1a9c5551e5ad4d7ab5d8ae861244ada08
2021-03-27[DMAAP] Bump image versionsSylvain Desbureaux1-1/+1
Update DMaaP images for Bus Controller and Data Router. Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: DMAAP-1542 [split commit in two] Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ib227ace915ae1a39c87b5e10e0d0db3c1cdba46d
2021-03-24[DOC][COMMON] Prepare Honolulu releaseSylvain Desbureaux2-5/+5
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-04[DMAAP][DR] Fix bad templatingSylvain Desbureaux1-1/+1
In DR deployments, use of `{{- end -}}` at the of affinity makes the next line to "glue" to resources information. And it seems that in recent kubernetes, it makes it break. Issue-ID: OOM-2671 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ief6fcdf18b9bea1bff728924d7c9a25465ac8a47
2020-12-14[COMMON][MARIADB] Upgrade Mariadb DB galera versionSylvain Desbureaux2-11/+12
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 Desbureaux2-5/+5
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-24[DMAAP] Uses new tpls for repos / imagesSylvain Desbureaux2-4/+7
This commit makes DMaaP 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: Ide110555b22d35ba43a5a5ed780aa8dfc89a9edf
2020-10-21[DMAAP] change comment styleJakub Latusek6-2/+14
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: I1f0fa48fe6dbca7fa319d5b60ac7d1ffb8def194 Issue-ID: OOM-2562
2020-09-28[DMAAP-DR] Bump DR image versions to 2.1.7efiacor1-1/+1
Change-Id: Ibf553a60b9d80eaa6ecc7d3d74a7626182ea3a7e Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: DMAAP-1492
2020-09-24[DMAAP] Set default service nameJakub Latusek1-1/+1
Helm3 require proper service name during linting Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562 Change-Id: I3aa76fa228d79798a09cf13c328d19b549d7b11d
2020-09-08Merge "[DMAAP] Add logs to STDOUT"Krzysztof Opasiak1-0/+1
2020-09-04[GENERAL] Use readiness container v3.0.1Sylvain Desbureaux1-2/+2
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-09-03[DMAAP] Add logs to STDOUTDominik Mizyn1-0/+1
This commit add STDOUT appender to root level logging. Issue-ID: OOM-2514 Change-Id: I03465e1e1446ff7c1c80838788d2b3accc3526b1 Signed-off-by: Dominik Mizyn <d.mizyn@partner.samsung.com>
2020-07-23[DMAAP] Make DMAAP compatible with Kubernetes v1.17Grzegorz-Lis1-1/+4
Issue-ID: OOM-2455 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: I63d3942ea869b87f39d3173e54ebe999bfbdbd45
2020-05-26[DMAAP] Use common aaf template in dmaap-dr-provKrzysztof Opasiak5-164/+22
Instead of copy-pasting code around aaf_agent usage let's use a common template that automates this. Issue-ID: AAF-1134 Change-Id: I266017e4acbcdac89a31dfba775380fd5cd9acfe Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2020-05-14[DMAAP] Moving DMaaP post-install jobs to 1 BC jobefiacor3-83/+0
Change-Id: I11fe412600d1061e5667a5531d36cecbecdd34e3 Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: OOM-2369
2020-04-03[DMaaP DR] Fix for AAF p12 parsingefiacor1-1/+1
Change-Id: I6e56012ca7baabef1bcd4f475245606fc44d9d91 Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: DMAAP-1420