summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/statefulset.yaml
AgeCommit message (Collapse)AuthorFilesLines
2021-04-06Merge "[SDNC] Add readiness check for sdnc-dbinit job"Sylvain Desbureaux1-0/+2
2021-04-06Merge "[SDNC] Enable SDNC to use external oauth provider"Sylvain Desbureaux1-1/+16
2021-04-02[SDNC] Enable SDNC to use external oauth providerdemskeq81-1/+16
- add additional environment variables - add config file for external oauth-providers Issue-ID: OOM-2675 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com> Change-Id: I235d3f46f5d109a1e82bdaa3c9de97508116fbe3 [Improve secretes handling] Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2021-04-02[SDNC] Add readiness check for sdnc-dbinit jobDan Timoney1-0/+2
sdnc container needs to wait for completion of its dbinit job before coming online. This appears to be root cause for a recurring issue we have seen in gating runs and in weekly run, where we see errors that directed graphs are missing. Issue-ID: SDNC-1512 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I3fb9dad6b36fc8a549094e94b0a6a8936f9a4916 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2021-03-31[CCSDK-SDNC] Bump versions for HonoluluDan Timoney1-0/+82
Bump versions of CCSDK (including CDS) and SDNC images for SDNC Honolulu release. Fixed issues found in CDS command-executor and py-executor pods. Added missing env variable settings. Issue-ID: CCSDK-3125 Issue-ID: SDNC-1473 Issue-ID: CCSDK-3192 Issue-ID: CCSDK-3197 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Id3bbe696313c568dc9ffb328715a7fc572330411
2021-03-18[SDNC] Change path to daexim directory 2demskeq81-0/+1
remove wrong daexim link Issue-ID: SDNC-1475 Change-Id: I52d1da10082a6fee846461ce18fc0913aea85e18 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com>
2021-02-19[SDNC] Fix issue with certs from CMPv2 by Netconf (TLS)Piotr Marcinkiewicz1-1/+12
- correct cmpv2Certificate to take outputType from 'certificates' - add postStart hook for CertManagerIntegration to make cert dir writable - add setting ODL_CERT_DIR env Issue-ID: SDNC-1477 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I4531392cc4f113b173d10a27b98b1fe97d6faa4d
2021-02-15Merge "Change path to daexim directory"Sylvain Desbureaux1-1/+3
2021-02-10Change path to daexim directorydemskeq81-1/+3
configure absolut path for daexim persistent directory Issue-ID: SDNC-1475 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com> Change-Id: I1cfc348b733dee2e02b1a0193f6cba3c78e61d91
2021-02-05[COMMON] Create certManagerCertificate chartPiotr Marcinkiewicz1-0/+6
- Create certManagerCertificate chart for Certificate template - Change default values for duration and renewBefore - Add creation Secret with keystore password - Use template in SDNC (add volumes and volumesMounts) Issue-ID: OOM-2568 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: Ib70d91b599fa6813ed0a6d5b96206508f2fdafcf
2021-02-02Merge "[SDNC] Provide proxy settings for sdnr mountpointRegistrar"Sylvain Desbureaux1-0/+7
2021-01-25[SDNC] Provide proxy settings for sdnr mountpointRegistrardemskeq81-0/+7
proxyUser, ProxyPassowrd and proxyUrl for jersey.config.client.proxy settings Issue-ID: OOM-2662 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com> Change-Id: I9136e71153ccce88b8bc8a6501ebdea2eb3a93cb
2021-01-20[COMMON] Add template for CertServiceClientRemigiusz Janeczek1-57/+6
Create generic template to simplify CertServiceClient use Issue-ID: OOM-2568 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I4fb9829b27b1dd13a9e7a098f807710cc5648438
2021-01-15[SDNC] Move ODL persistent data to pvcDan Timoney1-4/+19
In OpenDaylight, there are three types of data that we want to retain: - exported backups (stored in /opt/opendaylight/daexim) - journals (stored in /opt/opendaylight/journal) - snapshots (stored in /opt/opendaylight/snapshots) This change saves all 3 directories to the sdnc persistent volume so that they are retained across restarts. Issue-ID: SDNC-1455 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I6b068c7a7bce294f94f9697a34027010bb5bfe8f
2021-01-12[SDNC] Tuning fixes for SDNCDan Timoney1-0/+3
Corrected issue in values.yaml that was causing OpenDaylight akka configuration file override not to be loaded properly. As a result, we are seeing memory-related exceptions (circuit-breaker exception), whic seems to be contributing to a memory leak error. Also, updated configuration to enhance logging so that summary of messages in/out (aka 'audit log') is written for debugging purposes. Issue-ID: SDNC-1430 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I2a3950ecde1c53f8e68b11bbc9c0ddc136f67b54
2020-11-27[SDNC] Uses new tpls for repos / imagesSylvain Desbureaux1-6/+6
This commit makes SDNC 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: Iec8379934829947be1cb466b007c949a8448e742
2020-11-05Merge "[SDNC] Change sdnc to single startup script solution"Sylvain Desbureaux1-11/+0
2020-11-04[SDNC] Change sdnc to single startup script solutionAlexander Dehn1-11/+0
remove startup scripts Issue-ID: OOM-2610 Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com> Change-Id: Ia09de604cc502ecbbd7575cd5dd2374f253820ed
2020-10-20[SDNC] wrong configuration in mountpoint-registrar.propertiesAlexander Dehn1-0/+5
add odl secrets in update-config init container Issue-ID: OOM-2551 Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com> Change-Id: I0f3524f68149b23f4679d7dec979aa429db48ca2
2020-10-08[SDNC] Make cmpv2Enabled control the creating of volumes and mountsegernug1-0/+4
Issue-ID: SDNC-1136 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: Id8c02dc9546165c42be79b879a6207fef969b543
2020-09-24Merge "[SDNC] Deploy external TLC cert in ODL"Sylvain Desbureaux1-1/+51
2020-09-21[SDNC/CCSDK] Guilin version bumpDan Timoney1-0/+2
Bump image versions to use Guilin M4 version of SDNC images and of CCSDK dgbuilder. Note - SDNR remains disabled in this commit pending fix to its endpoint. Also, note that CDS version bump is not included - that will be submitted as a separate review. Issue-ID: SDNC-1355 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I8d660a8e303a18d4674f832b9239fa50c5abf3f2
2020-09-21[SDNC] Deploy external TLC cert in ODLegernug1-1/+51
Changes for 111973 Issue-ID: SDNC-1136 Signed-off-by: esobmar <mariusz.sobucki@est.tech> Change-Id: If185ee3658b8f51a969bb3505f8bfb163cfea2a3 Signed-off-by: egernug <gerard.nugent@est.tech> Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> [Access EJBCA secret from cert service] Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2020-09-14[SDNC] broken handling of aaiclient.propertiesAlexander Dehn1-0/+3
fix issue in startOdl.oom.sh Issue-ID: OOM-2561 Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com> Change-Id: I1760155bf250dd7e3dd1c816b65df9b9c245de24
2020-09-04Merge "[GENERAL] Use readiness container v3.0.1"Krzysztof Opasiak1-2/+2
2020-09-04[GENERAL] Use readiness container v3.0.1Sylvain Desbureaux1-2/+2
Readiness container v3.x and up are now present in ONAP main repository. They're also not using root user anymore and then script path has changed. Finally, "job_complete" script has been integrated in main "ready" script. As those changes are significant, we must upgrade all the components at once. Depends-On: I5afa83892043f4844afe12e61724a8d368a9f2e0 Issue-ID: OOM-2545 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: I0b4eb5dd86390273532d67d0a9696e1cfcadf110
2020-09-02[SDNC] Remove hard-coded busybox imageAlexander Dehn1-1/+1
get image values from global busyboxRepository/busyboxImage Issue-ID: OOM-2543 Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com> Change-Id: I5f0ef76fb8072b45bd9ad10d8580484656049b76 Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com>
2020-08-31[SDNC] oom for clustered disaggregated SDN-RAlexander Dehn1-15/+39
use disaggregated elasticserach DB from common Issue-ID: SDNC-1165 Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com> Change-Id: I0c6ac6549f6c144f0ed5a64ae76a1fa352f740d2
2020-08-25Merge "[SDNC] Set STDOUT Log level"Krzysztof Opasiak1-0/+2
2020-08-25Merge "Unable to boot SNDC pod without AAF"Sylvain Desbureaux1-1/+8
2020-08-12Unable to boot SNDC pod without AAFLucjan Bryndza1-1/+8
SDNC pod is always in waiting state after deploy when AAF is disabled. Change-Id: Ie986889fe53f53d51b8e8a63895c156bf1d6b521 Issue-ID: OOM-2439 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2020-07-23[SDNC] Set STDOUT Log levelSylvain Desbureaux1-0/+2
Use of common.log.level template in order to set the log level for STDOUT on SDNC. Issue-ID: OOM-2516 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I1fde92c11f769a028292325bf67ed9654948a46f
2020-07-23[SDNC] Make SDNC compatible with Kubernetes v1.17Grzegorz-Lis1-1/+4
Issue-ID: OOM-2466 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: Ia007cd54ae20fda08f6e4359248ea5dbac42ac92
2020-05-28Update SDNC/CCSDK to Frankfurt RC2 versionsDan Timoney1-1/+1
Update versions for SDNC and CCSDK dockers to reflect Frankfurt RC2 versions. Issue-ID: SDNC-1171 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Iaf34379550d148a164341dac6c44fa20926b8ccb
2020-05-20[SDNC] Use common aaf template in sdncKrzysztof Opasiak1-13/+7
Instead of copy-pasting code around aaf_agent usage let's use a common template that automates this. Issue-ID: AAF-1134 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I66886290a1a13ca1c1d924b4d1128adc293b301c
2020-05-04[SDNC] Use common aaf template in SDNCKrzysztof Opasiak1-59/+10
Issue-ID: AAF-1134 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I62eb9f20c66e4b26bc4625b121e52cf70d2b4063
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>