summaryrefslogtreecommitdiffstats
path: root/kubernetes/appc/templates
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-11-22Update annotations to spec for appckiranya2-56/+34
Issue-ID: OOM-406 Change-Id: I31710db92362f8a41e6605841ca7a9960fc98f24 Signed-off-by: kiranya <kiran.yadav@amdocs.com>
2017-10-29Add option to disable specific deploymentsyuryn5-0/+14
Add option to disable any deployment by using conditions in helm templates. Each deployment will get helm parameter - boolean flag allowing to disable it. The flags can be listed in the custom values.yaml file that can be passed to the createAll script with '-v' command line option. Change-Id: I32b795de46c72915c2201c94c23f4e061971bb56 Issue-ID: OOM-380 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
2017-10-11syncing up appc configMandeep Khinda2-7/+2
Issue-ID: OOM-338 Change-Id: Iac2e50f606285ceb7e64f2b2305d7a9e5ab680ae Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2017-09-27added filebeat to all componentsyuryn1-0/+24
Deployment of: filebeat containar for each relevant component + chown of log dir to root - prevents filebeat complaining about filebeat file + ecomp web app renamed onap - fixed dep-pap.yaml + fixed multiple volumeMounts in vid-server Change-Id: I74f8f2abd5feeba1d37b044d2a023674fd41c994 Issue-ID:OOM-110 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
2017-09-26Revert "added filebeat to all components"Alexis de Talhouët1-25/+1
Pods aren't starting properly. Let's not take any risk, so reverting. 3m 18s 4 kubelet, kubernetes-5 spec.containers{vid-server} Normal Killing Killing container with id docker://vid-server:FailedPostStartHook This reverts commit 4ca69ea2b6a2aaaf0974953a3c3dec7694fdfcb0. Deployment of: filebeat containar for each relevant component Issue-ID:OOM-110 Change-Id: I7953ac3b0e2a4ecbdd1a7d2a48cb9a1964bf08ab Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2017-09-24added filebeat to all componentsItay Hassid1-1/+25
Deployment of: filebeat containar for each relevant component Issue-ID:OOM-110 Change-Id: I3605a975ee9dbe3e34b8fa6b17fef52e9d29b975 Signed-off-by: Itay Hassid <itay.hassid@amdocs.com>
2017-09-21fixing appc robot health checkMandeep Khinda1-1/+1
https://gerrit.onap.org/r/#/c/7773/ was not picked up when the appc move to 1.1. was done in the OOM project. Issue-ID: OOM-308 Change-Id: Ic2d6d89cce8d1076b7a4e1decf8665d760209a68 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2017-09-14Containers time zone syncyuryn3-0/+20
Make sure time zones on the containers are in sync with the hosting machines Change-Id: Ie22608bda63cbcdf564f73adcdd3e829afad05ca Issue-ID: OOM-299 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
2017-09-13Fix persistent volumes for multiple onap instancesBorislavG1-3/+3
Deploy multiple namespaces fails due to existing persistence volumes. "persistent-volume "appc-db" already exists" Need to change all persistent volume names to include namespace. Change-Id: I40a3048bef14f813b133ea75e2f664f669183e82 Issue-ID: OOM-294 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2017-09-06Persistent volumes for Database storageBorislavG2-2/+32
Addition of persistent volumes for all DBs including persistence of policy mariadb (with initial configuration data) Change-Id: I029e724c3f8bba7fe3599b0955a4a3d213c08163 Issue-ID: OOM-268 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>