summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/statefulset.yaml
AgeCommit message (Collapse)AuthorFilesLines
2020-04-06[SDNC] Provide hardcoded aaiclient.properties file via helmKonrad Bańka1-0/+4
Currently /opt/onap/ccsdk/data/properties directory with its configfiles is saved in sdnc image and not provided via helm. File "aaiclient.properties" stored there appears to be used for determining AAI URI by directed graphs. In this patch, aaiclient.properties provided by configmap is added to this directory, with still being passed to previous one. This helps with following error you could see in karaf logs: 2020-04-06T11:18:12,714 | WARN | qtp1411815619-117 | AAIService | 218 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.7.1 | - 33 (update) | java.net.UnknownHostException: aai.api.simpledemo.onap.org Issue-ID: SDNC-1130 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I8ed73f49092912419794abac1f8ccd6325672eb5
2020-03-30[SDNC] Use faster version of common secret templatesKrzysztof Opasiak1-20/+22
Issue-ID: OOM-2051 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I6cf72e3d6dcd8eab5f913b86febc7a21d02c1ecb
2020-03-04[SDNC] Use common secret template in sdncKrzysztof Opasiak1-42/+78
Some passwords are still hardcoded but with this commit all components should be using passwords provided via secrets not directly as strings. A follow-up patch will remove hardcoded passwords where feasible. Issue-ID: OOM-2309 Change-Id: I047974506430cbb277200d0103bcc57a6fd8a83b Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak1-3/+3
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
2020-01-21aaf auto cert generationAgarwal, Ruchira (ra1926)1-0/+55
Add support for AAF init container for config and cert generation Issue-ID: SDNC-755 Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com> Change-Id: I06ee7921b6dbb1b4b9ca64cf276a374256af3a45 Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com>
2019-12-16[SDNC] Use global storage templates for PVCSylvain Desbureaux1-12/+13
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 used "range" for PV creation of the statefulset I've created one file per PV (one for mdsal, one for certs). sdnc-prom was using hostpath directly on deployment, move to a PV/PVC. Change-Id: Id9eed3b13ac85595c386e380f41cfbc38b52c69f Issue-ID: OOM-1227 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-08-22Tune OpenDaylight parametersTimoney, Dan (dt5972)1-0/+9
Add files to tune akka settings in OpenDaylight. Also, added setenv to tune Java settings. Change-Id: I2071fceb48f990929cd9f4c885bd0c9f7db0263c Issue-ID: SDNC-858 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-05-08Change ownership of persistent vol mountTimoney, Dan (dt5972)1-1/+9
Persistent volumes must be writable by non-root user odl. So, change ownership of the mount to odl user. Change-Id: Ie2ff285bd623a7b69289bc438ff16a2724fd7ded Issue-ID: SDNC-749 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-12SDNC using shared mariadb-galera clusterMahendra Raghuwanshi1-3/+3
Change-Id: I41330836901ccf1fcbdd0f9d6e720ce13ea3a9ea Issue-ID: OOM-1651 Signed-off-by: Mahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com>
2019-03-12SDNC-660: Helm integration for Netconf over TLSRahul Tyagi1-1/+10
This commit introduces a persistent volume for "NETCONF over TLS" usecase in SDNC, so that certificates can be fetched from persistence at deployment time of SDNC/ODL. This functionality can be enbaled/disabled using flag oom/kubernetes/sdnc/values.yaml values.certpersistence.enabled true/false. By default this is enabled (.i.e. true). Mounted paths are Host path : /dockerdata-nfs/sdnc/certs Container path : /opt/opendaylight/current/certs Issue-ID: SDNC-660 Change-Id: Iab2ecdfcb890b6dc779de12655f0fb7bd869fb0f Signed-off-by: Rahul Tyagi <rahul.tyagi@ericsson.com>
2019-02-12Update SDNC container versions for FluorineTimoney, Dan (dt5972)1-0/+2
Update SDNC container versions for Dublin based on Fluorine Change-Id: I7e6b0a984b228ada0c52e86352e420c751f37722 Issue-ID: SDNC-552 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.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-09-21Add missing properties files to SDNCAlexis de Talhouët1-0/+6
Missing netbox and blueprint-rest-adaptor Change-Id: Ifa4f2095190718ae8dc3412eac99ae242978c97e Issue-ID: CCSDK-589 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-09-13Resource Limits for sdnctoshrajbhardwaj1-1/+1
Issue-ID: OOM-1162 Change-Id: Ifb06ba4377152148ab817ec48e8cdd62bbff7f5d Signed-off-by: toshrajbhardwaj <toshrajbhardwaj@gmail.com>
2018-07-01Merge "make sdnctl user db password configurable for SDNC"Borislav Glozman1-0/+5
2018-05-30make sdnctl user db password configurable for SDNCjmac1-0/+5
Change-Id: Ic5eda9c33abca03e2f0bc788261a3a769c5ad7ab Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-970
2018-05-15SDN-C db schema/sdnctl not reliably being createdMohammadreza Pasandideh1-1/+1
Change-Id: I7fa43e090c11956eb68f89ec65bfe0ee7922c78e Signed-off-by: Mohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com> Issue-ID: OOM-887
2018-05-15Merge "Fix Geo Config"Mandeep Khinda1-0/+8
2018-05-15Merge "Add separate PV for each SDN-C MYSQL pod"Mandeep Khinda1-4/+4
2018-05-14Fix Geo ConfigTrevor Tait1-0/+8
Issue-ID: SDNC-290 Change-Id: I68776259f5950d07e3b2c76b046d2b8b596bbc34 Signed-off-by: Trevor Tait <rtait@amdocs.com>
2018-05-11Add OOM chart for SDNC ansible server podjmac1-0/+3
Change-Id: I0b62374a635b3f64c4d15b74eca8924c86082e92 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: SDNC-312
2018-05-11General cleanup of SDNC chartsjmac1-51/+22
Addressing issues like: - missing property files - hard-coded ports - hard-coded ODL passwords - improper configMap mounts - incorrect service names Change-Id: I74726ffedbfc20e164a814ca8777a699b92b3d65 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: SDNC-310
2018-05-08Add separate PV for each SDN-C MYSQL podMohammadreza Pasandideh1-4/+4
Change-Id: I5238ee63c2e7adadaaf9a25cf2c72dab03ed1af8 Signed-off-by: Mohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com> Issue-ID: SDNC-299
2018-05-06Fix inconsistent repository referencesBorislavG1-2/+2
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-05-02Add PV for SDN-C MD-DAL data exportsjmac1-3/+20
The path '/opt/opendaylight/current/daexim' is now mapped to a persistent volume that will survive pod restarts and destruction. A separate PV is created for each SDN-C instance with the same ordinal as the corresponding sdnc pod. Change-Id: Ib5373fc2ae25b70992ff69e78571106f37af72e4 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: SDNC-223
2018-04-24Make all services independent of helm Release.NameBorislavG1-1/+1
Issue-ID: OOM-906 Change-Id: Ic65127d3981cb0a696c784392cab59fbf06b1e66 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-04-16Fix SDN-C bundles that don't come up properlyjmac1-1/+1
Change-Id: Ieccbd863e45bb68d76f4f1f066433276c9adf3cd Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-945
2018-04-07Ensure sdnctl user/schema created on master MySQLjmac1-1/+1
Change-Id: I5507d23ff62c9d5d5d19f86374ea91ccea2e95a9 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-887
2018-04-02Add Standardized Configuration to SDN-C Chartjmac1-0/+188
Change-Id: I9f4d43c2a3f0766b9c8477a180f5a0bd45fde243 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-748