aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mysql/templates
AgeCommit message (Collapse)AuthorFilesLines
2019-12-05[Common] Use global storage templates for PVCSylvain Desbureaux7-648/+0
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 I've also aligned the PV creation of the different charts. I've also aligned the PVC creation of the different charts. I've removed unused mysql chart and (badly) used nfs-provisioner chart. I've also make cassandra backup work with dynamic PV (but RWX only for now). Change-Id: I0ea3f8c7514ca648d94b6c682684c06b822bbe0a Issue-ID: OOM-2229 Issue-ID: OOM-2228 Issue-ID: OOM-2227 Issue-ID: OOM-1227 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-02-22OOM-1373 Add missing label release to componentssushil masal4-0/+32
Issue-ID: OOM-1373 Change-Id: Ifc6593a7e8f8622bfec29b942c5c75cdb59c997d Signed-off-by: sushil masal <sushil.masal@amdocs.com>
2018-10-30Add missing selectors on PVCAlexis de Talhouët1-0/+3
Change-Id: If156e738a26c7c19043657c97ac327125c5162db Issue-ID: OOM-1486 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.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-05-17Multi-site High-availability Manual Failover (PoC)Neha Jain1-5/+5
Change-Id: I9f1417a77b0e3cae23f55b1bfc1d419730d8f9cd Signed-off-by: Neha Jain <neha.jain3@amdocs.com> Issue-ID: SDNC-214
2018-05-08Add separate PV for each SDN-C MYSQL podMohammadreza Pasandideh4-59/+53
Change-Id: I5238ee63c2e7adadaaf9a25cf2c72dab03ed1af8 Signed-off-by: Mohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com> Issue-ID: SDNC-299
2018-05-08Merge "Update mysql configuration file to change sql_mode"Borislav Glozman1-0/+2
2018-05-07Fix persistent volume to be mapped to Release.NameBorislavG2-2/+2
Change-Id: I98754174e50537df2e82a9d9b40f471edff19e69 Issue-ID: OOM-907 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-05-04Update mysql configuration file to change sql_modeAaron Hay1-0/+2
Aggregated query without group by results errors when performing LCM actions unless the sql_mode value is changed. Change-Id: I91c6ef71f22d32cf401a5113ae4e28e1ab554bb6 Issue-ID: APPC-878 Signed-off-by: Aaron Hay <ah415j@att.com>
2018-04-24Make all services independent of helm Release.NameBorislavG2-10/+10
Issue-ID: OOM-906 Change-Id: Ic65127d3981cb0a696c784392cab59fbf06b1e66 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-04-19fix nfs-provisioner for appc and sdncJerome Doucerain4-15/+6
change in common/mysql/templates/pvc.yaml to allow pvc use when persistence is required change in common/mysql/templates/storageclass.yaml to be led by the disableNfsprovisioner variable change in appc/values to default the disableNfsprovisioner to false as it is in sdnc changing the default disableNfsprovisioner to true for both appc and sdnc changing the stateful set avoid volumeclaimtemplates. When used in helm, the volumeclaimtemplates is causing pvc to be left after the helm delete --purge. I guess this is due to the fact the pvc are not directly created by the helm install by indirectly by kubernetes Now the tests are working in both cases (nfsprovisioner disabled or not) The only piece remaining after a helm delete is pv in released state in case we are using nfsprovisioner. That makes sense again because this are objects created by the provisioner and not by helm. removed some leftover Issue-ID: OOM-787 Change-Id: Ieb1f1c482217aeb1b89be39a437bb891a299db71 Signed-off-by: Jerome Doucerain <jerome.doucerain@bell.ca>
2018-04-10Restore pv and pvc in mysql chartjmac8-9/+164
This change restores the pv.yaml and pvc.yaml that were previously removed. These are required for the case when the NFS provisioner is disabled. I've added a condition to these files such that they should be disabled if the NFS provisioner is enabled. The two ways of managing entities need to be mutually exclusive. Borislav: Solution for directory creation problem upon first deployment with persistence enabled Borislav: Fixed licenses for mysql Change-Id: I9879b3b6574f8026a28793b9d86d6ef3ec9ce2e9 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-889
2018-04-05Fix for MySQL local redundancyjmac5-57/+30
Change-Id: I453a75ba1a8604d06d95c0accde2a77b3f791ae3 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-878
2018-04-03Multi-site High-availability Manual Failover (PoC)Neha Jain2-2/+28
Change-Id: Ib11a01170962a932466bcfb1b12e6e0563476e73 Signed-off-by: Neha Jain <neha.jain3@amdocs.com> Issue-ID: SDNC-214
2018-03-26Add fix for build dependeciesMike Elliott8-0/+472
Moved mysql and dgbuilder under common (built first) to ensure they are built before appc and sdnc charts that depend on them. Change-Id: I2fc28f0537b2639bd2b761c6f115544965a228b1 Issue-ID: OOM-830 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>