summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts
AgeCommit message (Collapse)AuthorFilesLines
2020-04-01[POLICY] Use common secret template in policy-xacmlKrzysztof Opasiak4-2/+37
Use common secret template in policy-xacml module instead of hardcoding db credentials in config map. For now db creds are hardcoded but will be remove in further commits. Issue-ID: OOM-2342 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I3c78373d1b6cf6cdd94af03645e3d5af8704b942
2020-03-27Merge "policy changes pre-1st policy release in frankfurt"Krzysztof Opasiak18-94/+278
2020-03-26[POLICY] Use common secret template in droolsKrzysztof Opasiak4-3/+17
Use common secret template in drools module instead of putting db credentials in a single secret file to allow usage of external secret mechanism. For now db creds are hardcoded but will be remove in further commits. Issue-ID: OOM-2342 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I377b71d76b0b37e919ea841586bb6d5c22107952
2020-03-26policy changes pre-1st policy release in frankfurtjhh18-94/+278
Miscellenous changes to keep up with all necessary oom modifications to support first set of released deliveries. PS1,PS6: PDP-D offline support. PS2: PDP-D PDP Group support. When PDPs register with PAP, they now have to specify their PDP group. Added the default group to the config file. PS3: PDP-A config file changes to add PDP group and native policy type. PS4, PS6: API add new preloaded policy types. PS5: Set snapshot versions for current release testing. PS[7-9]: https dmaap support for pap,pdp-x,distribution,pdp-a. PS10: PAP healthcheck configuration. PS11: Update LICENSE headers. PS12: Preload onap.policies.controlloop.operational.Common operational type. PS13: PDP-D drools base.conf remove JAVA_HOME PS14: add preloaded operational policies for apex in api component, and JDK 11 for legacy engine components. PS15: apex updated supported policy types, and remove duplicate preloaded policy type from api (operational Common). PS16: added api preloaded policy. PS17: distribution + more api preloaded policies PS18: amsterdam.pre.sh point to pdpd-cl-entrypoint.sh PS19: rebase and remove references to amsterdam in drools (deprecated) PS21: replace url with host/port for new actor design PS22: add trailing "/" to context URIs PS23: restore SO_URL as it may be needed for old actors/rules PS24: update to released images PS25: updated brmsgw.conf to latest images Issue-ID: POLICY-2296 Change-Id: I52232f65db19a50dd3c9baf052242c6d79675264 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>
2020-03-10Standardize the pap pod/service name.k.kedron8-1/+1
To fix the bug with connecting to the pap by pdp. Change-Id: I21fb90f151ecace5c10e4def190ed15b15d7c4e5 Issue-ID: OOM-2333 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak22-52/+52
ONAP is too big to be deployed using helm install so we need to use a custom helm plugin helm deploy. This script deloys onap component by component instead of deploying evrything at once. Unfortunately this script also modifies the helm release by appending component name to it. As a result of this behavior our objects are called for example: onap-mariadb-galera-mariadb-galera-0 instead of just being called onap-mariadb-galera-0. This patch simplifies this naming convention by replacing all direct usages of .Release.Name with common.release macro which strips the component specific part from the release name. Issue-ID: OOM-2275 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Ia8cead50d305adb00eef666d0a1ace74479b5183
2020-01-08Enabling logback file to be loaded using configmap for policy componentsa.sreekumar5-6/+10
Change-Id: Ic73ad605ac3aca689221afed258eb3673398e425 Issue-ID: POLICY-2308 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-12-09[POLICY] Use global storage templates for PVCSylvain Desbureaux2-10/+4
OOM has now templates in order to create the needed PVC, using: * a PV with a specific class when using a common nfs mount path between nodes (sames as today use) --> is the default behavior today * or a storage class if we want to use dynamic PV. On this case, we use (in order of priority): - persistence.storageClassOverride if set on the chart - global.persistence.storageClass if set globally - persistence.storageClass if set on the chart Change-Id: Iabd5d12196459bb1fce9021857aeab57a757ee12 Issue-ID: OOM-1227 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-11-27Merge "[Policy] Use common mariadb galera chart"Borislav Glozman26-498/+27
2019-11-21[Policy] Use common mariadb galera chartSylvain Desbureaux26-498/+27
Instead of using "own" galera chart, reuse chart placed in common part of OOM installation. Will ease move to common galera cluster (which is not done by this commit). Change-Id: I2d7c1e5cdc9289cfb55e288b1697373239ef96e3 Issue-ID: POLICY-1467 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-11-15Added 'pdpGroup' to policy-xacml-pdp parameters config fileHOCKLA1-1/+2
Issue-ID: POLICY-2229 Change-Id: Iffb9f40b174eae1e3b714e4ec5e8997c58d01a35 Signed-off-by: HOCKLA <ah999m@att.com>
2019-10-28Add policy update notification topic to OOMJim Hahn1-0/+5
Issue-ID: POLICY-1841 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I2ab0b7f40a9b60531dccd6175c76d0a18726816e
2019-10-27Merge "policy helm changes to override of cert store"Borislav Glozman7-6/+44
2019-10-25Merge "Update policy brmsgw to point to latest versions"Mike Elliott1-2/+2
2019-10-25policy helm changes to override of cert storejhh7-6/+44
Issue-ID: POLICY-2064 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I5d9c6b8ea7e13b43b900f07d394b0bc5fb4b0c9f
2019-10-17Supply CDS GRPC endpoint details for policy (drools) to make use ofRashmi Pujar3-0/+15
Issue-ID: POLICY-2088 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: Iefcf1ea50cb2d096ff38a0ecf461a2caa6718f22
2019-10-15Update policy brmsgw to point to latest versionsjhh1-2/+2
Issue-ID: POLICY-2171 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iaff0090a25990612c04d58147d4f9dfd20e4111f
2019-10-11Upgrade drools cl app imagejhh1-1/+1
Issue-ID: POLICY-2156 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Idde12043286d715a1de27d581701a41f7a72739d
2019-09-20Disable AAF for PDP-D telemetry APIjhh1-2/+2
As AAF cadi libraries and Aether libraries (transitively brought in by drools kie-ci functionality seem to interfere with each other, AAF is disabled. There is no side effects to disable AAF for this API as it is not an external API (it is used for diagnostics only). The nexus value change is cosmetic, not really used. Issue-ID: POLICY-2109 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I2ccb3b0f08a4d3020e58ca83bd89d2f614a51dca
2019-09-17Merge "Update policy/distribution config & image version"Brian Freeman4-5/+29
2019-09-17Update policy/distribution config & image versionramverma4-5/+29
Updating the config file of distribution chart as per the new code changes done in El Alto release. Adding changes for policy-engine as well. Issue-ID: POLICY-1892 Change-Id: I21d971ff76f06dd1d74884481c81801422a3971c Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-09-12Merge "Update charts with policy latest released images"Brian Freeman4-4/+4
2019-09-12Merge "refactor drools chart to allow customizations"Mike Elliott13-221/+177
2019-09-11Update charts with policy latest released imagesjhh4-4/+4
Issue-ID: POLICY-2045 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Idb074c7d4239be1c225f9e89f6672288fd658227
2019-09-10refactor drools chart to allow customizationsjhh13-221/+177
- move some values out of .conf files to values to avoid building the chart when deploying policy (drools). - move credentials to a single secret file, this is precursor work to deal with confidential info in a better way in future releases. - delete unused files. - generify mounting of configmaps/secrets as volumes to avoid explicitly having to modify statefulset.yaml. - update amsterdam controller with latest version in nexus at container instantiation. - update to the latest released drools image. Issue-ID: POLICY-1371 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I1497b61cd210ac4c00b957c2832de5acd01ea4d2 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-09-03Add policy-api to xacml-pdp config for OOMJim Hahn1-0/+8
Updated xacml-pdp config to add parameters so that it can connect to policy-api to retrieve policy types. Change-Id: Ib2fbd1523936a5b7c080e806b66eb0d31cb50365 Issue-ID: POLICY-2021 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-08-29Move Policy Storage to RWOSylvain Desbureaux2-2/+2
Today when deploying Policy with OOM, the PersistentVolumeClaim needs the "ReadWriteMany" (or "RWX") capability. According to Kubernetes Documentation (https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes), ReadWriteMany stands for "the volume can be mounted as read-write by many nodes". That means that a particular PVC needs to be read and written from many pods. That also means that your code takes that into account and do the work to avoid write at the same place at the same time. An issue on RWX mode is that most "official" storage driver from Kubernetes doesn't support it (13 over the 19 drivers doesn't support it, espacially OpenStack, Amazon and Google storage classes). Policy PVC for Nexus and Policy PVC for mariadb are used only for one POD. Thus we don't need RWX. Change-Id: Idf8a6ba8ef14ce7ca397438c2200c11517d0458e Issue-ID: POLICY-2019 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-08-07El Alto early drop policy changesjhh17-81/+49
Issue-ID: POLICY-1953 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I8172897520bd970d447d66e8d7d4734508d1ece7
2019-07-22Merge "nexus+mariadb upgrade to latest patch versions"Mike Elliott2-2/+2
2019-07-11Moving Helm Chart version for El AltoMike Elliott22-22/+22
Updating all helm chart versions to 5.0.0 for the El Alto release. Merge will be co-ordinated with the merge of a separate aai/oom patch. Please do not merge until this coordination has completed. Issue-ID: OOM-1980 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com> Change-Id: I31daaebeacea33565f13affd2fa28fb15fe948ba
2019-06-27brmsgw config not pointing to released artifcatsPamela Dragosh1-2/+2
These should be pointing to released artifacts. Issue-ID: POLICY-1872 Change-Id: I08323704159864c636cb9d23e0563e05c7c932d6 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-06-26nexus+mariadb upgrade to latest patch versionsjhh2-2/+2
Covers POLICY tasks 1597, and 1598. Change-Id: I3be2ef26e3ddd49fcb02dc7da19f358dfac62697 Issue-ID: POLICY-1597 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-06-14Policy released drools 1.4.2Pamela Dragosh1-1/+1
For bug fixes POLICY-1856 and POLICY-1855 Issue-ID: POLICY-1860 Change-Id: I3e5014da546620367cba5ab1d6fd308a01c4c140 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2019-05-23Bump image versions to new releasesjhh6-6/+6
Change-Id: Ibbe2169bbebc7df1fe628760fb1980cf92aeff9e Issue-ID: POLICY-1700 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-05-16Disable external ports and update versionsjhh17-31/+48
Change-Id: I1d781ad6d0177d6a103986b10f39e36453516e9f Issue-ID: POLICY-1756 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-05-09Change to fix db connection issues in xacml-pdpMichael Mokry1-0/+53
Added xacml.properties file with proper jdbc url that includes the {{ .Values.global.mariadb.nameOverride }} value This is only half the fix, please reference review for xacml-pdp repo for full fix. Change-Id: Ic73864439b9437e812c135f24a093ba9f969b6ee Issue-ID: POLICY-1760 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2019-05-08Add Portal suggested parameters to consolejhh1-6/+6
Point PAP and PDP default config to new PAP and PDP. Change-Id: Ib0452739f2ff272f97398e568c71268e80517881 Issue-ID: POLICY-1745 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-05-07Add SDNC URL, Username and password in base.confVidyashree Rama1-3/+3
Request to SDNC failed as SDNC URL, username and password not specified. Change-Id: I05c0cf7edf9027c536de7c044edb58e3fe73b184 Issue-ID: POLICY-1741 Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
2019-05-02Changing xacml replicaCount to 1ramverma1-1/+1
Changing replicaCount of xacml to 1 to keep in sync with other Pdp's. Change-Id: Ie63eb8fc02de9859959bcec5bb2b0ee4bc4af82e Issue-ID: POLICY-1723 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-04-30Change Policy PAP & API to https by defaultramverma4-5/+9
1) Changing policy PAP & API components to start in https mode by default. 2) Changing supportedPolicyTypes for apex to fix the ineterference between apex & drools for legacy operational policies. 3) Changing the replicaCount of xacml to 3 so that we have enough instances of it running to support controlloop, monitoring & optimization PdpGroups. Change-Id: I5271878db4c4adebc418ef63ecb09880c02082ff Issue-ID: POLICY-1693 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-04-18Switch policy/api rest port from cluster to nodejhh1-1/+1
Change-Id: I6748018f19d1af27974dd5926447adac66a5a835 Issue-ID: POLICY-1663 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-17Merge "Updated policy/xacml-pdp Charts"Alexis de Talhouët4-10/+50
2019-04-16Changes to support onappf PDP-Aa.sreekumar5-5/+45
Adding configuration files and changes to support onap policy framework PDP-A. Change-Id: I4ccbb172185f7abbf6392f790de9411e45697100 Issue-ID: POLICY-1632 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-04-15Merge "Fix policy/api charts"Mike Elliott2-1/+25
2019-04-15Merge "Adding configurations & fixing policy/pap charts"Mike Elliott5-3/+59
2019-04-15Updated policy/xacml-pdp ChartsMichael Mokry4-10/+50
1. Added DB configurations 2. Added dmaap topic.properties 3. Updated charts for dmaap topics 4. Updated charts for db configurations Change-Id: I42d9ed05d342273304c7065438651bba28ff3ffe Issue-ID: POLICY-1640 Signed-off-by: Michael Mokry <michael.mokry@att.com>
2019-04-14Change default maven path in brmsgw containerjhh2-13/+2
remove section that assumes that there is only one dependency version in the brmsgw. There are 2 (models and drools-applications) as this has changed in dublin. Change-Id: Ib9c14d79b0a8c00f78c0dff84deb978ae5fcb6c8 Issue-ID: POLICY-1611 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-12Adding configurations & fixing policy/pap chartsramverma5-3/+59
1) Adding db configurations. 2) Adding dmaap topic configurations. 3) Adding "policyadmin" db. 4) Updating policy/pap charts. 5) Adding "operationshistory" db. Change-Id: I50b67255cfc1d636d0f370d6c93628a30d6dac26 Issue-ID: POLICY-1640 Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-04-12Fix policy/api chartsChenfei Gao2-1/+25
Add "policyadmin" db into policy-api config.json Issue-ID: POLICY-1640 Change-Id: I9c091b35eaae0a734d4371bcf619ebdfa9dac9d3 Signed-off-by: Chenfei Gao <cgao@research.att.com>
2019-03-26Merge "Xacml PDP Helm Charts Added"Alexis de Talhouët7-0/+265