summaryrefslogtreecommitdiffstats
path: root/kubernetes/appc/templates/statefulset.yaml
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 Latusek1-0/+2
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 Desbureaux1-17/+3
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 Cho1-0/+12
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 Opasiak1-9/+9
Issue-ID: OOM-2051 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I8b6d8f649d8ae45d232cd853f4f194534f8031cf
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 Opasiak1-4/+1
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 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
2019-11-29[APPC] Use global storage templates for PVCSylvain Desbureaux1-2/+6
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-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-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-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 Elliott1-1/+1
2018-09-07Upgrade APPC to use common mariadb galera chartspramod1-1/+1
Change-Id: I3537415a9266bc388aca146f86984c8a1585ce4e Issue-ID: OOM-1205 Signed-off-by: pramod <pramod.kumarsharma@amdocs.com>
2018-09-05Apache 2 license addition for consul,appcMukul1-0/+14
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-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-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 storageBorislavG1-0/+18
Change-Id: I1ceb0ee27bd758f9d1dac5e3dfac808dbeaae6ab Issue-ID: OOM-779 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-04-17Update APPC charts for Nitrogen ODLAaron Hay1-7/+7
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 Elliott1-0/+186
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>