aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc
AgeCommit message (Collapse)AuthorFilesLines
2020-02-21[SDNC] Use common secret template in ansible-serverKrzysztof Opasiak4-21/+107
Whole SDNC strongly depends on the assumption that it is using a common mariadb-galera instance and that root password is secret password. Also user and password to sdnc DB is hardcoded. Let's start working on removing this assumption and component by component add support for local and shared mariadb instance without hardcoding any passwords to the database. In this patch all passwords are still hardcoded in the helm chart to not break other parts of SDNC. Those values will be removed in a final patch. Issue-ID: OOM-2309 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Idb460e72301dd63082d7890d34fea923df3ac426
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak26-50/+50
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)6-3/+108
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-18Merge "[SDNC] Use global storage templates for PVC"Borislav Glozman8-142/+189
2019-12-16[SDNC] Use global storage templates for PVCSylvain Desbureaux8-142/+189
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-12-11Merge changes I69ea7e5d,I75f7e823,I2ae6b0f2,I6f1591a6,I30c2e0de, ...Sylvain Desbureaux2-0/+7
* changes: Add ingress controler support to OOF Add ingress controler support to POMBA Add ingress controler support to SDC Add ingress controler support to DMAAP Add ingress controler support to SDNC Add ingress controler support to CDS
2019-12-03Update SDNC helm charts to use latest stable version 1.7.6Timoney, Dan (dt5972)5-5/+5
Update SDNC helm charts to use latest stable version (1.7.6) Change-Id: I98a360cd16e14d8da914278da2509e2c07c2cf5c Issue-ID: SDNC-992 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-11-27Add ingress controler support to SDNCLucjan Bryndza2-0/+7
Issue-ID: OOM-2188 Change-Id: I30c2e0dea0a1fc12fd82090610c7e38f577cc811 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2019-10-23Disable SDNC admin portalTimoney, Dan (dt5972)1-1/+1
Disable SDNC admin portal, due to security vulnerability. Change-Id: I6a54eb262b0a1e6694c6f6951587687466d54acc Issue-ID: SDNC-951 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-10-11Use SDNC 1.7.4 versionTimoney, Dan (dt5972)5-5/+5
Update SDNC helm charts to use version 1.7.4 (final El Alto release) Change-Id: I257ac3b4a5780f612e2bcb84950231ed07a96876 Issue-ID: SDNC-939 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-09-30Fix https config for admin portalTimoney, Dan (dt5972)2-6/+6
Fix config of admin portal to expose https instead of http Change-Id: Ie5d94921fd0fdbe0ea4866385f07fa8859ba59a6 Issue-ID: OJSI-98 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-09-23Update CCSDK/SDNC versions for RC0Timoney, Dan (dt5972)5-5/+5
Update CCSDK version to RCO (0.6.3) and update SDNC version to RC0 (1.7.3) Change-Id: I4af5684ecacd2cf8134a4db51684fb95b488d536 Issue-ID: SDNC-917 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-09-13Update SDNC/CCSDK versions to 1.7.2/0.6.2Timoney, Dan (dt5972)5-5/+5
Update versions of CCSDK and SDNC dockers to 0.6.2 / 1.7.2 Change-Id: Ib8294b292122c924fcbe29a02806dffd5ce935ec Issue-ID: SDNC-905 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-09-11Remove cds charts from sdnc requirementes.yamlAbdelmuhaimen Seaudi1-4/+0
Issue-ID: OOM-2085 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: Ife904f457d65aaaaf63e67b5c2d2db91ad1331ec
2019-09-11Merge "Change admportal port map"Brian Freeman1-2/+2
2019-09-10Seperate CDS chart from SDNC in OOMAbdelmuhaimen Seaudi1-1/+1
Issue-ID: OOM-2085 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: I21fed8c9cf33967f62f156cac96deefdcb4f8d47 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
2019-09-05Change admportal port mapTimoney, Dan (dt5972)1-2/+2
Update SDNC admin portal to map https port (8443) to its node port instead of its http port (8543). Change-Id: Ibfc242853d28c4915d7150e41595edbcfa077447 Issue-ID: OJSI-98 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-31Update SDNC helm charts to use Neon versionTimoney, Dan (dt5972)7-37/+27
Update SDNC helm charts to use Neon-based El Alto images Change-Id: If91320bc663992355f665b3f57f77214e96985cd Issue-ID: SDNC-874 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-22Tune OpenDaylight parametersTimoney, Dan (dt5972)5-0/+283
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-08-20Remove http node portTimoney, Dan (dt5972)1-1/+0
Remove http node port 30202. Users should instead use https node port 30267 Change-Id: I44a907126384092b5f18ad85115c6269279c9d80 Issue-ID: OJSI-99 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-20Update SDNC versionTimoney, Dan (dt5972)5-5/+5
Update sdnc version to 1.6.2 to pick up fixes: SDNC-855 SDNC-853 Change-Id: I2ee5f3d892c9204d56ce7c92f5503b605a607de7 Issue-ID: SDNC-855 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-14Remove unneeded node port 32208Timoney, Dan (dt5972)2-2/+1
Remove unneeded node port 32208 to resolve issue identified with ssh port detected. Change-Id: Ibcbfd0621c2950a2ea3f429f8beb38d03e1910d3 Issue-ID: OJSI-183 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-08Update SDNC/CDS image versions for El Alto early dropTimoney, Dan (dt5972)7-6/+31
Update SDNC image versions for El Alto early drop (1.6.1 for SDNC, 0.5.1 for CCSDK) Change-Id: I48bb223116b4064b7f90847d90bd0453d311b09c Issue-ID: SDNC-827 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-07-14Merge "Initialize SDNC DB from init container"Borislav Glozman4-48/+159
2019-07-11Moving Helm Chart version for El AltoMike Elliott12-17/+17
Updating all helm chart versions to 5.0.0 for the El Alto release. Merge will be co-ordinated with the merge of a separate aai/oom patch. Please do not merge until this coordination has completed. Issue-ID: OOM-1980 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com> Change-Id: I31daaebeacea33565f13affd2fa28fb15fe948ba
2019-07-10Initialize SDNC DB from init containerTimoney, Dan (dt5972)4-48/+159
Updated sdnc helm chart to initialize database from an init container instead of initializing in startup script. Change-Id: I4133c70a5805227d89eef84e46bea8555bf8133d Issue-ID: SDNC-797 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-06-11Update helm charts to use final version of SDNC and CDS docker imagesTimoney, Dan (dt5972)5-5/+5
Update helm charts to use final Dublin version of SDNC docker images (version 1.5.4) and CDS docker images (version 0.4.5) Change-Id: Ibb8ca03fe2a924329b39205bc14b165456e273b7 Issue-ID: SDNC-795 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-06-06Update sdnc/ccsdk versions to 1.5.3/0.4.4Timoney, Dan (dt5972)5-5/+5
Update SDNC and CCSDK versions to reflect latest CCSDK/SDNC docker versions Change-Id: I325a999a77e8e4e9ff7ba3ddbd99b5dc91c46695 Issue-ID: SDNC-793 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-05-29Update to latest SDNC and CCSDK containersTimoney, Dan (dt5972)5-5/+5
Update to use latest CCSDK and SDNC releases (0.4.3 and 1.5.2, respectively). Change-Id: I1412f5b3744a37db87b498650d06889fb90e2d0f Issue-ID: CCSDK-1362 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-05-20SDNC-766: Updating OOM startODL.shDarraghEgan1-0/+2
Changes have been made in the sdnc/oam repo that have not been refelected in the oom repo and this file needs to be updated so both scripts will be the same in each repo. Issue-ID: SDNC-766 Change-Id: I61ef6a09b9ddc3422c0f85ae89d13eb240361f6a Signed-off-by: DarraghEgan <darragh.egan@est.tech>
2019-05-08Change ownership of persistent vol mountTimoney, Dan (dt5972)2-1/+11
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-05-02Update to use released SDNC/CDS artifactsTimoney, Dan (dt5972)5-5/+5
Update helm charts to use released version of CDS and SDNC artifacts. Change-Id: If7c537bb1ce8d991244bd2cfa536a95f8c377107 Issue-ID: SDNC-740 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-17Merge "SDNC using shared mariadb-galera cluster"Alexis de Talhouët20-59/+64
2019-04-12Disable sdnc-portalTimoney, Dan (dt5972)1-1/+1
Updated sdnc-portal values.yaml to prevent sdnc-portal from coming up when SDNC is started. The portal is not currently used and has security issues that need to be addressed before it should be used. Change-Id: I3b37e97cb212489ae9ef7f12e88e21823a97f2e4 Issue-ID: SDNC-702 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-12SDNC using shared mariadb-galera clusterMahendra Raghuwanshi20-59/+64
Change-Id: I41330836901ccf1fcbdd0f9d6e720ce13ea3a9ea Issue-ID: OOM-1651 Signed-off-by: Mahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com>
2019-04-05Merge SDNR change to sdnc startODL scriptHerbert Eiselt1-2/+46
Add SDNR feature and adjust netconf for cluster Change-Id: Idec95539d0becc2f4c09e71e4b66616328775956 Issue-ID: SDNC-721 Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
2019-03-25SDNC-665: Change to startODL for oam repoDarraghEgan1-0/+6
This is for the post operation of keystore to add new keystore to odl while it's coming up and also to add certificates and keys that are available to odl's keystore and truststore When sdnc/oam gets mounted and so does oom repo, the startODL.sh in the oam repo gets overwritten by the startODL.sh in the oom repo. This change updates the startODL.sh so both scripts will be the same in each repo Issue-ID: SDNC-665 Change-Id: Ie9096c4d68e8c0c88682d188194c386e69b0108d Signed-off-by: DarraghEgan <darragh.egan@est.tech>
2019-03-12SDNC-660: Helm integration for Netconf over TLSRahul Tyagi4-1/+90
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-03-04Add CDS as new chartSylvain Desbureaux2-1/+5
CDS (Common Design Studio) was put in common but with the arrival of a chart that hosts the UI, it seems better to have it into its own "root" chart. For now, CDS chart is being installed if it's set as enabled in SDNC. Change-Id: I73bdcfaeb29b796793374513e152244a41e82d52 Issue-ID: CCSDK-1015 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-02-20Fix sdnc ansible server issueTimoney, Dan (dt5972)1-0/+3
Due to change by APPC to CCSDK ansible server, SDNC needs to add back the endpoint command for its ansible container (which it had been getting from the ENDPOINT defined in the Dockerfile. Change-Id: Iecaf32d59554ef8bb461f12aa84d3b2f10ebb85a Issue-ID: SDNC-639 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-02-19Merge "Update SDNC container versions for Fluorine"Hong Guan7-8/+9
2019-02-12Update SDNC container versions for FluorineTimoney, Dan (dt5972)7-8/+9
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>
2019-02-10Update Chart version for Dublin ReleaseMike Elliott12-17/+17
All charts are being bumped from 3.0.0 to 4.0.0 for the Dublin release. In addition the requirement.yaml files have been updated to allow for chart versions that include timestamp suffix. A following on patch will take care of changes to the OOM Makefiles to support injection of the timestamp versions. Change-Id: Ie03d86fad2027e975e8b9106e3a828e4335037cb Issue-ID: OOM-1642 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-11-21Sync docker tags with release manifestGary Wu5-5/+5
Sync docker tags with the release manifest from integration repo commit a7c98ae0fabb0a94fbdc030e6f7c519439923045. Change-Id: Idb73aa4f05a948b7e1d70723cc6a52b8fd6f0517 Issue-ID: INT-663 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-11-20Sync docker tags with release manifestGary Wu5-5/+5
Sync docker tags with the release manifest from integration repo commit 0aad96cbbcdb97c2b074cb83d367c29dac6243df. Issue-ID: INT-663 Change-Id: I877077c3a35cb196c89ebb0e27dfe452e12b5249 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-11-19Fix SDNC initializationTimoney, Dan (dt5972)1-11/+17
Updated start script so that initialization of local file system is handled by a local lockfile, while initialization of database is handled by a lockfile on persistent volume. Change-Id: I5ef6aa672f0863bf0d6b656b7445b42d3fbe12e5 Issue-ID: SDNC-525 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-11-15Sync docker tags with release manifestGary Wu1-1/+1
Sync docker tags with the release manifest from integration repo commit b37a3cfdaf92c4855660d2f0c1b20eb482b99bd4. Change-Id: Iabb203836d0c0adb5604a9303d4a108142ec6757 Issue-ID: INT-663 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-11-15Set lcm restconf user/passwordTimoney, Dan (dt5972)1-3/+5
Set lcm user/password in lcm-dg.properties Change-Id: I76f109f7bf9096128dabdcb52448a0fe85e0da35 Issue-ID: SDNC-252 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-11-14Store .installed marker in persistent volumeTimoney, Dan (dt5972)1-2/+8
Store .installed marker in persistent volume (/opt/opendaylight/current/daexim) Change-Id: If54d40225e8eb30bcd3f133801726ae5f90b02a2 Issue-ID: SDNC-518 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-11-09Merge "Update log config to log4js format"Alexis de Talhouët1-113/+100