aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-graphadmin/templates
AgeCommit message (Collapse)AuthorFilesLines
2024-12-09[AAI] Fix Kyverno Policy violationsAndreas Seelinger9-140/+32
- Refactored code for readiness check and use library readinessCheck - Fixed securityContext settings - Limit emptyVolume size and make it configurable - Important: Need to use aai-haproxy docker image version >= 1.15.2 - Refactore meta labels and use common.labels instead Issue-ID: AAI-4044 Change-Id: I346316e64cb67222836951cf12b3772bbf509c6a Signed-off-by: Andreas Seelinger <andreas.seelinger@accenture.com>
2024-11-04[AAI] 15.0.0 chart releaseFiete Ostkamp2-1/+12
- update graphadmin image (1.14.7 -> 1.15.1) - update babel image (1.13.3 -> 1.13.4) - update resources image (1.14.7 -> 1.15.1) - make logging partially configurable and less verbose Issue-ID: AAI-4047 Change-Id: I78695dfccab88244bf119a4fc8877c1b9ddf90c2 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-09-19[AAI] 14.0.3 Oslo release with Java 11Fiete Ostkamp6-118/+72
- [resources,traversal,graphadmin] use 1.14.7 release images that are based on Java 11 - [babel] add metrics and tracing - [babel] allow remote profiling and debugging - [graphadmin] make graphadmin chart Kyverno compliant - [graphadmin] replace fixed initialDelaySeconds wait invertal with dynamic startup probe - [graphadmin] use actuator endpoint for liveness and readiness probe. Actuator still uses the old echo probe in the background - [graphadmin] remove janusgraph-cached.properties since it effectively cannot be used - [graphadmin] clean up janusgraph-realtime.properties - [graphadmin] use common functions for readiness probe - [graphadmin] remove LOCAL_USER_ID and LOCAL_GROUP_ID environment variables since they are not used (anymore) - [modelloader] add metrics monitoring via prometheus - [modelloader] allow remote profiling and debugging - [sparky-be] use latest release image (2.0.5) Other - [sdc-be] declare ServiceMonitor to enable metrics monitoring via Prometheus Issue-ID: AAI-3986 Change-Id: Ifbd52d0d019d34596f6f824aa940e9b7993336ab Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-08-19[AAI] Release 14.0.1 chart with Janusgraph update to 0.6.0Fiete Ostkamp1-1/+2
- 1.14.5 images for resources, traversal and graphadmin with Janusgraph update (0.5.3 -> 0.6.0) - cleanup janusgraph-realtime.properties file since the 'cassandra' storage.backend option is not supported anymore - use more descriptive port names for schema-service - reduce terminationGracePeriodSeconds of pods to enable quicker deployment - declare pod revisionHistoryLimit for all components - make root log level configurable for all components (via log.level.root) Issue-ID: AAI-3950 Change-Id: I6221963139fcf4b748167940b6e59367661ba1e5 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-07-12[AAI] Use 1.14.4 imagesFiete Ostkamp4-7/+8
- deploy 1.14.4 images - increase AAI chart version to 14.0.1 - change sidecar killer job to use wget instead of curl Issue-ID: AAI-3926 Change-Id: I405b52169006800b63fc76568482b4347c99c0b4 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-07-01[AAI] Release version 1.14.0 of AAIFiete Ostkamp2-24/+39
- change major version to 14.X.X - use 1.14.0 images that contain Janusgraph update from 0.2.3 to 0.3.3 - add options for enabling profiling via jmx or remote debugging - use better port names in the chart Issue-ID: AAI-3876 Change-Id: Idb3a3fdf97df76c217c285ed47405fefaa31301d Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-05-20[AAI] Helm changes for DMaaP deprecationKv2-0/+38
- Helm changes for DMaaP deprecation in A&AI Issue-ID: OOM-3297 Change-Id: I6a601c4c9958fb6817872520c259525eb650d0c9 Signed-off-by: Kv <vani.kv@accenture.com>
2024-04-11[COMMON] Update all ReadinessChecksAndreas Geissler4-23/+11
Use the new "service" feature of the readiness image to resolve startup dependencies. Issue-ID: OOM-3280 Change-Id: Ia331d51528676744e5e0479d1fd0ca02830c3499 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-03-25Merge "[AAI] Kyverno - disallow-host-path policy"Lukasz Rajewski4-33/+0
2024-03-24[AAI] Kyverno - disallow-host-path policyFiete Ostkamp4-33/+0
- remove hostPath mounting of /etc/localtime Issue-ID: AAI-3803 Change-Id: Ia5d1bfef1581a5e3f1b2ed3869ad1f840337f969 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
2024-03-20[COMMON] Make imagePullSecrets configurableAndreas Geissler4-10/+5
Currently in ONAP the imagePullSecrets is hardcoded to 'onap-docker-registry-key' which is created by the repository-wrapper component. With this change the secrets can be configured via setting global.imagePullSecrets and optionally per image if it is configured as map (image.pullSecrets) Issue-ID: OOM-3284 Change-Id: I8644f9b46043b6014219c42928e057b149df43a4 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-03-14[COMMON] Harmonize resource settings, Part 2Andreas Geissler4-10/+10
Some settings are still wrongly interpreted (e.g. 0.02Gi) Therefor they are changed to non-floating numbers (e.g. 20Mi) Issue-ID: OOM-3273 Change-Id: Icc88dead1ac5b1df8629d6adcc438a739e20522e Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-02-28[COMMON] Harmonize resource settingsAndreas Geissler4-0/+35
Update all resource settings to the kubernetes recommended normalized form. Fix ReadinessCheck resource limits. Issue-ID: OOM-3273 Change-Id: Ie10903b801e4dc1689bcec092162d711a431a7a6 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-11-10[CASSANDRA] Make stargate and reaper deployment optionalAndreas Geissler3-8/+4
As Reaper startup is failing in many cases the deployment it should be possible to disable it to stabilize the gating Change the delay handling in the deploy plugin. Issue-ID: OOM-3246 Change-Id: Ibf435d30551aacc213d7c9d38bce72198f4f4b3d Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-10-18[CASSANDRA] Add Reaper and Stargate label checked by SDC/AAIAndreas Geissler3-4/+8
Schema creations of Reaper and AAI/SDC can conflict with each other. Therefor the reaper init script should finish before AAI and SDC schema init scripts are started Update jvm options for cassandra instance Issue-ID: OOM-3246 Change-Id: I16cea161fc8b75e15c76c4cbe4851739782dfb06 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-09-29[MARIADB][COMMON] Add support for mariadb-operatorAndreas Geissler4-5/+5
Add template functions for the mariadb-operator resources and update the mariadb-galera chart to support them Change the flag to "useOperator" in cassandra to the global setup and additional labels for cassandra resources Changed Policy DB users to support the new mariadb User and fixed db.sh script to wait for the DB user creation Use the new readiness image 5.0.1 with the "app-name" option Change the MariaDB-Galera Service to the "primary" to avoid Deadlocks Fix previous SDNC patch (https://gerrit.onap.org/r/c/oom/+/135308) and temporary disable MariaDB for SDNR, as it is not compatible to MariaDB 11 Issue-ID: OOM-3236 Change-Id: Ie63fcc9c6d5fa802d38c592b449e7ff8553c2ab9 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-07-19[AAI] Update Version labels in deploymentsAndreas Geissler1-4/+4
Add "" to the version label to interpret it as string Issue-ID: OOM-3228 Change-Id: Ib3af1e6b4caaf4d2153bd73211e0bd7c1b1ccb96 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-07-18[AAI] Fix Istio compatibility and add Job ServiceAccountAndreas Geissler5-0/+26
Add labels for "version" and "name", add port name in deployment Add missing Service account in Job definitions Issue-ID: OOM-3229 Issue-ID: OOM-3228 Change-Id: I65c188f4c029b94cc0dc77ebe9e00bfc9a0cb27a Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-05-26[AAI] Create Authorization Policies for AAIAndrewLamb1-0/+17
- Create Authorization Policies for AAI - Add initial authorized serviceAccounts for each sub-component service Issue-ID: OOM-3126 Change-Id: Ic7fdaf595ae3534805a39859fe8e02b81999bef3 Signed-off-by: amatthews <adrian.matthews@est.tech> Signed-off-by: AndrewLamb <andrew.a.lamb@est.tech>
2023-03-31[AAI] Update Service definitions to support Ingress caseAndreas Geissler1-2/+2
Fix the service definitions to automatically change NodePorts to ClusterIPs in case of Ingress enabled Issue-ID: OOM-3111 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I27fbcc917190f1df3d39f1bfc789664bb55809a2
2023-03-29[AAI] Remove AAF/TLS config from chartsefiacor4-250/+19
Remove aaf and tls config from aai charts Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ibb26e7ae00eb6b5a65ec2263b8f57ad6fb345892 Issue-ID: OOM-3111
2023-03-03[COMMON] Fix resources indentmiroslavmasaryk1-2/+1
Fix of resources template indent and therefore resources in components Issue-ID: OOM-3104 Signed-off-by: miroslavmasaryk <miroslav.masaryk@telekom.com> Change-Id: I825a3860db00cae4bb80b2aa2d82ac1a42b33124
2022-11-23[AAI] Service monitor for scraping prometheus metricsleila3-0/+11
Changes are done for aai resources graphadmin and traversal Session affinity for aai resources traversal and aai haproxy Issue-ID: AAI-3599 Signed-off-by: leila <leila.nishimwe@bell.ca> Change-Id: Ib3853c45051ca8e9c025bd0d6e700a08a54cb1a9
2022-06-03[AAI] Service mesh compatibility improvementAndreas Geissler3-2/+10
Add waiting times for the jobs for the Sidecar to start up Cleanup old ClusterIP, which is not used anymore and corrected failing configuration for the modelloader. Added annotation for Sparky-be probe settings. Issue-ID: OOM-2820 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I996c9bad4fcfea5aaba7f8eeb4b12b1282be0375
2022-03-01[AAI] Automatically select valid jetty-util jarRadoslaw Chmiel4-15/+20
jetty-util jar filename will be automatically generated from currently present instead of hardcoded value Change-Id: Iface1530739cc28d9f0823573c98852ae4a3b6d9 Signed-off-by: Radoslaw Chmiel <r.chmiel@partner.samsung.com> Issue-ID: OOM-2929
2022-02-17[GLOBAL] Upgrade Jetty ImageSylvain Desbureaux4-15/+15
Use latest Jetty image, change configuration and explain in code what needs to be done for next time. Issue-ID: AAI-3450 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I85c2f772b985e0f03654916a800c96e1dd345093
2021-12-01[AAI] Service Mesh relatedothman touijer4-16/+24
Sets conditions on volumes that are not mounted when AAF is disabled. Issue-ID: OOM-2887 Signed-off-by: othman touijer <othman.touijer@soprasteria.com> Change-Id: If5613bf22d3dbfe527be77726cb1b14a538a2e04
2021-11-12[AAI][SCHEMA] Remove Hardcoded certificatesSylvain Desbureaux6-183/+388
Use Certinitializer in order to retrieve needed certificates. It'll also do the retrieval for graphadmin as both microservices are working together. Issue-ID: OOM-2691 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Iad790cc14361cf15d5a6bf4fcad6fd9f4048a1a7
2021-11-02[AAI] Use log templateMaciej Wereski3-24/+6
Ability to turn off filebeat is needed as it is being deprecated. To achieve that existing log helper template is used. Issue-ID: OOM-1 Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com> Change-Id: I730b5463fea750594a23ce391c352959d166195e
2021-09-14Merge "[AAI] Service Mesh compatibility"Sylvain Desbureaux5-12/+19
2021-09-13[AAI] Service Mesh compatibilityosk114615-12/+19
This patch makes AAI to work on service mesh by removing https calls from everywhere. It allows also to use AAI on an environment without need of TLS. Issue-ID: OOM-2670 Signed-off-by: Ondrej Frindrich <ondrej1.frindrich@orange.com> Change-Id: I19adabc7b33c1ada243ec16f77dbf8fde19b1386
2021-09-03[AAI] Added Rolling Update Strategy to graphAdminM.Hosnidokht1-0/+23
Addded preStop hook to let long-running tasks be finished before the SIGTERM is invoked Issue-ID: AAI-3368 Signed-off-by: Mohammad Hosnidokht <mohammad.hosnidokht@yoppworks.com> Change-Id: Ie5d0c5b454bd99022e5a2307e5813a92a8713ebd
2021-07-20[AAI] Update chart with service accountfarida azmy1-1/+1
Add service account to requirements.yaml, values.yaml and deployment/statefulset Issue-ID: OOM-2704 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Co-authored-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Id03799f7a7ed1a031c7d819999496b18bac80881
2020-12-11[AAI] Make AAI helm3 compatibleSylvain Desbureaux6-0/+12
Helm3 doesn't like empty components with only license headers so we remove them as much as possible. Issue-ID: OOM-2562 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I26b790965d2926792f801b87294d15a074de7be6
2020-12-07[AAI] Uses new tpls for repos / imagesSylvain Desbureaux4-37/+41
This commit makes AAI chart to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I601be377556d16580f2eda6d00d144fb4a21b445
2020-12-02[AAI] Reintegrate AAI OOM charts in main repoSylvain Desbureaux8-0/+985
AAI chart is currently in its own directory. As a lot will be done in the charts with tight coordination between "common" part and components parts, it's a lot easier to have everything in a same place for now. Issue-ID: OOM-2513 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I5e27f7de286bf74e6d3a443e1cb31f63b3d83265 [Update aai to commit 18d4bd165e12cb4d03baa318e506f0dda381cd89] Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>