aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/a1policymanagement/templates/deployment.yaml
AgeCommit message (Collapse)AuthorFilesLines
2021-06-11[PMS] Persistent storage of policies and type definitionsPatrikBuhr1-128/+0
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 definitionsPatrikBuhr1-2/+14
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-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ńka1-2/+30
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 chartsLathish1-0/+75
Issue-ID: CCSDK-2492 Change-Id: Ide809298d075471b457cfb93fee77658c7cb597c Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>