summaryrefslogtreecommitdiffstats
path: root/kubernetes/contrib
AgeCommit message (Collapse)AuthorFilesLines
2020-06-04[CONTRIB] Change EJBCA to work on HTTP 8080egernug1-0/+1
Issue-ID: SDNC-1136 Change-Id: I863bd7b280701c503ba45af6ba8e85f48ea18cfb Signed-off-by: egernug <gerard.nugent@est.tech> (cherry picked from commit 9903d6b77b32fb6a70194716a7aeeb7a84e508c1)
2020-04-23[Contrib] Make Postgres work when using dynamic PVSylvain Desbureaux2-2/+2
postgres was not working with dynamic PV because of lost+found folder. We changed the mount path to make it work. Issue-ID: OOM-1227 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Id15fd089c56e339dbc5939cd28207b535e8ab86b
2020-04-15[Contrib] Add EJBCA ServerSylvain Desbureaux11-6/+334
EJBCA Server is used to test that CMPv2 Certificate handling is well done in ONAP. Issue-ID: AAF-1083 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I5e2d25b68b5cd80d3c7bf282ce871dd81e711ff6
2020-04-08[Contrib] Authorize choice of subcomponentsSylvain Desbureaux67-1/+37
Instead of forcing installation of all contrib components, make the installation of these components enabled with a toggle, so each person can choose to install a subset, all or none. Issue-ID: OOM-2352 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ie112fe1f1864587b9ac69f18967a3c28d16bdbbe
2020-04-02Bump chart versionSylvain Desbureaux11-11/+11
Use 6.0.0 in preparation for Frankfurt release Issue-ID: OOM-2320 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I8ad82dfdf48b56c38c0e85d640b18cc13c8d9e67
2020-04-01Merge "MetalLB install script for bare metal cluster"Krzysztof Opasiak1-0/+85
2020-04-01Merge "Remove unneded LoadBalancer annotation"Krzysztof Opasiak1-2/+0
2020-04-01Merge "Remove redundant Ingress service config"Krzysztof Opasiak1-23/+0
2020-04-01Add support for metal LB in DNS deploy scriptLucjan Bryndza1-4/+33
Extract ingress controller IP address which is same as node where the metalLB is deployed Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com> Issue-ID: OOM-2289 Change-Id: I16e6d1704e54b679cb39caa3c720538a5ff60a60
2020-03-31MetalLB install script for bare metal clusterLucjan Bryndza1-0/+85
If Ingress controller is exposed via NodePort it listens on non standard port, so it can be quite problematic. Exposing via LoadBalancer doesn't work properly on bare metal Kubernetes cluster, so external LB solution is needed. Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com> Change-Id: I9a2032e8501caca7c3a564f6bbcf969fdde31da2 Issue-ID: OOM-2346
2020-03-30Remove unneded LoadBalancer annotationLucjan Bryndza1-2/+0
Remove unneeded NLB annotation, because NLB doesn't work correctly in the current version of kurnetes switch to Metallb Change-Id: I1111a39a639627892a74f12b428a2daa5ff5ff09 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com> Issue-ID: OOM-2341 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2020-03-30Remove redundant Ingress service configLucjan Bryndza1-23/+0
Initial version of the script configures ingress controller service as LoadBalancer and switches it immediately to NodePort Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com> Issue-ID: OOM-2341 Change-Id: If741fd2413978ed76bf0678a83c42ac2905042ca
2020-03-24Fix wrong underscore configurationLucjan Bryndza1-1/+1
Underscore configuration should be true Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com> Issue-ID: PORTAL-806 Change-Id: I88b840e4b8ccd6c635c835ded6e783843aabc10c
2020-03-16Merge "Nginx ingress config loadbalancer option"Borislav Glozman1-0/+24
2020-03-16Merge "DNS add option for display target machine info"Borislav Glozman1-0/+4
2020-03-12Nginx ingress config loadbalancer optionLucjan Bryndza1-0/+24
Add nginx ingress postinstall optional step for enable nginx ingress controller service with LoadBalancer option Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com> Issue-ID: OOM-2099 Change-Id: I195bfaee5e7e268b0f16da4c75b44c17bd695086
2020-03-12DNS add option for display target machine infoLucjan Bryndza1-0/+4
Add info option for displaying target machine configuration manual when DNS server is already deployed on the cluster Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com> Issue-ID: OOM-2289 Change-Id: Ia876fd9ee51fbe852fae2f9daf8f769ff32efe46
2020-03-02[DOC] Remove references to old versionsSylvain Desbureaux1-8/+8
Also add requirements for Frankfurt release Issue-ID: OOM-1960 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Idaa4925515737221c90c4bf9141406fa1d428f15
2020-02-17Merge "DNS test server for ingress controller"Krzysztof Opasiak10-0/+407
2020-02-17DNS test server for ingress controllerLucjan Bryndza10-0/+407
Testing ingress controller based on virtual hosts requires a lot of entries in the /etc/hosts. The better way is to create DNS server for testing purposes. Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com> Issue-ID: OOM-2289 Change-Id: I2ab104c7391e9634972931ac7e79bec5711d2b39 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2020-02-04Enable underscore in headers in nginx configLucjan Bryndza1-0/+2
Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com> Issue-ID: PORTAL-806 Change-Id: I9bd2cc1f01a13d198d705affe3cc56be96dd5ce0
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak21-43/+43
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-02-01Remove additional _helpers filesKrzysztof Opasiak2-34/+3
Helm by default creates some useful templates in _helpers.tpl file. This is fine for stand alone charts but when they become part of ONAP those helpers are no longer needed as our common components already provides all required functions Issue-ID: OOM-2278 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I659e4b45b031e87cc87f7bbbb22bf9e23cd74e61
2020-01-13[Contrib] Force version on AWXSylvain Desbureaux1-3/+3
As latest are buggy Change-Id: I8bad9075bc7f4cbcb4bd8274bfbef3d24b15f843 Issue-ID: OOM-2260 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-12-11Merge "[Contrib] Use global storage templates for PVC"Borislav Glozman7-44/+14
2019-12-06[Contrib] Use global storage templates for PVCSylvain Desbureaux7-44/+14
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: I278e62821ca98e41f63306e502cca1019ba18756 Issue-ID: OOM-1227 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-11-25Nginx ingress controller configurationLucjan Bryndza1-0/+317
Add Nginx ingress postinstall helm chart. It should be applied after cluster initial setup. Issue-ID: OOM-2099 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com> Change-Id: Ic942b03d6e754c2fca72316cde0d2e65eba9d0d7
2019-10-28Move AWX postgres and Netbox posgtres PVC to RWOSylvain Desbureaux3-3/+3
postgres doesn't support that many posgtres instances write into the same folder so moving to RWO mode is harmless Change-Id: I3faf715606a7bb479917faf022efbf6635d602f8 Issue-ID: OOM-2080 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-08-15Add AWX chartAlexis de Talhouët22-1/+1277
Change-Id: Id9fe832a3eb3bfb23e96c711ac8455d1a8cb1156 Issue-ID: CCSDK-1316 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-07-11Moving Helm Chart version for El AltoMike Elliott7-7/+7
Updating all helm chart versions to 5.0.0 for the El Alto release. Merge will be co-ordinated with the merge of a separate aai/oom patch. Please do not merge until this coordination has completed. Issue-ID: OOM-1980 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com> Change-Id: I31daaebeacea33565f13affd2fa28fb15fe948ba
2019-05-13Update ip pool name to be more genericAlexis de Talhouët2-8/+8
So both vFW and vDNS use cases can re-use the same ip pool Change-Id: I9a72bc3947ecaf0868011891dd2df8a2b34261d9 Issue-ID: SDNC-761 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-29rke 0.2.1 upgrade for k8s 1.13.5, helm 2.12.3, docker 18.09.5Michael O'Brien1-42/+39
Change-Id: I8293ba9bfa8070ecd34d645b04120c5c7d4b9552 Issue-ID: OOM-1598 Signed-off-by: Michael O'Brien <michael@obrienlabs.org>
2019-04-17Update netbox deploymentAlexis de Talhouët1-15/+13
- proper readiness check so the job stop failing - pull from netboxcommunity, not onap proxy Change-Id: I2c1b653a5043e5e961c06666a7ac88c0d9201052 Issue-ID: OOM-1562 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-04-08Merge "kubernetes rke install sh and heat RI"James MacNider1-0/+355
2019-04-08kubernetes rke install sh and heat RIMichael O'Brien1-0/+355
Change-Id: I84d5349d702e3c9c1fc575350226c8b3ef542336 Issue-ID: OOM-1670 Signed-off-by: Michael O'Brien <michael@obrienlabs.org>
2019-03-13Update Netbox docker tag to latestAlexis de Talhouët3-4/+4
Change-Id: I62ab2842ff950c1fbbb0b53ce6863d13c551ea57 Issue-ID: OOM-1722 Issue-ID: OOM-1723 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2019-02-20Merge "Fix contrib-netbox-app deployment failing"Mike Elliott1-1/+3
2019-02-10Update Chart version for Dublin ReleaseMike Elliott7-7/+7
All charts are being bumped from 3.0.0 to 4.0.0 for the Dublin release. In addition the requirement.yaml files have been updated to allow for chart versions that include timestamp suffix. A following on patch will take care of changes to the OOM Makefiles to support injection of the timestamp versions. Change-Id: Ie03d86fad2027e975e8b9106e3a828e4335037cb Issue-ID: OOM-1642 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-12-20Fix contrib-netbox-app deployment failingSylvain Desbureaux1-1/+3
imagePullSecrets was not present and thus preventing connecting to registry where creds are mandatory. Change-Id: I087fa77bd33341fa82527b3bc8ae04f323bd0f03 Issue-ID: OOM-1562 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2018-11-23Better handling of wrong root directory specNicolas Edel1-7/+18
Also rename and use a .py extension Change-Id: I98d6820dc21faa27ae3dd88cfbe82a65d62d9ba4 Issue-ID: OOM-1527 Signed-off-by: Nicolas Edel <nicolas.edel@orange.com>
2018-11-22Add script to list (sub)projects resources claimsNicolas Edel1-0/+245
Change-Id: I9282754ec9d53ad78847235dd00c6e403bed7687 Issue-ID: OOM-1527 Signed-off-by: Nicolas Edel <nicolas.edel@orange.com>
2018-11-16Reserve first 2 IPs from pool - vFWNGAlexis de Talhouët1-0/+31
For vFWNG use cases, the ip pool gets created prior to the use case even being designed. Just noticed OpenStack is using .1 for Gateway and .2 for DHCP, hence these two IPs can't be assign to any port, else, process will fail. Change-Id: Id8232ce2fe81f1e03ee8f97f3b251b5b22b4fcba Issue-ID: OOM-1522 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-09-25Updating charts to use common resource templateMandeep Khinda3-3/+3
Issue-ID: OOM-1145 Change-Id: I1510339a820802554b6e8b9a201619ef66be17a0 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-09-24Update Chart versions to 3.0Mike Elliott7-7/+7
All Chart versions and requirement dependencies have been updated to 3.0 for Casablanca release. Change-Id: Iea57e5da09ea8a8bac0a415b9a6196151cbea10b Issue-ID: OOM-1354 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-09-18Do not use nodePortPrefix for external appAlexis de Talhouët5-7/+7
Change-Id: I77d085ca89d51e3a1ba102d7666ee419701c39e4 Issue-ID: CCSDK-366 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-09-18Use free NodePort for Netbox (contrib)Alexis de Talhouët1-2/+2
For contrib chart, we rather use 304 prefix than the 302 prefix, to keep core ONAP component in the same prefix space. Change-Id: Ia87d134e6d1649ccb74c7af03c61c4d485e2395b Issue-ID: CCSDK-366 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-09-11Network prefix configurable in HelmMartin Ouimet1-26/+6
The network prefix cidr that are automatically provisioned into Netbox at the creation time were hard coded in the provision script. The purpose of this patch is to externalize the network prefix, so they can be configured in the Values file of the Helm chart. Change-Id: Ie5019f56339146e61794ea7308300436d790b4c4 Issue-ID: CCSDK-533 Signed-off-by: Martin Ouimet <martin.ouimet@bell.ca>
2018-09-11Fix not using storageClass issueMartin Ouimet4-5/+33
the PVC yaml definition was corrupted and mountPath were missing when not using storageClass. Fixed PVC template of Postgress and Netbox-app charts. Change-Id: Id018a5f5bf1e4a928cbcbdb6eefc43a1a0f08244 Issue-ID: CCSDK-533 Signed-off-by: Martin Ouimet <martin.ouimet@bell.ca>
2018-09-11Fix Netbox client assign IP 0Martin Ouimet1-0/+21
This patch assign the first IP (0) of the 3 networks. This prevent Netbox client from assigning IP 0 that is not supported in Openstack. Issue-ID: CCSDK-533 Change-Id: Id42f883d8dc8c12824669bb98e05b3944880def5 Signed-off-by: Martin Ouimet <martin.ouimet@bell.ca>
2018-08-29Merge "Example of NFS storage class for netbox chart"Mandeep Khinda6-34/+13