summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2-services/common
AgeCommit message (Collapse)AuthorFilesLines
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 v3efiacor3-24/+11
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-28[DCAE] Make sure to update index.yaml after pushing common chartKrzysztof Opasiak1-1/+14
As helm may cache the index.yaml from the server let's force it to update it after we push our dcae common chart to be sure that the building process of dcae services is able to find it. Issue-ID: OOM-1 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I5e88ee2652f81899a86be7e8231e81b87fb89139
2021-06-15Merge "[DCAE] Push/pull DCAE sub-component charts from local repo"Sylvain Desbureaux1-2/+5
2021-06-14[DCAE] Push/pull DCAE sub-component charts from local repoVijay Venkatesh Kumar1-2/+5
Enable DCAEcommon and subcomponent charts package push/pull to support standalone deployment for each component Added delay to avoid race condition Change-Id: I1a0bf08a6625d2d97078cd635a2bb42da629cce6 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-2781 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
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 Lucas8-0/+560
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>