summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy
AgeCommit message (Collapse)AuthorFilesLines
2022-08-17[COMMON] Update Makefiles to enable parallelizationAndreas Geissler2-6/+20
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-07-18[POLICY] Add overridable helm paramaters for k8s ppntrameshiyer273-7/+22
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
2022-06-24[COMMON] Bump ONAP versionAndreas Geissler14-82/+82
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-13[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
2022-05-04[POLICY] Upgrade image versionsjhh13-13/+13
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-23[POLICY] Changes for postgresqlwaynedunican6-4/+172
Added postgres and to Chart.yaml and values.yaml Changed policy job to create dbs in posgres if used Issue-ID: POLICY-2715 Change-Id: Ia81b56faad85cdcdb261c2f369887dad3eee092d Signed-off-by: saul.gill <saul.gill@est.tech> Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2022-04-22[POLICY] Update components to latest releasejhh10-10/+10
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 Pujar13-29/+12
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 ACMFrancescoFioraEst37-116/+304
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 frontendFrancescoFioraEst12-509/+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.sreekumar15-199/+263
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-12Merge "[POLICY] Update docker images to latest versions"Sylvain Desbureaux14-14/+25
2022-01-12Merge "[POLICY] Dbmigrator image definition corrected"Sylvain Desbureaux1-1/+1
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-10[POLICY] Dbmigrator image definition correctedAndreas Geissler1-1/+1
image definition in job.yaml must use repositoryGenerator Issue-ID: OOM-2906 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I5b708d9e1509b333cb494aa4417e7f1715da4ec8
2022-01-10[POLICY] Fix missing PF dependecniesefiacor1-0/+8
Missed PF dependencies after apiV2 migration Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I15af70176f304a1642898edcc776a0386b521203 Issue-ID: OOM-2912
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.tavares8-13/+13
- 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 v3efiacor32-548/+298
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 participantrameshiyer2710-0/+450
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 Desbureaux12-6/+534
2021-10-30[POLICY] Add helm chart for policy participantrameshiyer2712-6/+534
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 istanbulliamfallon12-12/+12
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 Desbureaux26-73/+99
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.gill12-1/+624
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-guiktimoney13-0/+573
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 Desbureaux11-0/+546
2021-09-29[POLICY] Add helm chart for k8s participantrameshiyer2711-0/+546
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 istanbuljhh20-102/+168
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 azmy30-0/+99
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-geissler2-0/+4
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>