summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates
AgeCommit message (Collapse)AuthorFilesLines
2022-10-12[POLICY] Service Mesh Compliance for Policyamatthews1-32/+226
Updating the basic requirements for Service Mesh Compliance within Policy. Changing the DB jobs and updating the configuration files to use HTTP Issue-ID: OOM-2253 Change-Id: If1aed68f0ed2f00d6a5cf06e5f95837f9405f65b Signed-off-by: amatthews <adrian.matthews@est.tech> Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2022-09-21[POLICY] Update strimzi config in policy helm chartsSirisha_Manchikanti1-4/+13
Added strimzi kafka user and topics for policy apex-pdp in relevant helm charts. Updated kafka configuration for policy component helm charts. Corrected policy-group configuration in PAP Issue-ID: POLICY-4134 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: I0f38f4919898c04e4f4dadc820a7627eee6e022a
2022-07-25[POLICY] Add strimzi kafka config from helm chartsSirisha_Manchikanti2-0/+105
Add strimzi kafka user and topics for policy components in relevant helm charts. Issue-ID: POLICY-4133 Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech> Change-Id: If0e1107c03acdfed83bfc359a45ad546d134bd30
2022-04-23[POLICY] Changes for postgresqlwaynedunican2-4/+69
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-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
2021-09-17[POLICY] Update core images/config for m4 istanbuljhh2-2/+31
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 azmy1-0/+1
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
2020-11-27[POLICY] Uses new tpls for repos / imagesSylvain Desbureaux1-2/+2
This commit makes Policy chart to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ibc592fdc393e37c075ce905027d49d70fcbe4d84
2020-10-21[POLICY] change comment styleJakub Latusek3-0/+6
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: I1ef11f209f5070f6f6b9f512f92a704ac08f3529 Issue-ID: OOM-2562
2020-09-11[POLICY] new image versionsjhh1-0/+2
- Changes needed to support the new images. - Add resources to galera config job (POLICY-2820) Issue-ID: POLICY-2789 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id3b87a5931c64f729afcf77861d12fd5e25a5531 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-09-04[GENERAL] Use readiness container v3.0.1Sylvain Desbureaux1-2/+2
Readiness container v3.x and up are now present in ONAP main repository. They're also not using root user anymore and then script path has changed. Finally, "job_complete" script has been integrated in main "ready" script. As those changes are significant, we must upgrade all the components at once. Depends-On: I5afa83892043f4844afe12e61724a8d368a9f2e0 Issue-ID: OOM-2545 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: I0b4eb5dd86390273532d67d0a9696e1cfcadf110
2020-08-27[POLICY] certInit support + refactoringjhh6-288/+9
Several changes are including in this patch: - certInitializer support (POLICY-2615, REQ-361) - renamed policy objects to start with "policy-" prefix (POLICY-1000) - add resources section to components that did not have or had it incorrectly set up rendering null (POLICY-2502) - Removal of legacy policy-engine components (POLICY-2743) - Miscellaneous refactoring of charts (POLICY-2745) - update pdp legacy reference to policy-xacml-pdp from pdp (legacy) Issue-ID: POLICY-2615 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I8b6984a663bbb14d331a366ec02b6dd38755cde7 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-07-31[POLICY] Make POLICY compatible with Kubernetes v1.17Grzegorz-Lis1-1/+4
Issue-ID: OOM-2462 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: Ieda79c0c1109823bef82b714dc7b97b3a84a31c2
2020-04-30[POLICY] update images and fixesjhh1-3/+0
Issue-ID: POLICY-2510 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I1ac9698233d1b570ef3c5759742038c96015ba32 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-04-10[POLICY] Use common secret template in whole policy moduleKrzysztof Opasiak3-20/+25
All subcharts are ready so now we can remove hardcoded mariadb credentials in policy module and depend on common secret chart to generate them for us at the deployment time. Issue-ID: OOM-2342 Change-Id: I84bfc30511312be0b2e614ddff4676f36d85619b Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak4-13/+13
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-11-21[Policy] Use common mariadb galera chartSylvain Desbureaux4-2/+115
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-05-16Disable external ports and update versionsjhh1-2/+5
Change-Id: I1d781ad6d0177d6a103986b10f39e36453516e9f Issue-ID: POLICY-1756 Signed-off-by: jhh <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-09-25Updating charts to use common resource templateMandeep Khinda1-1/+1
Issue-ID: OOM-1145 Change-Id: I1510339a820802554b6e8b9a201619ef66be17a0 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-09-19Resource Limits for policyvaibhavjayas1-10/+2
Issue-ID: OOM-1158 Change-Id: I862d88df1ffddaf2f1cfd2b37c44f24118984f3b Signed-off-by: vaibhavjayas <vaibhav.jayas@amdocs.com>
2018-08-14License Addition for Dcaegen2,Policy,DmaapDurgpal4-0/+17
Issue-ID: OOM-1305 Change-Id: Idb6ad7004b7a4dc20ffafda72d60c8547eedfb9e Signed-off-by: Durgpal <durgpal@amdocs.com>
2018-05-06Fix inconsistent repository referencesBorislavG1-1/+1
Issue-ID: OOM-874 Changes to be committed: modified: aai/charts/aai-babel/templates/deployment.yaml modified: aai/charts/aai-champ/templates/deployment.yaml modified: aai/charts/aai-data-router/templates/deployment.yaml modified: aai/charts/aai-gizmo/templates/deployment.yaml modified: aai/charts/aai-modelloader/templates/deployment.yaml modified: aai/charts/aai-resources/templates/deployment.yaml modified: aai/charts/aai-search-data/templates/deployment.yaml modified: aai/charts/aai-sparky-be/templates/deployment.yaml modified: aai/charts/aai-traversal/templates/deployment.yaml modified: aai/charts/aai-traversal/templates/job.yaml modified: appc/charts/appc-cdt/templates/deployment.yaml modified: appc/templates/statefulset.yaml modified: clamp/charts/mariadb/templates/deployment.yaml modified: clamp/templates/deployment.yaml modified: cli/templates/deployment.yaml modified: common/dgbuilder/templates/deployment.yaml modified: common/mariadb-galera/templates/statefulset.yaml modified: dcaegen2/charts/dcae-bootstrap/templates/job.yaml modified: dcaegen2/charts/dcae-cloudify-manager/templates/deployment.yaml modified: dcaegen2/charts/dcae-healthcheck/templates/deployment.yaml modified: dcaegen2/charts/dcae-redis/templates/statefulset.yaml modified: dmaap/charts/dmaap-bus-controller/templates/deployment.yaml modified: dmaap/charts/dmaap-bus-controller/values.yaml modified: esr/charts/esr-gui/templates/deployment.yaml modified: esr/templates/deployment.yaml modified: msb/charts/kube2msb/templates/deployment.yaml modified: msb/charts/msb-discovery/templates/deployment.yaml modified: msb/charts/msb-eag/templates/deployment.yaml modified: msb/charts/msb-iag/templates/deployment.yaml modified: multicloud/charts/multicloud-ocata/templates/deployment.yaml modified: multicloud/charts/multicloud-vio/templates/deployment.yaml modified: multicloud/charts/multicloud-windriver/templates/deployment.yaml modified: multicloud/templates/deployment.yaml modified: policy/charts/brmsgw/templates/deployment.yaml modified: policy/charts/drools/charts/nexus/templates/deployment.yaml modified: policy/charts/drools/templates/statefulset.yaml modified: policy/charts/mariadb/templates/deployment.yaml modified: policy/charts/pdp/templates/statefulset.yaml modified: policy/templates/deployment.yaml modified: portal/charts/portal-app/templates/deployment.yaml modified: portal/charts/portal-cassandra/templates/deployment.yaml modified: portal/charts/portal-mariadb/templates/deployment.yaml modified: portal/charts/portal-sdk/templates/deployment.yaml modified: portal/charts/portal-widget/templates/deployment.yaml modified: portal/charts/portal-zookeeper/templates/deployment.yaml modified: sdnc/charts/dmaap-listener/templates/deployment.yaml modified: sdnc/charts/sdnc-portal/templates/deployment.yaml modified: sdnc/charts/ueb-listener/templates/deployment.yaml modified: sdnc/templates/statefulset.yaml modified: uui/charts/uui-server/templates/deployment.yaml modified: uui/templates/deployment.yaml modified: vid/charts/mariadb/templates/deployment.yaml modified: vid/templates/deployment.yaml Change-Id: I00aaa1eff3b870db3b475365eeda3f2e10aef6b9 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-04-24Make all services independent of helm Release.NameBorislavG1-4/+4
Issue-ID: OOM-906 Change-Id: Ic65127d3981cb0a696c784392cab59fbf06b1e66 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-04-17incorrect config map mountingmayankg27031-15/+21
Change-Id: I54dbc1ceaf46ddc54a9aeb8504f9dee30f042872 Issue-ID: OOM-918 Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
2018-03-29Correction in policy due to incorrect mergemayankg27031-1/+1
removing cli package change from policy patch Change-Id: I673cfb90f76df877bd9e69f9a185ae7c77ee4b9b Issue-ID: OOM-844 Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com> Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-03-28Add Standardized Configuration to POLICYmayankg270313-818/+233
Change-Id: Iabdb2bba14b5095c08ff2920aec97a213e0acb30 Issue-ID: OOM-745 Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com> Signed-off-by: Mike Elliott <mike.elliott@amdocs.com> Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-03-22License addition in all yamlsvaibhav_16dec10-0/+140
Issue-ID: OOM-821 Change-Id: I627ac962afe8cd6bf2859a30a0e88f6c9ac89d34 Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
2018-03-01Run all components in one namespaceBorislavG10-50/+76
Change-Id: I5fcd4d577c1fda4de27842807c7cf7a5d372756e Issue-ID: OOM-722 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-02-15Replica Scaling of Policy Containervaibhav_16dec6-4/+7
Issue-ID: OOM-689 Change-Id: Iff389af637dec0b85e568dd9b4cfa641f11eb3fc Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
2018-01-25Policy config segreggationvaibhav_16dec8-25/+126
Issue-ID: OOM-553 Change-Id: I8dab41aea5b0fad1395f6deb47b2faa6f7dcbdbc Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
2018-01-18Fix policyAlexis de Talhouët5-18/+10
- remove useless init-check in deployment to match requirement from policy team: https://gerrit.onap.org/r/gitweb?p=policy/docker.git;a=blob;f=docker-compose.yml;h=96fd5073e9d51908dabd04643aa96b42820ac681;hb=HEAD - add missing drools port (9696) - update configuration files to reflect latest Change-Id: I3399c21a3357b649fdc078a0bd4ba4af1f751a9b Issue-ID: OOM-490 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-01-18Disable persisting policy mariadbAlexis de Talhouët2-37/+0
See https://lists.onap.org/pipermail/onap-discuss/2018-January/007199.html Change-Id: Ib75fbb40e99b6c97ccee9285750c9463f9c6a4f8 Issue-ID: OOM-548 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> (cherry picked from commit ccb051441f45e5cf7ee4fa8e59726e794741a2c9)
2017-11-22Update annotations to spec for policyvasundhra5-178/+113
Issue-ID: OOM-406 Change-Id: I23e47dd28502cefc7b64fad7704aacdee51f1fc7 Signed-off-by: vasundhra <vasundhra.choudhary@amdocs.com>
2017-10-29Add option to disable specific deploymentsyuryn8-0/+26
Add option to disable any deployment by using conditions in helm templates. Each deployment will get helm parameter - boolean flag allowing to disable it. The flags can be listed in the custom values.yaml file that can be passed to the createAll script with '-v' command line option. Change-Id: I32b795de46c72915c2201c94c23f4e061971bb56 Issue-ID: OOM-380 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
2017-09-27added filebeat to all componentsyuryn3-0/+89
Deployment of: filebeat containar for each relevant component + chown of log dir to root - prevents filebeat complaining about filebeat file + ecomp web app renamed onap - fixed dep-pap.yaml + fixed multiple volumeMounts in vid-server Change-Id: I74f8f2abd5feeba1d37b044d2a023674fd41c994 Issue-ID:OOM-110 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
2017-09-26Revert "added filebeat to all components"Alexis de Talhouët3-89/+0
Pods aren't starting properly. Let's not take any risk, so reverting. 3m 18s 4 kubelet, kubernetes-5 spec.containers{vid-server} Normal Killing Killing container with id docker://vid-server:FailedPostStartHook This reverts commit 4ca69ea2b6a2aaaf0974953a3c3dec7694fdfcb0. Deployment of: filebeat containar for each relevant component Issue-ID:OOM-110 Change-Id: I7953ac3b0e2a4ecbdd1a7d2a48cb9a1964bf08ab Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2017-09-24added filebeat to all componentsItay Hassid3-0/+89
Deployment of: filebeat containar for each relevant component Issue-ID:OOM-110 Change-Id: I3605a975ee9dbe3e34b8fa6b17fef52e9d29b975 Signed-off-by: Itay Hassid <itay.hassid@amdocs.com>
2017-09-15Fix annotation issue for policyHuabingZhao1-2/+2
The json format is not correct due to lacking of a comma. Issue-Id: OOM-222 Change-Id: I5af614d02e8cddd96efa80d09d72dcf264756ae1 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-09-14Merge "Containers time zone sync"Mandeep Khinda6-0/+38
2017-09-14Containers time zone syncyuryn6-0/+38
Make sure time zones on the containers are in sync with the hosting machines Change-Id: Ie22608bda63cbcdf564f73adcdd3e829afad05ca Issue-ID: OOM-299 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
2017-09-14move policy config to onap 1.1Mandeep Khinda3-27/+2
was the cause of the robot failure for policy in oom Issue-ID: OOM-297 Change-Id: Iabb24cc7a007ef852cde3ebe2cbb9226bb4153b3 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com> Signed-off-by: Ahmed Alabulrahman <ahmed.alabdulrahman@amdocs.com>
2017-09-13Revert "moving certs and keys to k8s secrets"Keren Joseph1-5/+0
This reverts commit 59ffd500ea34c201fbb3edc39e64655fa8381be0. Tested locally and does not work. DmaaP fails to come up causing many other pods to crash loop. failed to start container "dmaap": Error response from daemon: {"message":"invalid header field value "oci runtime error: container_linux.go:247:starting container process caused "process_linux.go:359: container init caused "rootfs_linux.go:53: mounting "/var/lib/kubelet/pods/9ae222e0-98a9-11e7-badd-02cfc855c3b9 /volumes/kubernetes.io~secret/mykey" to rootfs "/var/lib/docker/aufs/mnt /b92c56185f3371cb1f091679780d40797dd2c6124cd00cb8fe68da2b247363a8" at "/var/lib/docker/aufs/mnt/.../appl/dmaapMR1/etc/keyfile" caused "not a directory"""n""} Issue-ID: OOM-293 Change-Id: I348ffa14718bd6e89e99f2859cf6612c10370559 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2017-09-13Fix persistent volumes for multiple onap instancesBorislavG1-3/+3
Deploy multiple namespaces fails due to existing persistence volumes. "persistent-volume "appc-db" already exists" Need to change all persistent volume names to include namespace. Change-Id: I40a3048bef14f813b133ea75e2f664f669183e82 Issue-ID: OOM-294 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2017-09-12moving certs and keys to k8s secretsKeren Joseph1-0/+5
changed location of used certs and keys files, updated deploy yamls and create/delete all Issue-ID: OOM-293 Change-Id: I53766b7028d6b725bf381875105b196246ff2ee1 Signed-off-by: Keren Joseph <keren.joseph@amdocs.com>
2017-09-08Merge "Policy 1.1 in Kubernetes"Mandeep Khinda7-88/+12
2017-09-08Policy 1.1 in KubernetesEric Au7-88/+12
- up verion containers to use 1.1 - pap and brmsgw report it is waiting for pap 9091 port to be open but pdp and pypdp reports pap 9091 port is open - removed push-policies.sh from 1.1 due to comment in CR - removed pypdp container from 1.1 due to comment in CR - removed pypdp.conf from 1.1 due to comment in CR - removed ip_addr.txt from 1.1 due to comment in CR Change-Id: Ibb685ec603a59dba56aa9673044ae1923d993191 Issue-Id: OOM-249 Signed-off-by: Eric Au <kachun.au@amdocs.com>
2017-09-06Persistent volumes for Database storageBorislavG2-0/+37
Addition of persistent volumes for all DBs including persistence of policy mariadb (with initial configuration data) Change-Id: I029e724c3f8bba7fe3599b0955a4a3d213c08163 Issue-ID: OOM-268 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2017-09-05Merge "NodePort Helm Parametrization"Yury Novitsky1-6/+6