aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/contrib
AgeCommit message (Collapse)AuthorFilesLines
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
2018-08-29Merge "Added external-key and resource-name custom fields"Jerome Doucerain1-66/+18
2018-08-29Example of NFS storage class for netbox chartAlexis de Talhouët6-34/+13
Change-Id: I415184938523e12a6e2459bbadc9f77de3ac1a40 Issue-ID: CCSDK-366 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-08-29Added external-key and resource-name custom fieldsAlexis de Talhouët1-66/+18
During the self serve flow, the resources can be uniquely identify using a external-key, allowing the DG to retrieve the data from SDNC DB very easily for unassign purposes. The resource-name has been added in order to provide more information for the netbox admin, allowing him to have a clear idea what purpose the ip is serving; given the resource-name passed on by the designed is meaningfull. Change-Id: I33bb74b9bca8009e70faede8001c34a451ad205f Issue-ID: CCSDK-366 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-08-28Added netbox.properties config file for SDNCAlexis de Talhouët1-1/+1
https://gerrit.onap.org/r/#/c/60791/ is addin Netbox client support for SDNC. In order to connect to this system, configuration is needed at the deployment phase to provide host and api key, used to interact through REST to the system. Change-Id: I2177ead86879d4c65eca86e7a1dce29f2de94956 Issue-ID: CCSDK-462 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-08-17Add provisioning job for NetboxAlexis de Talhouët8-9/+226
This is adding a script in a configmap along with a job that will play the script. This is also adding a readiness check to the netbox-app pod, so that the job can be executed once the pod is ready. Adding provisioning of: - user - region - tenant group - tenant - site - prefixes for vFW use case Change-Id: I3bf00eb81ff4330b38e83b2f67cb17d4866e3990 Issue-ID: CCSDK-460 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-08-14Add netbox IPAM charts to support CDS usecaseMarc-Alexandre Choquette46-0/+1866
Add /contrib & netbox subcharts to support the CDS Casablanca usecases, which leverages Netbox IPAM. Issue-ID: CCSDK-366 Change-Id: Ic761ea7ac7f763649184b89aa523c9e27fd34fc4 Signed-off-by: Marc-Alexandre Choquette <m.a.choquette@bell.ca>