aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/a1policymanagement/templates
AgeCommit message (Collapse)AuthorFilesLines
2021-06-11[PMS] Persistent storage of policies and type definitionsPatrikBuhr3-79/+14
Improvements: - Using common metadata for the PV and the PVC. - Changed the deployment to a stateful set. Even Deployments with one replica using ReadWriteOnce volume are not recommended. This is because the default Deployment strategy creates a second Pod before bringing down the first Pod on a recreate. The Deployment may fail in deadlock as the second Pod can't start because the ReadWriteOnce volume is already in use, and the first Pod won't be removed because the second Pod has not yet started. Instead, use a StatefulSet with ReadWriteOnce volumes. Change-Id: If3477be43eee5348a9142cceb832bbb2bf9d6017 Issue-ID: CCSDK-3256 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2021-04-29[PMS] Persistent storage of policies and type definitionsPatrikBuhr3-2/+97
Policy types and type definitions are stored persistently to survive a restart of PMS. Added persistent volume claim. Change-Id: Ia947bb71a6bdee3a8e576337b2870c54ee3c08f9 Issue-ID: CCSDK-3256 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
2021-03-30[CCSDK] Fix error logs due to empty URLRehanRaza1-0/+24
The gating tests for Honolulu have reported flooding of error messages in SDNC because the ricLink in values.yaml was not set. The information about RICs can now be provided in values.yaml Change-Id: I8ef67c27ed95432fb90de88b2976f39068fa7be0 Issue-ID: CCSDK-3227 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech> [Improve ric list generation] Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2021-03-24[CCSDK] Correct permissions of mounted configmapsKonrad Bańka1-1/+1
One configmap contains scripts that need to be executable. It turns out that by mistake such file permissions were granted to wrong volume by mistake. Issue-ID: CCSDK-2958 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: If02b4579981bcf3ba52304013f3be4ec43e2672c
2021-02-28[A1P] Retrieve the certificates automaticallySylvain Desbureaux1-6/+19
Instead of using hardcoded certificates in the container, let's retrieve them automatically. Issue-ID: OOM-2681 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: If08469469fecdc8bf86d080980f221e5941a2329
2020-11-21[A1Policy] Uses new tpls for repos / imagesSylvain Desbureaux1-2/+2
This commit makes A1 Policy Management 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: I862bb425b05e152c669f8ff6ecbe34c96af4f6e7
2020-11-05[CCSDK] Make a1policymanagement react on ConfigMap updatesKonrad Bańka2-2/+53
Updated Deployment spec to template ConfigMap files in runtime allowing live reaction of application to config changes. Provided Configmaps with scripts to handle monitoring configmap-provided files. Updated envsubst to explicitly point to downloaded version. Issue-ID: CCSDK-2958 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I22e18f2838c0956f899cb9fa96d9fd862e6c6942
2020-09-16Add A1 Policy Management Service helm chartsLathish4-0/+137
Issue-ID: CCSDK-2492 Change-Id: Ide809298d075471b457cfb93fee77658c7cb597c Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>