summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/charts/drools
AgeCommit message (Collapse)AuthorFilesLines
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak7-14/+14
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
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-21[Policy] Use common mariadb galera chartSylvain Desbureaux4-6/+6
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-10-25policy helm changes to override of cert storejhh2-1/+11
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-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-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-08-29Move Policy Storage to RWOSylvain Desbureaux1-1/+1
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 changesjhh1-1/+1
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 Elliott1-1/+1
2019-07-11Moving Helm Chart version for El AltoMike Elliott4-4/+4
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-26nexus+mariadb upgrade to latest patch versionsjhh1-1/+1
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 releasesjhh1-1/+1
Change-Id: Ibbe2169bbebc7df1fe628760fb1980cf92aeff9e Issue-ID: POLICY-1700 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-05-16Disable external ports and update versionsjhh3-7/+13
Change-Id: I1d781ad6d0177d6a103986b10f39e36453516e9f Issue-ID: POLICY-1756 Signed-off-by: jhh <jorge.hernandez-herrero@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-03-25replace pdpd image with control loop oneJorge Hernandez8-512/+4
removes installation pieces from component initialization. cleans some misconfiguration. modified license headers Change-Id: I8c8558c8e8fa9c2b79d30a84cebd15d662a2af8b Issue-ID: POLICY-1613 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-07Companion changes for Alpine moveJorge Hernandez1-1/+1
Needed to properly set up java home env var with new OS base Change-Id: I87387e0906e472b617d0d50f30a44713b1c4dfdd Issue-ID: POLICY-1551 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-03-04Match pdp-d base.conf against image install varsJorge Hernandez1-0/+10
Change-Id: Ib34d2d5e7f0e6a1199f4624ef6cef9542cf6fdde Issue-ID: POLICY-1558 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-02-14Point policy images to dublin's snapshotsJorge Hernandez1-1/+1
Change-Id: Ib23ca0502c5d33e14509a501b5dd9b9577cfd4b8 Issue-ID: POLICY-1520 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2019-02-10Update Chart version for Dublin ReleaseMike Elliott4-4/+4
All charts are being bumped from 3.0.0 to 4.0.0 for the Dublin release. In addition the requirement.yaml files have been updated to allow for chart versions that include timestamp suffix. A following on patch will take care of changes to the OOM Makefiles to support injection of the timestamp versions. Change-Id: Ie03d86fad2027e975e8b9106e3a828e4335037cb Issue-ID: OOM-1642 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2019-01-17Merge "global image pull issue Issue-ID: OOM-1563"Borislav Glozman1-1/+1
2019-01-07Match configmap vars with changes in PDP-D imageJorge Hernandez1-10/+10
Change-Id: Ic97c15c781f2b23a094fd6d4da38c298c9206eff Issue-ID: POLICY-1367 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2018-12-21global image pull issuedkamdocs1-1/+1
Issue-ID: OOM-1563 Change-Id: I383dbec29291ba5b13d613f60d8eb343b9c59dda Signed-off-by: dkamdocs <devesh.kumar@amdocs.com>
2018-11-15Sync docker tags with release manifestGary Wu1-1/+1
Sync docker tags with the release manifest from integration repo commit b37a3cfdaf92c4855660d2f0c1b20eb482b99bd4. Change-Id: Iabb203836d0c0adb5604a9303d4a108142ec6757 Issue-ID: INT-663 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-11-09Update policy released artifactsPamela Dragosh1-2/+2
Released for RC2 Change-Id: I04f6873a6810f17f3bbabb310dfd4102068f684b Issue-ID: POLICY-1229 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-11-07Fix bad port variables in helm drools chart.dgermain1-2/+2
Fix bad port variables in helm drools chart template if not NodePort Change-Id: I7b4aac5c7a9619115b2cc8fec4c022d53e1babbe Issue-ID: POLICY-1253 Signed-off-by: dgermain <daniel.germain@cgi.com>
2018-10-31Replaced /ecomp/mso with /onap/so in URLJim Hahn1-1/+1
Change-Id: Iacb326595143e28367178be1196014046495af66 Issue-ID: POLICY-1238 Signed-off-by: Jim Hahn <jrh3@att.com>
2018-10-26Sync docker tags with release manifestGary Wu1-1/+1
Sync docker tags with the release manifest from integration repo commit 73e35266be6609f1eb59d2de3bf819ebd3cb4a79. Change-Id: I8e79691e9d4cf27cc20082bd2dfbf6ee3bc7eef3 Issue-ID: INT-663 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-10-25Enable AAF at installationJorge Hernandez1-0/+1
Change-Id: Ib2a10b46969c6477ec187fb6665079b367ad1718 Issue-ID: POLICY-1216 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
2018-10-18Sync docker tags with release manifestGary Wu1-1/+1
Sync docker tags with the release manifest. It is assumed that the release manifest is the "single source of truth" and that the versions in the helm charts are out of date. Change-Id: I2902e60b25f57409dd616780a626e63c92d26769 Issue-ID: INT-663 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-10-05OOM Install support for SDNC url/credentialsJorge Hernandez1-0/+6
Change-Id: I5968a5eb9fbaa12054a5b6fb61ac5624ce785c3d Issue-ID: POLICY-1183 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-10-01Make AAF install credentials, the defaultJorge Hernandez3-7/+7
The credentials are defaulted to the demo AAF install accounts. These credentials will be used in the default ONAP installation, regardless AAF being used or not. This will allow external clients not to be reconfigured regardless of AAF being on or off. Change-Id: Ib7660f71793b0318b45469219b3802c1d1208a29 Signed-off-by: Jorge Hernandez <jh1730@att.com> Issue-ID: POLICY-1156 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-09-25Updating charts to use common resource templateMandeep Khinda2-2/+2
Issue-ID: OOM-1145 Change-Id: I1510339a820802554b6e8b9a201619ef66be17a0 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-09-25adding unlimited resource limitMandeep Khinda2-2/+4
Adds the ability to turn them off if they are found to cause issues also cleaning up some whitespace Issue-ID: OOM-1145 Change-Id: Idf0ee21f70e1bf65813b7f51ea028f2783a01cf8 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-09-24removing proxy sampleMandeep Khinda1-4/+4
Issue-ID: OOM-1441 Change-Id: I9c1ed6b96c5d956d0e649fd366ee65850b48d6e4 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-09-24Update Chart versions to 3.0Mike Elliott4-4/+4
All Chart versions and requirement dependencies have been updated to 3.0 for Casablanca release. Change-Id: Iea57e5da09ea8a8bac0a415b9a6196151cbea10b Issue-ID: OOM-1354 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-09-20Correct namespace in update-vfw-op-policy.shAbdelmuhaimen Seaudi1-2/+2
The namespace in update-vfw-op-policy.sh should be corrected to be "onap" instead of "onap-policy". Issue-ID: POLICY-1098 Change-Id: Ib1b1ff616645635b2779b8ee6b9aab05b01a76be Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
2018-09-19aaf configuration in policy chartsJorge Hernandez1-2/+7
Change-Id: Ic3d0cbdf6833c4e74f682c6b8b2b93c7c90c9a42 Signed-off-by: Jorge Hernandez <jh1730@att.com> Issue-ID: POLICY-1044
2018-09-19Resource Limits for policyvaibhavjayas4-38/+38
Issue-ID: OOM-1158 Change-Id: I862d88df1ffddaf2f1cfd2b37c44f24118984f3b Signed-off-by: vaibhavjayas <vaibhav.jayas@amdocs.com>
2018-09-12use https for healthchecks and vfw scriptJorge Hernandez1-8/+8
Change-Id: I98f1bd5a354802ebf4be2356b97ec1bbdecce116 Signed-off-by: Jorge Hernandez <jh1730@att.com> Issue-ID: POLICY-1111
2018-08-30OOM changes to support PE httpsMichael Mokry1-0/+1
Made changes to the conf files and scripts to set installation variables and use https in urls Made changes to push-policies.sh and drools base.conf Change-Id: If06b91c7cd2f26f08dfabc1054b03f2813224ace Issue-ID: POLICY-781 Signed-off-by: Michael Mokry <mm117s@att.com>
2018-08-14License Addition for Dcaegen2,Policy,DmaapDurgpal19-0/+45
Issue-ID: OOM-1305 Change-Id: Idb6ad7004b7a4dc20ffafda72d60c8547eedfb9e Signed-off-by: Durgpal <durgpal@amdocs.com>
2018-07-09update software artifacts: beijing -> casablancaJorge Hernandez1-1/+1
Change-Id: I9b162cd02aa472e16e146518e1294f57de1e306b Issue-ID: POLICY-959 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-06-13Fix Policy Nexus liveness initialDelaySecondsBorislavG1-2/+2
Change-Id: If8715327f0c274f00422c5c6e40ee153204470f1 Issue-ID: OOM-1139 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-06-05increase initial liveness/readiness periodsJorge Hernandez1-1/+1
It has been observed in windriver labs that initialization times when downloading artifacts from onap nexus repositories can be fairly long in duration. When network is slow readiness/liveness checks kicked in before the container is fully initialized, therefore restarting the process until it finds a window of time where initialization completes within the time window. This change increments those timers to allow for complete initialization for slow installations. Change-Id: I55f4a87e670020b8e6396a6a6a66f88345f300e7 Issue-ID: POLICY-879 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-06-04disable feature-poolingJorge Hernandez2-9/+8
- reduces replica counts to 1 (still can be scaled out through helm upgrades) for pdp-x and pdp-ds. - disabled feature pooling - forces to get drl template from beijing release. Change-Id: Ifd565ff0fbb7811f78f0fae83080c5398e5de51e Issue-ID: POLICY-879 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2018-05-29Final policy 1.2.3 imagesPamela Dragosh1-1/+1
Final Beijing artifact images Issue-ID: POLICY-844 Change-Id: I7d86c69d23a3c285fc93fa604913e2595e86f00c Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>