aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2-services/common/dcaegen2-services-common
AgeCommit message (Collapse)AuthorFilesLines
2024-11-28Fix Kyverno policy violations for DCAE PRH & VES-COLLECTORAditi Shukla2-11/+75
Issue-ID: OOM-3315 Change-Id: I1d6251e7c6724addca81167f9f4d184c291340c3 Signed-off-by: Aditi Shukla <aditi.shukla@t-systems.com>
2024-09-01[DCAEGEN2] define emptyDir volume for /tmp dirFiete Ostkamp1-0/+5
- this improves support for making the pod filesystem read-only (of ves-collector) Issue-ID: DCAEGEN2-3415 Change-Id: Ic7413b2fd589d095b69eec0c88693b2db4e3c13c Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@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>
2023-07-26[DMAAP] Introduce drprov-clientJack Lucas2-25/+37
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-06-29[COMMON] Bump ONAP versionAndreas Geissler1-2/+2
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-03-14[DCAE] Remove references to AAFJack Lucas1-54/+1
Remove chart elements that deploy an AAF init container and set up volumes that hold AAF-certificates. Remove AAF values.yaml entries that are no longer needed. Issue-ID: OOM-3068 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: I8e6659cf6aa4c214d485b9e78c28f55622e3a864
2023-03-09[DCAE-HV-VES] Move to use strimzi kafka tplefiacor1-3/+11
Move hv-ves to use strimzi kakfa tpl Topic naming is invalid so adding overrides to tpl Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ied93c6329f51c3219b09b4f67f174c9e15727188 Issue-ID: DMAAP-1854
2023-03-03[COMMON] Fix resources indentmiroslavmasaryk1-3/+3
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-2/+2
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-11-09[DCAE] DCAEGEN2-Services Service Mesh Patchrope2521-1/+24
Service Mesh patch for DCAE, changing port names to http. Remove aaf-cm readiness check, set tlsServer to false (excluding restconf) Added environment variables to pods to solve CBS problems Disable VES authentcation in SM override Change-Id: I42a12912f471d89bd4ebc6181f5454140e54a605 Issue-ID: OOM-2820 Issue-ID: DCAEGEN2-3277 Signed-off-by: rope252 <gareth.roper@est.tech> Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
2022-09-20[DCAEGEN2-SVCS] Allow image repo overrideJack Lucas1-2/+9
Allow overriding the default image repository for the DCAE microservice image. Issue-ID: OOM-2978 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: I7dab36db8eca6917411c8366c388082d5280e506
2022-08-02[DCAEGEN2-SVCS] Support config update via configMapJack Lucas2-63/+45
Change chart to mount application configuration configMap directly on the application container and rely on the DCAE SDK to do environment variable substitution on the configMap content. This allows changing configuration by editing the configMap without restarting the application. Remove message router authenticated topic provisioning from DCAE. Issue-ID: DCAEGEN2-2935 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: I85139e64f8cb7e1b88f8fca8d5d84cc71f946290
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-09[HV-VES-STRIMZI] Migrate hv-ves to use strimzi kafkaefiacor1-1/+1
Move hv-ves to use strimzi kafka Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ia441d060771186ba41465c8622291ff73b7561aa Issue-ID: DMAAP-1705
2022-03-29[DCAEGEN2-SERVICES] Fixing Policy Side Car Sync issuePrativa Dora1-2/+2
Updated the policy-xacml-pdp access credentials Issue-ID: DCAEGEN2-3128 Signed-off-by: Prativa Dora <prativa.dora@techmahindra.com> Change-Id: I81655e4d79c792ea656eab9e6db660d27673c949
2022-03-23[DCAEGEN2] Remove Consul loader init containerJack Lucas2-83/+1
DCAE microservices no longer rely on Consul to store their configuration information. This change modifies the common DCAE microservice deployment template to eliminate the initContainer that loads configuration information into Consul. Issue-ID: DCAEGEN2-3059 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: I4d9d547de020fe1987afab1c99cd033799ed7b36
2022-03-15[DCAEGEN2] Fix check for log directory pathJack Lucas1-3/+4
Fix bug in dcaegen2-services-common deployment template that caused a nil pointer error when values.yaml for a dcaegen2 microservice did not have a log.path entry. Issue-ID: DCAEGEN2-3093 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: I3874fd4c4327b487f3a9bf7d95e747d86a320998
2022-01-06[DCAEGEN2] Use common.log templateMaciej Wereski3-127/+6
Until now DCAEGEN2 used its own templates instead of common ones. This change switches filebeat sidecar generation to common.log templates. Other ONAP components already use it. Filebeat is depreceated and with use of common templates it is possible to disable it globally. This patch also changes ConfigMap usage from per component ConfigMap to one ConfigMap for all of DCAEGEN2 components. This is done to simplify generated file as there are no differences between per component ConfigMaps. Issue-ID: OOM-1 Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com> Change-Id: I87ffe4890b9a4d79edfe0669750dbf21b4a7b340
2021-12-09[DCAEGEN2] Update healthcheck to version 2.4.0Jack Lucas1-2/+4
Add health checks for DCAE microservices deployed after the initial installation of dcaegen2-services. Issue-ID: DCAEGEN2-2959 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: Ife7620b252641d0ac466f3bb977d826f6e955446
2021-12-07[GLOBAL] Migrate to helm v3efiacor2-22/+9
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-19[DCAEGEN2] Updates for R10Jack Lucas1-0/+3
By default, disable all dcaegen2 components except config-binding-service, healthcheck, and ves-openapi-manager. Fix DNS name for the ONAP consul instance. Move mongodb dependency from dcae-bootstrap to dcae-tcagen2. Fix the generation of the JSON list of expected components for the healthcheck services. (Previously could have a spurious leading ",") Update healthcheck-container version to 2.3.0 for logging enhancements and updated base image. Issue-ID: DCAEGEN2-2968 Issue-ID: DCAEGEN2-2958 Issue-ID: DCAEGEN2-2983 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: I4bcce1d3e43e2e5c7cc2c3179870de72b55d5d2e
2021-10-15[COMMON] Bump ONAP versionSylvain Desbureaux2-2/+4
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-11Merge "[DCAEGEN2-SERVICES] Update chart with service account"Sylvain Desbureaux1-0/+1
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-09-26[DCAEGEN2-SERVICES] Update chart with service accountfarida azmy1-0/+1
Add service account to requirements, values and deployment/statefulset Issue-ID: OOM-2828 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Change-Id: I9093839265e0d70dd68d7fdded0704942b4d6f71
2021-09-03[DCAEGEN2] Add Consul key delete jobJack Lucas1-1/+2
Add a job for each microservice that deletes the Consul key holding the microservice's configuration when the microservice is undeployed. (Fixes a bug in an earlier version that would loop indefinitely if Consul had been undeployed first.) Issue-ID: DCAEGEN2-2669 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: I9172fc014b79d2cc07c0b1a1a187a28c63b1838a
2021-08-25[DCAE] Svc template support for policy release overrideVijay Venkatesh Kumar1-4/+17
As ONAP (and policy framework) can be deployed with any release name, the policy sidecar must support releasename as configuration. The releasename is important to identify the K8S secret created by Policy Framework (for retreiving the username/password config required by Policy-Sidecar container). Change-Id: I9145da841c68b585f2ad5f54c7df155470763f4f Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-2870 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
2021-07-15[DCAE] Helm charts for Mapper/BBS-Ep/RESTConfVijay Venkatesh Kumar1-1/+1
Helm deployment support for DCAE transformation + Template fix for policy config (duration) Change-Id: Icf2c8d529d62207db3fedf31b0c4fc644ba2e744 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-2706 Issue-ID: DCAEGEN2-2707 Issue-ID: DCAEGEN2-2709 Issue-ID: DCAEGEN2-2855 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
2021-07-13[DCAEGEN2] Deploy DCAEGEN2-DFC Microservices to Helmajay_dp0012-1/+67
- DCAE Helm Transformation (Phase-2) - Charts for the microservices are found under - oom/kubernetes/dcaegen2-services/dcae-datafile-collector Issue-ID: DCAEGEN2-2715 Signed-off-by: ajay_dp001 <ajay.deep.singh@est.tech> Change-Id: I6efa2d4cd9e838a7befaf16576f8e94ad0a3ef0f
2021-06-30[DCAE] Updates to defaults for configmapJack Lucas2-3/+12
Make external configMaps optional by default for microservices Make applicationConfig an optional parameter in values.yaml for microservices. Issue-ID: DCAEGEN2-2770 Issue-ID: DCAEGEN2-2782 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: I80ec8e4a1d55201c5a174f50159bac171953b031
2021-06-08[COMMON] Remove CertService client mechanismPiotr Marcinkiewicz1-1/+1
- Remove cmpv2Certificate chart in order to deprecate CertService client mechanism. - Remove CertServiceClient init containers in SDNC. - Replace CMPv2CertManagerIntegration with cmpv2Enabled flag Issue-ID: OOM-2744 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I8c818fcf64a029552c8833f68b6ae95fad379c8d
2021-05-28Merge "[DCAEGEN2] Update CMPv2 certs usage in dcaegen2-services"Sylvain Desbureaux1-3/+16
2021-05-26[DCAE] Add secrets as envs to application container in dcaegen2Bartosz Gardziejewski1-0/+6
Mount app-config-input configmap directly to app container. Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I50d80adcb87e86241876c9bab669739cb3d9c10c Issue-ID: DCAEGEN2-2630
2021-05-20[DCAEGEN2] Update CMPv2 certs usage in dcaegen2-servicesRemigiusz Janeczek1-3/+16
Updates: - Add microservice specific flag to determine if CMPv2 should be used - Add function to check if CMPv2 parts should be included Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Issue-ID: DCAEGEN2-2630 Change-Id: If81c50c6029aafef40fa91c5295ad8ad24f953d3
2021-05-13Merge "[DCAEGEN2] Add support for configMaps"Sylvain Desbureaux1-0/+79
2021-05-12[DCAEGEN2] Add support for configMapsJack Lucas1-1/+80
Enhance the DCAE microservice deployment template to generate a volume mount and a volume for configMaps whose names and mount paths are specified in the microservice's values.yaml. Issue-ID: DCAEGEN2-2690 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: Id2fbce07ab8199f4566b34a99df540f16fd937b0
2021-05-10[DCAEGEN2] Add pem support in CMPv2 for dcaegen2-servicesPiotr Marcinkiewicz1-4/+5
- Add mounting certificates in pem format. - Add comment description to certificates in dcae values Issue-ID: DCAEGEN2-2688 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I546292c33e25e36376b98d42e08a3c4ffa95de64
2021-05-10[DCAEGEN2] Add CMPv2 support to dcaegen2-servicesRemigiusz Janeczek2-2/+55
Add support for CMPv2 certificates in dcaegen2-services-common template Add CMPv2 certificates to HV-VES and VES charts Issue-ID: DCAEGEN2-2688 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I6ade2c24f240872e78df92ca31b30c779f86e38b
2021-04-30[DCAE] Common template update for policy sidecarvv770d1-0/+65
Template enhanced to include policy sidecar support for DCAE components Issue-ID: DCAEGEN2-2689 Change-Id: Ida7eeadbcc2df2af9579fdda939d0427a7963b63 Signed-off-by: vv770d <vv770d@att.com>
2021-04-30Merge "[DCEAGEN] Add app-config volume mount to common dceagen2 template"Sylvain Desbureaux1-2/+2
2021-04-29[DCEAGEN] Add app-config volume mount to common dceagen2 templateBartosz Gardziejewski1-2/+2
Mount volume containing app configuration to all deployments in dcaegen2 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Issue-ID: DCAEGEN2-2692 Change-Id: I414c44633f7dd1b0a37b135e5cbc2f2111494a0b
2021-04-29[DCAEGEN2] Set env variables from secretsJack Lucas1-6/+51
Enhances the dcaegen2-services-common deployment template to allow setting environment variables for a DCAE microservice container from a secret Issue-ID: DCAEGEN2-2687 Change-Id: I8452cd1f52e941c0a3ebd15eb39b1eecc97a0ded Signed-off-by: Jack Lucas <jflos@sonoris.net> [Fail the deployment if one of required params is not provided] Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2021-03-24[DOC][COMMON] Prepare Honolulu releaseSylvain Desbureaux2-2/+2
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-03-21[DCAEGEN2] Deploy DCAE microservices via HelmJack Lucas7-0/+509
Deploy DCAE microservices using Helm instead of having the DCAE bootstrap container deploy them using Cloudify. Charts for the microservices are found under oom/kubernetes/dcaegen2-services. Issue-ID: DCAEGEN2-2615 Issue-ID: DCAEGEN2-2617 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: I22d88987ae8e21b3c08f31f13ffda98967d13297 [Use common secret template for secrets] Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>