aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components
AgeCommit message (Collapse)AuthorFilesLines
2022-08-23[POLICY] Add overridable helm paramaters for k8s ppntrameshiyer273-7/+25
Make permitted repository list overridable from values.yaml CofigMap populates the application properties file with required values. Issue-ID: POLICY-4237 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ib48716f12bc5f4d22fbda8e22fd2077e0e982ec3 (cherry picked from commit 3c81b1d77c53b18e94e282d8bf0250a5563875d0)
2022-08-17[COMMON] Update Makefiles to enable parallelizationAndreas Geissler1-3/+10
All Makefiles are updated to support SKIP_LINT option, have a defined order of compilation (common -> components) to support the parallel compilation of charts using: make all -j8 (for 8 Jobs). Additionally use cm-push instead of push to use the new K8S/Helm version Issue-ID: OOM-3011 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: If9903c9d5bc646b5ce54075acc616e98c4b6706e
2022-06-14[POLICY] Fix cluster role binding name in k8s ppntrameshiyer271-8/+2
Updated cluster role binding name and service account name to acm terminology Issue-ID: POLICY-4170 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I1b52d6a5d01921d70fce53884558a3ce58f98e19 (cherry picked from commit 4aafc9f52cb725fe1a347982e0cb7f632394a8a5)
2022-05-04[POLICY] Upgrade image versionsjhh12-12/+12
These images tackle security issues in libraries. Issue-ID: POLICY-4071 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I88297b05f05e0a847d10333e60e665f89ccb424d
2022-04-23[POLICY] GUI changes for Spring boot migrationdanielhanrahan3-63/+49
Update chart to run Spring Boot version of policy-gui Remove obsolete nginx config Issue-ID: POLICY-3980 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I34ff95be09a416e07d2f4ad8bdaea71c1a1e7111
2022-04-22[POLICY] Update components to latest releasejhh9-9/+9
The exceptions are policy-drools-pdp, policy-xacml-pdp, and policy-gui that are handled in different reviews. Issue-ID: POLICY-4089 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I5d03ce22d9c69380c6f76b24383555cf71803ea4 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2022-04-22[POLICY] Disable prometheus monitoring by defaultRashmi Pujar12-29/+11
ServiceMonitor resource not part of native Kubernetes, it is a custom resource defined via Prometheus operator. Prometheus operator deployment is a pre-requisite to enable creating a ServiceMonitor objects. Issue-ID: POLICY-4096 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: Ia672d5d5982e61c00f8effccad0929240f54efb2
2022-04-22[POLICY] Increase hikari connection pool size for PAP & APIPrakhar Pandey2-0/+4
We saw some bottlenecks during S3P testing of API component due to the default connection pool size of 10. Setting it to 20 based on the number of parallel threads used for performance tests. The change is required because prior to spring boot migration (Istanbul and earlier), the default connection size was 32 so it was never a problem for running load tests. Issue-ID: POLICY-4007 Change-Id: Iaaa573d5fce0298e3aff05a27c2e845840a6cb06 Signed-off-by: Prakhar Pandey <prakhar.pandey@bell.ca>
2022-04-19[POLICY] Enhance liveness probes and metricsjhh7-10/+75
- added logback prometheus support for xacml and drools. - enabled enhanced healthchecks. - enabled enhanced liveness probes for drools pdp to detect stuck PDP application and restart it. - add prometheus servicemonitor for drools. - set latest docker image versions for drools-applications and xacml Issue-ID: POLICY-3386 Issue-ID: POLICY-4089 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I0ffd9bf93452f8a7a63deb33f2103f9b80476d07 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2022-04-13[POLICY] Rename from TOSCA Control Loop to ACMFrancescoFioraEst34-97/+285
Update CLAMP OOM Configuration for rename from TOSCA Control Loop to ACM Issue-ID: POLICY-3942 Change-Id: I2044dfb68f22dc27d701c7bea1e2a2eab69cb28d Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-03-31[POLICY] Enable cluster role for k8s-ppntrameshiyer271-2/+26
Cluster role is required for the k8s-ppnt to perform helm deployments on the cluster Issue-ID: POLICY-3748 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ib916803d22f6ecf0ed16e8c75fe52b4e567069ca
2022-03-29[POLICY] Update CLAMP OOM Configuration for Remove Clamp frontendFrancescoFioraEst10-503/+0
Remove clamp-frontend code, as this is moved to policy-gui Issue-ID: POLICY-3358 Change-Id: Id6402815ead572e8cec9f1743709d6de6f28b79c Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
2022-03-22[POLICY] OOM Jakarta changes for PAP,API & PDPsa.sreekumar14-198/+262
This review contains the below changes: 1) PAP config changes for spring boot migration 2) savePdpStatistics flag is disabled by default 3) DMaaP connectivity added to PAP consolidated healthcheck 4) Improve PAP & API readiness probe from TCP to HTTP GET based healthcheck api 5) API config changes for springboot migration 6) Update the docker image versions for Jakarta. Change-Id: I8dfc821b1245cd4ef6bdedad7802deb4ac3297e3 Issue-ID: POLICY-3750 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-03-22Merge "[POLICY] Enable prometheus integration for policy fwk"Sylvain Desbureaux10-0/+230
2022-03-21[POLICY] Enable prometheus integration for policy fwkRashmi Pujar10-0/+230
1. Define serviceMonitor for policy components 2. Changes to common serviceMonitor tpl file to include tls params in authentication config, and to provide ability to overrride labels. Issue-ID: POLICY-3779 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: I79441958698271d9118efb78cfd121433e201ebd
2022-03-18[POLICY] Accept Permit list repositoriesLathish1-2/+10
- K8s participant to accept only permitted and secured repositories Issue-ID: POLICY-3894 Change-Id: If602ecc35384d66990a81fd470d24d76e95725fd Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-02-25Merge "[POLICY] Disable helm endpoints by default in k8s participant"Sylvain Desbureaux1-1/+18
2022-02-23[POLICY] Disable helm endpoints by default in k8s participantLathish1-1/+18
- Disable all helm operations through REST endpoints. - Add the context path Issue-ID: POLICY-3894 Change-Id: Ib4b375ab8d52e06a112a005b60832545a95d62e7 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-02-07[POLICY] Fix SSL Failure in Clamp BackendLathish1-1/+1
- Call the HTTPS of ControlLoop Runtime Issue-ID: POLICY-3874 Change-Id: I4ec6ef19e779096393cfb5812832f924dde63596 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-01-11[POLICY] Update docker images to latest versionsliamfallon14-14/+25
The image versions in policy values.yaml files have been updated and the CLAMP runtime configuration has been updated to use Spring style configuration *** This commit is generated by a PF release script *** Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I220773eb7728d8f5cff36faad388970e1732f12c Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-01-05[MARIADB] Downgrade mariadb versionSylvain Desbureaux1-1/+1
Use version 10.6.5-debian-10-r28 instead of 10.6.5. Also align clamp and so to use the same version as the other ones Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ie1db09b03daa1bb7792ee0ff6a73bd3483213e75
2021-12-14[POLICY] Change API and PAP usernamesadheli.tavares7-11/+11
- change references of healthcheck to policyadmin regarding API and PAP auth - add robot variables to accommodate the referred changes. Issue-ID: POLICY-3815 Change-Id: I318b7f44d9e7f554d98d845abd80cc6512831b78 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
2021-12-07[GLOBAL] Migrate to helm v3efiacor29-458/+231
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-10[POLICY] Fix https connection in policy-ppntsaul.gill1-2/+2
Changed https to useHttps in configured connections to api and pap Issue-ID: POLICY-3817 Change-Id: Id96899d39e1f8233bf7f32f54ef4253fe6dbb58a Signed-off-by: saul.gill <saul.gill@est.tech>
2021-10-31[POLICY] Add helm chart for http participantrameshiyer278-0/+444
Added helm chart for http participant in CLAMP Issue-ID: POLICY-3593 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I7cd529b891b0bc1d97b4ffa993492d1e8414ee00
2021-10-31Merge "[POLICY] Add helm chart for policy participant"Sylvain Desbureaux10-6/+500
2021-10-30[POLICY] Add helm chart for policy participantrameshiyer2710-6/+500
Added policy participant helm chart in CLAMP Issue-ID: POLICY-3593 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I8c4f14a8448a0850a0da303a929dd86b43c8370d
2021-10-27[POLICY] Update core images/config for RC istanbulliamfallon11-11/+11
Updated images for all components. Issue-ID: POLICY-3696 Change-Id: Idf598cc4d59c7a67327fe470121b004c890343cc Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-22[POLICY] Altered helm chart for policy-clamp-besaul.gill4-232/+267
Added runtime-controlloop url and creds to application.properties Added new image to values Fixed SpringBoot issue where config could not be found Issue-ID: POLICY-3593 Change-Id: Ie54b4b10b3df428f6d6f72f2f53d6384f24c00cc Signed-off-by: saul.gill <saul.gill@est.tech>
2021-10-21Merge "[COMMON] Fix trailing blanks found by pre-commit"Sylvain Desbureaux2-2/+1
2021-10-20[COMMON] Fix trailing blanks found by pre-commitguillaume.lambert2-2/+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 Desbureaux24-56/+80
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-10[POLICY] Add helm chart for cl-runtime componentsaul.gill9-0/+600
Added controlloop-runtime chart Issue-ID: POLICY-3593 Change-Id: I4b948f7c12637b0c339eb966e2f93a3b864bcf44 Signed-off-by: saul.gill <saul.gill@est.tech>
2021-10-04[POLICY] Add helm chart for policy-guiktimoney11-0/+566
Added helm chart for policy gui Issue-ID: POLICY-3593 Change-Id: I8e0e1b7a31258bb860b304a1635f785517b443ae Signed-off-by: ktimoney <kevin.timoney@est.tech>
2021-10-04Merge "[POLICY] Add helm chart for k8s participant"Sylvain Desbureaux9-0/+540
2021-09-29[POLICY] Add helm chart for k8s participantrameshiyer279-0/+540
Added helm chart for k8s participant in CLAMP Issue-ID: POLICY-3593 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I766d500866c2ab1608d3f68a2af7d6d82d41dc59
2021-09-22[POLICY] Updated policy-clamp-fe imagesaul.gill1-1/+1
Updated policy-clamp-fe image for Istanbul helm chart Issue-ID: POLICY-3593 Change-Id: I1b8c9e8c2dd8e152e8eb369b95a663a72d49108d Signed-off-by: saul.gill <saul.gill@est.tech>
2021-09-17[POLICY] Update core images/config for m4 istanbuljhh15-97/+107
New images and configuration for api, pap, distribution, pdpd, pdpx, pdpa and db components. Issue-ID: POLICY-3199 Issue-ID: POLICY-3456 Issue-ID: POLICY-3593 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I4572a3aeb8481d8d2ea671f67e105a05fc6ce1b8 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Signed-off-by: Jim Hahn <jrh3@att.com> Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Signed-off-by: Jim Hahn <jrh3@att.com> Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca> Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-07-20[POLICY] Update chart with service accountfarida azmy27-0/+90
Add service account to requirements.yaml, values.yaml and deployment/statefulset Issue-ID: OOM-2725 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Co-authored-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I67c689d65ff004c3919256449d0bfaf976514a93
2021-07-19[POLICY] Added imagePullSecrets to common template filesandreas-geissler1-0/+2
Added the missing definition for imagePullSecrets in the job.yaml (policy, clamp-be) to support the registryGenerator Issue-ID: OOM-2793 Signed-off-by: andreas-geissler <andreas-geissler@telekom.de> Change-Id: I482564ad13cbb6736520a887ced344bbb95d1fba
2021-05-11[POLICY] Release Policy-clamp 6.1.1sebdet5-13/+22
Update the version to 6.1.1 + required config changes due to Camel & Spring upgrades & Sonar fixes Issue-ID: POLICY-3224 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I7cf2caff461b88326d3ec90c9eea0fd6711f16e5
2021-05-06[POLICY] Add force to clamp-be db scriptsebdet1-1/+1
Add a force flag so that clamp can be mounted even if the db already exists Issue-ID: POLICY-3161 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I784c354378fbad3281b9adc55ff7aa0bc2ef3510
2021-05-02[POLICY] Simplify cert retrieval scriptSylvain Desbureaux8-28/+4
As retrieving values is now done via a generic script, let's clean a little bit cert retrieval in order to remove unneeded part. Issue-ID: OOM-2688 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ieec9fe0ba23c7d7125086e0882a20a038c25a128
2021-04-13[POLICY] Add date to logging timestampjhh6-10/+16
Policy components log the current time to stdout but not the actual date. This patch adds the date in UTC format Issue-ID: POLICY-3177 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: If86cad58115d9124e09a953c0aa807644830ad4b Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-03-25Merge "[DOC][COMMON] Prepare Honolulu release"Krzysztof Opasiak18-35/+35
2021-03-24[POLICY] Update RC0 released versionsjhh8-10/+11
apex image: onap/policy-apex-pdp:2.5.1 api image: onap/policy-api:2.4.1 distribution image: onap/policy-distribution:2.5.1 pdpd-cl image: onap/policy-pdpd-cl:1.8.1 pap image: onap/policy-pap:2.4.1 xacml-pdp image: onap/policy-xacml-pdp:2.4.1 policy-clamp-backend image: onap/policy-clamp-backend:6.0.2 policy-clamp-frontend image: onap/policy-clamp-frontend:6.0.2 Issue-ID: POLICY-3127 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I1381c9f310adb0b310262cd242ed4883388fcbc3 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2021-03-24[DOC][COMMON] Prepare Honolulu releaseSylvain Desbureaux18-35/+35
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-09Merge "[POLICY] Update released versions"Sylvain Desbureaux9-17/+18
2021-03-03[COMMON] Get rid of a few bashismsGuillaume Lambert1-1/+1
The built-in command source is a bashism. Profiles script must be dotted and not sourced when possible. Issue-ID: OOM-2688 OOM-2158 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Id7cad0d499129fa3b7ea020e906748243b1b3ace
2021-02-26[POLICY] Update released versionsjhh9-17/+18
Update released versions for M3 Honolulu Issue-ID: POLICY-3032 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: If87afd9a00e444265b91372d1f7201415284f6b5 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>