summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc
AgeCommit message (Collapse)AuthorFilesLines
2023-06-20[SDNC] Create Authorization Policies for SDNCAndrewLamb11-0/+171
Add initial authorized serviceaccounts for each SDNC service Issue-ID: OOM-3131 Change-Id: I56db8f5d16ec15400fdd240c5a0126e2381f7237 Signed-off-by: AndrewLamb <andrew.a.lamb@est.tech>
2023-04-19[SDNC] Correct baseUrl in mountpoint-registrarAndreas Geissler2-6/+22
Change the URL from localhost to the SDNC service Added missing section in file (OOM-3062) Issue-ID: OOM-3063 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I8e05694896c54ed57b4b8e7d0633977fb1800e58
2023-03-29[SDNC] Chart cleanup from TLS/AAF optionsAndreas Geissler24-254/+100
Remove checks and add the usage of common templates Add information about external access to SDNC-callhome and add ingress setup for it Issue-ID: OOM-3122 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I7b32832ee31d811c23b4eaa5d43f7aa9d767c353
2023-03-03[COMMON] Fix resources indentmiroslavmasaryk1-1/+1
Fix of resources template indent and therefore resources in components Issue-ID: OOM-3104 Signed-off-by: miroslavmasaryk <miroslav.masaryk@telekom.com> Change-Id: I825a3860db00cae4bb80b2aa2d82ac1a42b33124
2022-12-19[SDNC] Version bump for final Kohn release for SDNC and CDSDan Timoney5-5/+5
Contains bug fix for dmaapListener version Issue-ID: SDNC-1765 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I1f5f84bd230c51b517be0a6ee951a58649b21176
2022-11-10[COMMON] Bump ONAP versionAndreas Geissler6-37/+37
Update chart versions 12.0.0 for London Issue-ID: OOM-3046 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Ic196235ff4f6ae14a7ecad799bd75a9666b2594a
2022-11-03[SDNC] Simplify cert retrieval scriptSylvain Desbureaux2-10/+8
As retrieving values is now done via a generic script, let's clean a little bit cert retrieval in order to remove unneeded part. Issue-ID: OOM-2688 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I0089a954a42d900fe06a591594bbc89d56bfeb01
2022-10-28[SDNC] Version bump for SDNC Kohn RCTimoney, Dan (dt5972)5-6/+6
Version bump for SDNC Kohn RC milestone. Also, change callhome port from 6666 to 4334 to comply with RFC standard, implemented in ODL Sulfur release Issue-ID: SDNC-1744 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Change-Id: I1e5576d0b51d140a8899e8e48d27f4ab071c44e3
2022-10-26Merge "[SDNC] Fix service template for ServiceMesh case"Fiachra Corcoran1-5/+0
2022-10-21[COMMON] Harmonize all component ingress configAndreas Geissler1-3/+5
Harmonize all ingress definitions using schema: <component>-<application>-<api|ui> and adding plain_port attributes to support SM Issue-ID: OOM-3000 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I8212774ba194758d7cf23bc2085edcc4eacd2539
2022-10-20[SDNC] Fix service template for ServiceMesh caseAndreas Geissler1-5/+0
sdnc-oam service was not created correctly in case of a nonTLS deployment Issue-ID: OOM-2495 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I095f8a466d9d1df62800a28d2538e75db597e023
2022-09-30[SDNC] Version bump of SDNC images for Kohn releaseTimoney, Dan (dt5972)5-5/+5
Update SDNC image versions for Kohn release Issue-ID: SDNC-1734 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Change-Id: I4bf12b7719055d0f07ecd25daa4a0747bf0b0ed0
2022-08-17[COMMON] Update Makefiles to enable parallelizationAndreas Geissler2-14/+20
All Makefiles are updated to support SKIP_LINT option, have a defined order of compilation (common -> components) to support the parallel compilation of charts using: make all -j8 (for 8 Jobs). Additionally use cm-push instead of push to use the new K8S/Helm version Issue-ID: OOM-3011 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: If9903c9d5bc646b5ce54075acc616e98c4b6706e
2022-07-11Merge "[SDNC] SDNC ServiceMesh compatibility"Andreas Geissler8-12/+72
2022-06-28[SDNC] SDNC ServiceMesh compatibilityRadoslaw Chmiel8-12/+72
SDNC charts and properties file changes to make it work with servicemesh Issue-ID: OOM-2983 Signed-off-by: Radoslaw Chmiel <r.chmiel@partner.samsung.com> Change-Id: I30bf8948f65d6a1b912c3f840ca44cead03bdc96
2022-06-24[COMMON] Bump ONAP versionAndreas Geissler6-37/+37
Use version 11.0.0 for Kohn Issue-ID: OOM-2971 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Icc0e0839fc6def2035383b5fa4c9153fc15fafda
2022-06-08[SDNC] Update image to install final Jakarta fixesDan Timoney5-5/+5
Update versions for SDNC images to install final Jakarta fixes. Issue-ID: SDNC-1706 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ic0c7ddf9f61f020889aa814d7031f6f76a473a8f
2022-05-12[SDNC] Version bump for Jakarta RCDan Timoney5-5/+5
Bump SDNC image versions to 2.3.1 to install fixs for Jakarta RC. The changes are bug fixes, primarily to service logic (aka 'directed graphs') Issue-ID: SDNC-1685 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I6235702f1188b0e594977280c09bca24557263f7
2022-05-10[SDNC] Fix Oauth fieldsebdet1-2/+2
The field redirectUri crashes the oauth feature because there too many double quotes dumped in the oauth config file Change-Id: Ia69a1b6185e4a6cab56061d1d168d783d67518f2 Issue-ID: SDNC-1697 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
2022-04-28[COMMON] Fix 'trap RETURN' and $BASHPID bashismsguillaume.lambert1-3/+3
pointed out by checkbashisms. Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: I19e7f50d5a98087d59cbe99778bee1a5f7a3a27c
2022-04-19[CCSDK][SDNC] Install Jakarta versionsDan Timoney4-4/+4
Install Jakarta M4 versions of CCSDK and SDNC docker containers Issue-ID: CCSDK-3604 Issue-ID: SDNC-1672 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ifd5da73e9fd6937e9e395522b49f60263f64d472
2022-01-25[SDNC] Upgrade log4j to version 2.17.1Dan Timoney5-5/+5
Update SDNC image versions to address log4j vulnerability by upgrading to version 2.17.1 of log4j-core Issue-ID: SDNC-1655 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I0b227e2b2ebaab1a915ab39d69b790f8d7b99a39
2022-01-06[SDNC] Log4shell fixDan Timoney5-5/+5
This update remediates the log4shell security vulnerability in SDNC by installing updated versions of the SDNc images which have been patched. Issue-ID: CCSDK-3556 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I63377cd21254b70a83a7302841cb5ac12f19d422
2021-12-14[SDNC] Mediate log4shell vulnerabilityDan Timoney3-0/+6
Add Java system property setting to remediate day zero vulnerability, pending more permanent fix (upgrade CCSDK/SDNC to log4j v2.15.0, and upgrade to a version of OpenDaylight that has upgraded as well). Issue-ID: CCSDK-3556 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Id2a9e2743490daa23f3fa51f10a43beb91290e0b
2021-12-08[COMMON] Fix & add to bashisms CI failover scriptsguillaume.lambert1-3/+3
Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: Icf139e50d44aed0315d0e4cb21c59ad05a5a3bdb
2021-12-07[GLOBAL] Migrate to helm v3efiacor14-218/+135
Move all Chart.yaml to use apiVersion: 2 Move dependencies from requirements.yaml to Chart.yaml Changes to all makeFiles Changes to helm deploy plugin Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I03c5290eee9e40f76eacbf171e774204cf5fb1c0 Issue-ID: OOM-2845
2021-11-29Merge "[SDNC] Add Ves collector config"Krzysztof Opasiak2-2/+39
2021-11-16[SDNC] Add Ves collector configsebdet2-2/+39
Add the Ves collector configuration to the sdnc chart so that it can be disabled/enabled Issue-ID: OOM-2863 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I7039c4ab53b80a96f05bcf3fa8ef30224f15a96b
2021-11-15Merge "[SDNC] Fix dependencies for SDNRONLY mode"Sylvain Desbureaux1-2/+4
2021-11-09Merge "[SDNC] Use log template"Sylvain Desbureaux4-29/+9
2021-11-09[SDNC] Fix dependencies for SDNRONLY modedemskeq81-2/+4
readiness check for sdnrdb-init-job Issue-ID: OOM-2876 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com> Change-Id: Ie101a27736e8a5fc7c29017414ae49a8d11b3f7f
2021-11-09Merge "[SDNC] Sdnc pod restart stucks in readiness check for sdnrdb-init-job"Sylvain Desbureaux1-2/+2
2021-11-08[SDNC] Use log templateMaciej Wereski4-29/+9
Ability to turn off filebeat is needed as it is being deprecated. To achieve that existing log helper template is used. Issue-ID: OOM-1 Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com> Change-Id: I92749a252a7983f12c3136e996eb7f2e29f1e69d
2021-11-08[SDNC] Sdnc pod restart stucks in readiness check for sdnrdb-init-jobdemskeq81-2/+2
change readiness check from container to job Issue-ID: OOM-2875 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com> Change-Id: I613f58988dd007f03b949b20570564e28aa5db52
2021-11-03[SDNC] Version bump for final Istanbul imageDan Timoney5-5/+5
Bump SDNC images to version 2.2.2, final Istanbul release version Issue-ID: SDNC-1610 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I340cc2a1c32534d561c121fc3cd33ab82c800f02
2021-10-31[SDNC] Bump version for Istanbul RCDan Timoney5-5/+5
Bump version of SDNC and CCSDK images for Istanbul RC milestone. Issue-ID: SDNC-1615 Issue-ID: CCSDK-3483 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Id3a3627765e5623aa6cd8bffbfad1679ae6afef6
2021-10-15[COMMON] Bump ONAP versionSylvain Desbureaux12-37/+49
Use version 9.0.0 for Istanbul Also update the doc. Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I03e11799bf487226784c98b04116f005c89d1e70
2021-10-10[SDNC] Bump versions for IstanbulDan Timoney6-6/+6
Bump image versions for SDNC for Istanbul release Issue-ID: SDNC-1609 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Iecfb133ce8563ccfabf1a38af9d8c26d99d398f4
2021-09-26[COMMON] Add and run pre-commit linters via toxguillaume.lambert3-7/+7
- create a .pre-commit-config.yaml configuration file with * gitlint * trailing blanks linter * tabs removal linter - exclude .git folder from it - exclude Makefiles since tabs are mandatory by default in them - create a tox pre-commit profile to run it from tox note gitlint is not runnable at this pre-commit stage - create pre-commit-install and pre-commit-uninstall tox profiles to (un)install hooks locally and (un)perform tests at each "git commit" call (i.e. without calling manually the pre-commit tox profile) - precise pre-commit stages/types in the pre-commit configuration file so that hooks are installed correctly. This avoids messages about skipped tests when they are run at a wrong stage. Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: Ie95bb4f6f90be80b05a1398973caffeff7936881
2021-09-22[COMMON] Enforce checkbashisms tox profileGuillaume Lambert2-4/+4
- add checkbahims to tox.ini default profiles - remove -f options to unforce bashisms detection in explicit bash scripts and to differentiate treatments between bash and sh - migrate #!/bin/bash shebangs to #!/bin/sh for scripts without bashisms The following scripts have not been migrated since they still use bashisms difficult to migrate (mostly arrays - more details below) ./kubernetes/common/mariadb-init/resources/config/db_init.sh ./kubernetes/portal/components/portal-mariadb/resources/config/ \ mariadb/docker-entrypoint.sh ./kubernetes/helm/plugins/deploy/deploy.sh ./kubernetes/helm/plugins/undeploy/undeploy.sh ./kubernetes/sdnc/components/sdnc-prom/resources/bin/ensureSdncActive.sh $ find . -not -path '*/\.*' -name *.sh -exec checkbashisms -f {} + 2>&1\ | grep line | cut -d' ' -f 7- | sort | uniq -c | sort -k1,1nr 18 (bash arrays, ${name[0|*|@]}): 2 (declare): 1 ($FUNCNAME): 1 (shopt): 1 (trap with ERR|DEBUG|RETURN): https://mywiki.wooledge.org/Bashism#Arrays https://mywiki.wooledge.org/Bashism#Special_Variables https://mywiki.wooledge.org/Bashism#Builtins https://www.oilshell.org/release/0.5.alpha2/test/spec.wwz/builtin-trap.html Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Id06ad1d45004321a293bdd26038d8da5f7b6b4ac
2021-09-20[COMMON] Replace tabs by 4 ws in shell scriptsguillaume.lambert2-6/+4
with the following command $ find . -not -path '*/\.*' -name *.sh -exec sed -i 's/\t/ /g' {} + then realign manually what deserves it and in particular, unindent some EOF scripting tags so they do not trigger errors. Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: Ibfa463ec8083d5a39de18a54d9c1d8746710fe03
2021-08-28[SDNC] Fix MDSAL data not retained across restartsSatoshi Fujii1-1/+1
From ODL Aluminium, MDSAL journal dir is changed to /opt/opendaylight/segmented-journal . journalPath should be updated to make it retained across pod restarts. Issue-ID: SDNC-1593 Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Change-Id: I67cc2f9b428316922ccca5ab072bb127891ef018
2021-08-17[SDNC] Update chart with service accountfarida azmy18-1/+61
Add service account to chart Issue-ID: OOM-2719 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Change-Id: I263f53a60e32867f61b2d85cc4dc8a78d9701449
2021-07-12[SDNC] Fix indent level for nodeSelector and affinitySatoshi Fujii7-68/+45
When nodeSelector was given by values or override.yaml, helm deploy was failed due to wrong indentation in helm charts. This change fixed indentation level for nodeSelector and affinity in pod spec. Issue-ID: SDNC-1565 Signed-off-by: Satoshi Fujii <fujii-satoshi@jp.fujitsu.com> Change-Id: Ie5446928e3f32d9333c04245fc0d2c0f98b3b4e7
2021-06-24[COMMON] Fix some bashismsGuillaume Lambert3-5/+5
pointed out by checkbashisms: - variable name HOSTNAME - source instead of . - sleep with suffix - string increments And migrate a few shebangs to /bin/sh Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: I653c14454a3232b5a349ca1564ece53ddc94289d
2021-06-23[COMMON] Revert "[COMMON] Fix a few bashisms"Krzysztof Opasiak3-5/+5
This reverts commit 62178a49cc9e4088019d426636657d9f2980d242. This commit introduced regression on portal db config job which is now unable to start: /usr/local/bin/docker-entrypoint.sh: line 114: syntax error near unexpected token `(' Issue-ID: OOM-1 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I3cb72cd7625b180b364b713fe942d5956736ebef
2021-06-15[COMMON] Fix a few bashismsGuillaume Lambert3-5/+5
pointed out by checkbashisms: - variable name HOSTNAME - source instead of . - variable increments - sleep with suffix And migrate a few shebangs to /bin/sh Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: I82981bcff17e88cf824935b841ce37a585ddde00
2021-06-11Merge "[COMMON][DGBUILDER] Update chart with service account"Sylvain Desbureaux1-0/+2
2021-06-10Merge "[COMMON] Remove CertService client mechanism"Sylvain Desbureaux4-12/+4
2021-06-10[COMMON][DGBUILDER] Update chart with service accountfarida azmy1-0/+2
Add service account to requirements.yaml, values.yaml and deployment/statefulset Issue-ID: OOM-2720 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Change-Id: Iefe02cad5b2069879d043d17465f248f1f731519