summaryrefslogtreecommitdiffstats
path: root/kubernetes/appc/templates
AgeCommit message (Collapse)AuthorFilesLines
2021-09-26[COMMON] Add and run pre-commit linters via toxguillaume.lambert1-1/+1
- 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
2020-11-23[APPC] Uses new tpls for repos / imagesSylvain Desbureaux1-4/+4
This commit makes APPC chart to use the new generator for repositories and images. As new templates doesn't work well with "sub charts", we move also subcharts to components folder. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I31178186d08926ae708261e84debb5bf49562b7a
2020-10-21[APPC] change comment styleJakub Latusek4-0/+8
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: If52740c1d17d9c42b019632e0ded5cf636cdd00e Issue-ID: OOM-2562
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-07-14Make APPC compatible with Kubernetes v1.17kosewski1-1/+4
Issue-ID: OOM-2447 Signed-off-by: Krzysztof Kosewski <krzysztof.kosewski@nokia.com> Change-Id: I9a199104001162fbf8531ac6ce9df4c3210c917d
2020-04-22[APPC] use common templates for logsSylvain Desbureaux2-30/+5
Using the common templates for centralized logging. Issue-ID: OOM-2370 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ib0995b754597da36d06939199738cf93398e796a
2020-03-31move AAF cert to APPC helm chartTaka Cho2-0/+26
move AAF cert out of APPC docker to APPC helm chart new AAF cert: Validity Not Before: Mar 27 18:03:32 2020 GMT Not After : Mar 27 18:03:32 2021 GMT Issue-ID: APPC-1857 Change-Id: I25adc3fce2bed234c6748a87d975c46f1e607260 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-03-25[APPC] Use faster version of common secret templatesKrzysztof Opasiak2-10/+10
Issue-ID: OOM-2051 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I8b6d8f649d8ae45d232cd853f4f194534f8031cf
2020-03-13remove 30208 portTaka Cho1-11/+4
the port 30208 was using http apidoc since we have moved to https apidoc hence this 30208 can be removed Issue-ID: APPC-1851 Change-Id: Iccd814bd624635939c51147489af708320caedac Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-03-13[APPC] Use common secret tamplate for mariadb-galera credentialsKrzysztof Opasiak1-5/+60
Use init container construction & common secret template to remove hardcoded mysql db credentials. For now credentials are still hardcoded in the values file to avoid making too many changes at once. I also had to make properties files writeable because appc uses some weird design and modifies them inside main container while starting odl. Issue-ID: OOM-2275 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Ie36522fc1fdf92a382d5f25a54d4cb150b57ea35
2020-02-01[APPC] Don't hardcode mariadb root passwordKrzysztof Opasiak2-17/+2
You should never ever assume that secretpassword is a production ready password for your mariadb-galera instance. Instead let's just share a secret with our instance of mariadb-galera. Issue-ID: OOM-2275 Change-Id: I25486ad81a2ec428dbbd379ab3529c84f55acc4b Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak4-19/+19
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-15Merge "Add ingress controler support to APPC"Sylvain Desbureaux1-0/+1
2019-12-03Add ingress controler support to APPCLucjan Bryndza1-0/+1
Issue-ID: OOM-2173 Change-Id: I39aaba4a5b35dd82ffe9f5acc413a7dd93e451c2 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2019-11-29[APPC] Use global storage templates for PVCSylvain Desbureaux2-3/+11
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 Change-Id: I04757c8fffc4987c4d49da9f474f3e20367de214 Issue-ID: OOM-1227 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-11-08change readiness logic for APPC dockerTaka Cho1-3/+2
change to poke 8181 port Issue-ID: APPC-1792 Change-Id: I16160dde01c11c6625b407a1f5db4a24bc291df5 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-09-17fix pax config mountpathTaka Cho1-1/+1
org.ops4j.pax.logging.cfg should mount on /opt/onap/appc,not mount from /opt/opendaylight - which caused readonly error Issue-ID: APPC-1736 Change-Id: I732b26bb4f6fe6ac6f48771468606af106606e51 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-09-09expose 8282 port outsideTaka Cho1-4/+12
8282 port is used for the url executor in DG. Also external IP address is used in DG. Hence has to be exposed to outside Issue-ID: APPC-1712 Change-Id: I2cff6b514edf7dde76e9b73351678bdf7a3771e4 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-08-23add bath file for additional AAA userTaka Cho1-0/+3
to comply for jolokia security vulnerability, another three AAA users will be added Issue-ID: OJSI-63 Change-Id: I476df578f457f862a76afec2df6ded34bb3cae64 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-07-16move APPC apidoc from http to httpsTaka Cho1-2/+2
1, changed 8181:8282 to 8443:8443 maps to 30230 port 2, take snapshot-1.6.0 appc image that contains https change 3, chang robot config to https:8443 port Issue-ID: OJSI-113 Change-Id: Icd1c158ae426013cb742b23a50a6d2929ca33d5e Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-06-25remove unused feature and scriptsTaka Cho1-6/+0
installFeatures.sh moved to docker build time. startODL.sh under ccsdk/bin was the old startup script. odl-mdsal-clustering moved to docker build time. Issue-ID: APPC-1631 Change-Id: Ief332ef029f28f8c37a5121fd78a17b88c61bd6f Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-06-24Change Daexim directory ownershipTaka Cho1-4/+8
In k8s env, daexim has to be changed to 100:101 Issue-ID: APPC-1627 Change-Id: Iea20a6b3b8cf14a09ca5fc52aa3d6a71534acaaa Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-01-16Feature install odl-netconf-clustered-topologyAaron Hay1-0/+3
Install the odl-netconf-clustered-topology feature for clustered environments. Change-Id: Ic369fcbb962c9494dd6e165e38829cc55915689c Issue-ID: APPC-1242 Signed-off-by: Aaron Hay <aaron.hay@att.com>
2018-10-30Add cadi.properties for AAF OOM supportAaron Hay1-0/+3
Enable AAF by default. Add cadi.properties file for OOM deployments. Change-Id: I5f862af54b1373a3cb09d9441548377ac8a3cb48 Issue-ID: OOM-1489 Signed-off-by: Aaron Hay <aaron.hay@att.com>
2018-10-23fixing clusterIP service type errorsMandeep Khinda1-1/+1
If you try and change the service type from a nodeport to a cluster IP things break. We never really exercise this code path in testing but if you want to experiment with a totally internal network environment you need to be able to turn off node ports. Issue-ID: OOM-1475 Change-Id: I1a0f4b0a4c390f3353e1611b6002b93e54bb5044 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.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-19Add Resource Limits for APP-CGregSulek1-2/+2
flavor names removed from global Issue-ID: OOM-1148 Change-Id: Ib8ccb694786d15be2830c067d5c3b10fc7054f0b Signed-off-by: GregSulek <gsulek@amdocs.com>
2018-09-13Merge "Upgrade APPC to use common mariadb galera charts"Mike Elliott3-107/+18
2018-09-07Upgrade APPC to use common mariadb galera chartspramod3-107/+18
Change-Id: I3537415a9266bc388aca146f86984c8a1585ce4e Issue-ID: OOM-1205 Signed-off-by: pramod <pramod.kumarsharma@amdocs.com>
2018-09-06APPC ConfigMap Labellingvaibhav_16dec1-0/+50
Issue-ID: OOM-1374 Change-Id: Ib91ca319bf272bccd483b89708e99261ee993614 Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
2018-09-05Apache 2 license addition for consul,appcMukul5-0/+70
Issue-ID: OOM-1308 Change-Id: I6cfe05841a17f81e862dfbf4bedaa4ba87f96e1e Signed-off-by: Mukul <mukul.joshi@amdocs.com>
2018-06-27Update OOM APPC chart to enhance AAF supportAaron Hay1-0/+5
Added AAF config parameters and files needed to allow AAF to work in an APPC OOM environment. Change-Id: I39f0769e721889a68c6a111adf29d685b9f97dbf Issue-ID: OOM-1124 Signed-off-by: Aaron Hay <ah415j@att.com>
2018-06-27Merge "Create readiness health check for readiness probe"Borislav Glozman1-2/+6
2018-06-20Create readiness health check for readiness probeAaron Hay1-2/+6
New health_check.sh added that allows the readiness probe configured in statefulset.yaml to succeed Change-Id: I3b619dfc84926bc27381c0b932971b41b12e4269 Issue-ID: OOM-1109 Signed-off-by: Aaron Hay <ah415j@att.com>
2018-05-31Add port variable for appc cdtPatrick Brady1-0/+1
Adding a environment variable into the CDT container. This variable will set the port that CDT uses to connect to the APPC backend. Also changing the entry point of the CDT container to run the script that will set the port in the CDT javascript files. Change-Id: I0cba860d95a567e0cc4dd1eee322565c9d3b7d1c Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-924
2018-05-29Add appc cdt proxy to oomPatrick Brady1-0/+6
Change to the appc startODL.sh script to startup the cdt proxy service to allow backend connection from the cdt tool. Adding a new port forward into the appc container for the above service. External port 9090, internal port 9191 Change-Id: Ib13bb5744705ef3b2d3f5c9e9a73b26620c515c7 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-924
2018-05-06Fix inconsistent repository referencesBorislavG1-1/+1
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-02Fix appc failing to deploy with helm 2.7.2BorislavG1-5/+5
Change-Id: I89b90f5da3e9ee9da545b21cc01b4ac392318a21 Issue-ID: OOM-1033 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-05-01Configure APPC ODL cluster for persistent storageBorislavG2-0/+148
Change-Id: I1ceb0ee27bd758f9d1dac5e3dfac808dbeaae6ab Issue-ID: OOM-779 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-04-24Make all services independent of helm Release.NameBorislavG1-6/+9
Issue-ID: OOM-906 Change-Id: Ic65127d3981cb0a696c784392cab59fbf06b1e66 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-04-17Update APPC charts for Nitrogen ODLAaron Hay2-11/+11
SDNC directory renamed to ccsdk based on latest ccsdk update. Files startODL.sh and appc.properties updated based on Nitrogen ODL. Change-Id: I096ffb211afdd7df7438f5bb276ecc6b0fbfc09d Issue-ID: OOM-951 Signed-off-by: Aaron Hay <ah415j@att.com>
2018-03-24Add standardized helm chart for appcMike Elliott13-637/+359
This is a standardization (based on helm community best practices) of a Helm chart for the Application Controller (appc) in ONAP. How to deploy the helm chart (outside of the parent onap chart) from the local oom/kubernetes codebase. Run local helm repository in the background: $ nohup helm serve & In kubernetes directory run: $ make all 2 ways to install (--set are for testing purposes) Full onap: $ helm install onap --name onap --namespace onap --set global.pullPolicy=Never,mysql.replicaCount=2,appc.replicaCount=2 Appc only: $ helm install setup --name onap-setup --namespace onap-apps $ helm install appc --name appc --namespace onap-apps Change-Id: Ib780f979ad25ecafb08110504b5941e980ca8a95 Issue-ID: OOM-733 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com> Signed-off-by: ah415j <ah415j@att.com>
2018-03-22License addition in all yamlsvaibhav_16dec8-0/+112
Issue-ID: OOM-821 Change-Id: I627ac962afe8cd6bf2859a30a0e88f6c9ac89d34 Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
2018-03-04One namespace leftover fixesBorislavG1-1/+1
Change-Id: Id44e74db3a26f963957222ba6690f6d57e0378db Issue-ID: OOM-722 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-03-01Run all components in one namespaceBorislavG9-34/+197
Change-Id: I5fcd4d577c1fda4de27842807c7cf7a5d372756e Issue-ID: OOM-722 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-02-25appc persistence folder parametrizationkerenj1-2/+2
Issue-ID: OOM-145 Change-Id: I19878c5f878dde1ae167e827629bf91c0cae35af Signed-off-by: kerenj <keren.joseph@amdocs.com>
2018-02-14Replica Scaling of APPC and Message-routervaibhav_16dec3-1/+4
Issue-ID: OOM-686 Change-Id: I3235ff6572cc02df4e572fea54ba06963652af6d Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
2018-01-24appc config segmayankg27033-16/+41
Issue-ID: OOM-552 Change-Id: Id953076056a0168f907e3fe906a7bbb2bd4a6cc7 Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
2017-12-15Merge "Update annotations to spec for appc"Mandeep Khinda2-56/+34
2017-11-28Adjust appc to latest (Amsterdam)Alexis de Talhouët1-3/+1
Following fixes as done as per as APPC configuration - fix docker versions: - fix properties file Change-Id: Ie2fa50bd0ddc2073f2dba37b09aa8f15de7643cb Issue-ID: OOM-470 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>