aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap
AgeCommit message (Collapse)AuthorFilesLines
2022-03-08Merge "[DMAAP] Add pod security context to MR and others"Sylvain Desbureaux6-0/+33
2022-03-03[DMAAP] Add pod security context to MR and othersrope2526-0/+33
Add security context to pods within DMAAP Change-Id: I86f7bd79e77dec33879f4ee3b599799705d40a24 Issue-ID: OOM-2913 Signed-off-by: rope252 <gareth.roper@est.tech>
2022-02-26Merge "[DMAAP-MR] Remediate log4j bug"Sylvain Desbureaux1-1/+1
2022-02-25[DMAAP-MR] Remediate log4j bugefiacor1-1/+1
Log4j upgrade to 2.17.1 in dmaap MR image 1.3.2 Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: If17a6764770f8c561c560c8d443b175040e5f0f4 Issue-ID: DMAAP-1691
2022-01-19[DMAAP] Fix log volume name in some componentsMaciej Wereski2-4/+4
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-10[DMAAP][MR] Allow kafka to run with < 3 replicasSylvain Desbureaux2-3/+10
Current hardcoded configuration doesn't allow kafka to be run with less than 3 replicas. This patch fixes this Issue-ID: OOM-2831 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Iffd78a3eaa808e62a74fbc08f26e19f1644440df
2021-12-07[GLOBAL] Migrate to helm v3efiacor18-267/+161
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-12-06[DMAAP][MR] Use startup probesSylvain Desbureaux2-3/+27
Instead of using long intial delay for readiness and liveness probes, use startup Probes with aggressive checks in order to detect start as fast as possible AND handles slow start cases. Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Icb19ef62a4a8c52ac8800aa1dd4b71e350a6eeca
2021-11-08[DMAAP] Use log templateMaciej Wereski7-74/+16
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 Desbureaux8-15/+33
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 Desbureaux14-42/+55
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 versionsefiacor8-15/+33
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-11Merge "[DMAAP] Use the common mariadb-galera instance"Krzysztof Opasiak4-27/+34
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-09-26[COMMON] Add and run pre-commit linters via toxguillaume.lambert1-1/+1
- 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-09[DMAAP] Replace aafConfig with certInitializerKrzysztof Opasiak4-30/+28
Use cert initializer instead of aafConfig to keep dmaap-dr-node aligned with the rest of ONAP Issue-ID: OOM-1 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I2b73e87bb8ae011416555216605ade9a6316261e
2021-07-23[DMAAP] Update chart with service accountfarida azmy20-0/+69
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-07-20Merge "[DMAAP][MR] Fix not starting on service mesh"Krzysztof Opasiak1-0/+2
2021-07-07[DMAAP][MR] Fix not starting on service meshSylvain Desbureaux1-0/+2
With automatic certificate commit, service mesh compatibility has been lost. This commit reenables it. Issue-ID: OOM-2233 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ice397cb2d17f1010c180b6dcb4a24892a3141702
2021-06-28[DMAAP][MR] Remove call to suppressed config mapSylvain Desbureaux1-5/+0
When moving to automatic cert retrieval, a config map was suppressed. But it's call in the statefulset was not. This commit removes it also. Issue-ID: OOM-2765 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I0e9dbc1a440a80eb182e8a52a7a7c1e59fcca72b
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-06-10[DMAAP-BC] Update incorrect topic valuesefiacor4-4/+4
Update BC image version Update cm-container version to 4.6.0 Update k8s-bootstrap-container version to 3.2.0 Update dmaap plugin version to >=1.5.1,<2.0.0 Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I8d6062d794b9d270cce781ed67421d25d1783530 Issue-ID: DMAAP-1544
2021-04-15[DMAAP-MR] Bump MR image versionefiacor2-2/+2
Update MR image version for H. Orig commit was lost due to AAF cert problems https://gerrit.onap.org/r/c/oom/+/118602 Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Id1742c665a90535fbc9a5d45e060e5d79e7b3f47 Issue-ID: DMAAP-1542
2021-04-01Merge "[DMAAP] Fix scaling logic for message router kafka and zookeeper"Sylvain Desbureaux6-12/+13
2021-03-31[DMAAP] Fix scaling logic for message router kafka and zookeeperMarat Salakhutdinov6-12/+13
Currently if we want to scale message router kafka and zookeeper we need to do manual changes in charts to make it work. With this patch all can be done with override files. Issue-ID: OOM-2613 Signed-off-by: Marat Salakhutdinov <marat.salakhutdinov@bell.ca> Change-Id: I1782dca26f964f33c250520ee2e187619cee0e5e
2021-03-27[DMAAP] Bump image versionsSylvain Desbureaux3-3/+3
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-26[DMAAP][MR] Retrieve certs automaticallySylvain Desbureaux14-79/+573
Instead of hardcoding certificates inside the container, use cert initializer in order to retrieve them automatically at start. Issue-ID: DMAAP-1547 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I7fcb8831539d8d9d5d25bcaae44a3c66672f7b1a
2021-03-24[DOC][COMMON] Prepare Honolulu releaseSylvain Desbureaux14-34/+30
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 Desbureaux2-2/+2
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
2021-01-21[DMAAP][MR] Service Mesh compatibilitySylvain Desbureaux4-5/+7
In order to make DMaaP Message Router to work, a change in Zookeeper has to be done so it's listening on all Interfaces. Also, rename service port names in order to follow istio best practices. Issue-ID: OOM-2233 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I4ed3426c57439d40ff48c7fbbc6d2e970924b7f2
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 Desbureaux14-30/+30
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 Desbureaux45-74/+281
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-11-20[GENERIC] move from registry.hub.docker.com to docker.ioSylvain Desbureaux2-2/+2
`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-23Merge "[DMAAP] change comment style"Krzysztof Opasiak37-6/+80
2020-10-21[DMAAP] change comment styleJakub Latusek37-6/+80
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: I1f0fa48fe6dbca7fa319d5b60ac7d1ffb8def194 Issue-ID: OOM-2562
2020-10-21[Tree-wide] Add helmignore to ignore componentsKrzysztof Opasiak1-0/+1
components directory takes up a lot of space and is included during helm package Lets remove it using .helmignore This is just a copy of idea showed in: "[OOF] Add helmignore to ignore components" by krishnaa96 <krishna.moorthy6@wipro.com> Issue-ID: OOM-2534 Suggested-by: krishnaa96 <krishna.moorthy6@wipro.com> Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I25c82e79ba2c472b7761a63365573188ab8db56b
2020-10-16Update makefiles to use specific helm versionJakub Latusek1-4/+5
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-07Merge "[DMAAP] remove field undefined in in statefulset specification"Sylvain Desbureaux2-38/+4
2020-10-01[DMAAP] remove field undefined in in statefulset specificationJakub Latusek2-38/+4
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562 Change-Id: Ibefaa1d43ebed333b71797d807e9f4f038b1cd12
2020-09-28[DMAAP-DR] Bump DR image versions to 2.1.7efiacor2-2/+2
Change-Id: Ibf553a60b9d80eaa6ecc7d3d74a7626182ea3a7e Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: DMAAP-1492
2020-09-25Merge "[DMAAP] Use common.resources in statefulset template"Sylvain Desbureaux1-1/+1
2020-09-24[DMAAP] Use common.resources in statefulset templateJakub Latusek1-1/+1
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562 Change-Id: If9c9b4e326ea7837621f2ec4e2b1eb12d64934fe
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 Opasiak3-5/+2
2020-09-04[GENERAL] Use readiness container v3.0.1Sylvain Desbureaux11-22/+17
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 Mizyn3-5/+2
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-08-12[DMAAP] Increase backoffLimit for DMAAP provisioning jobefiacor1-1/+1
Change-Id: Iaf21a2e18f1102ec23c4d8e264b15f0df5f6e1de Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: DMAAP-1475