aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/common
AgeCommit message (Collapse)AuthorFilesLines
2023-04-28Merge "[POLICY][COMMON] Create Authorization Policies for Policy"Andreas Geissler1-2/+2
2023-04-27[COMMON] Fix template common.nginxIngress rendering issueAlexander Dehn1-1/+1
add LF in case of tls config Issue-ID: OOM-3172 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com> Change-Id: I34d8a38972e568c67dfbacc2fe97132789379628
2023-04-21[POLICY][COMMON] Create Authorization Policies for PolicyAndrewLamb1-2/+2
Policy- Add initial authorized serviceaccounts for each sub component service Common- Change authorizationpolicy to match on the label app Issue-ID: OOM-3139 Change-Id: I411877b933d6dfcbdee633f1440d16c9658438e5 Signed-off-by: AndrewLamb <andrew.a.lamb@est.tech>
2023-04-19Merge "[COMMON] Fix Authorization Policy Template"Andreas Geissler1-4/+2
2023-04-19[COMMON] Add app label to common.labelsFiete Ostkamp1-0/+1
- add an app label to all resources because this is picked up by Istio Issue-ID: OOM-3164 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I71831b29c5c5b9ddc2bcafbc1567ed0dfa971e5c
2023-04-18[COMMON] Fix Authorization Policy TemplateAndrewLamb1-4/+2
Fix for: no matches for kind AuthorizationPolicy, when trying to install on deployment with no istio. Issue-ID: OOM-3163 Change-Id: I3e0be55d78e6c88655eeaf267c25b8e6747c5b3c Signed-off-by: AndrewLamb <andrew.a.lamb@est.tech>
2023-03-29Merge "[COMMON][SO] Create authorization policy template"Andreas Geissler1-0/+81
2023-03-27[STRIMZI] Correction for external Access via IngressAndreas Geissler1-27/+85
VirtualService TCP route added in _ingress.tpl using protocol option in onap-strimzi ingress configuration Added support for multiple ports in _ingress.tpl added Fixed port setting in onap-strimzi for external interface Add information to the documents section Issue-ID: OOM-3109 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: If8507278d952ee29ceaa3f134b99d18bd6f31cb7
2023-03-21[COMMON][SO] Create authorization policy templateAndrewLamb1-0/+81
Create template for istio authorization policies Issue-ID: OOM-3148 Change-Id: I081288e8e9b0e8347ee6fd0d656398126826c273 Signed-off-by: AndrewLamb <andrew.a.lamb@est.tech>
2023-03-09[STRIMZI] External Kafka Access via IngressAndreas Geissler2-1/+16
Add Ingress configuration for Kafka brokers and bootstrap service and add advertized host/port settings Change the _service.tpl to modify a Nodeport to a ClusterIP depending in the usage of Ingress Issue-ID: OOM-3109 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I19a405b7fb9c06ce40322e7af824e1aad5baaa90
2023-03-09[DCAE-HV-VES] Move to use strimzi kafka tplefiacor1-0/+4
Move hv-ves to use strimzi kakfa tpl Topic naming is invalid so adding overrides to tpl Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ied93c6329f51c3219b09b4f67f174c9e15727188 Issue-ID: DMAAP-1854
2023-03-03[COMMON] Fix resources indentmiroslavmasaryk2-2/+2
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
2023-02-19[POLICY] Move policy dist to use strimzi templatesefiacor1-1/+0
Move policy dist to use strimzi templates Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I4a03812a7545ce7a4fcd5443a2c0af89933b1a63 Issue-ID: DMAAP-1857
2023-02-17[DCAE][HVVES] Make HVVES collector SM compatibleAndreas Geissler1-0/+9
As we have problems to send binary data to the HVVES collector the support for service appProtocol attribute is required to fix the hvves service protocol to "tcp" and to disable the port for sidecar usage Issue-ID: OOM-3076 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Ied6ca4d4d8cd088c8ec0e0ee13068dfdbfb38461
2023-02-06[COMMON] Fix nodePort creation in _service.tplAndreas Geissler1-6/+6
In case of non-TLS service the nodePort was not reserved and missed to disable tls for the services (tlsEnabled) Issue-ID: OOM-3094 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I7f5102a499f4b262556787b5db682e28a9ebcf81
2023-01-31Merge "[DMAAP] Remove AAF dependency"Andreas Geissler1-0/+4
2023-01-31[DMAAP] Remove AAF dependencyefiacor1-0/+4
Remove DMaaP NodePorts Update dmaap-bc postgres setup and dbc-client image used by DCAE Use the http port of the dbcClient in the dmaapProvisioning job Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ie4888b58b6f7e1405ed67625900da89e58b5cb79 Issue-ID: DMAAP-1573
2023-01-19[COMMON] Add pre/postfix and customized port option for Istio IngressAndreas Geissler1-23/+63
Add new options for the created Ingress URLs (preaddr, postaddr) and allow to create Ingress configurations using customized ports Correction added to the installation of the Ingress Gateway. Issue-ID: OOM-3084 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Ib31050c169799409c6e968adce7ff41e215e3ff9
2022-12-06[STRIMZI] Add strimzi kafka templatesefiacor1-0/+132
Add template for strimzi KafkaUser and topic Move sdc-be to use given templates Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Idc3c5af7f4945466f8419fed7d2f43de36aacd13 Issue-ID: DMAAP-1836
2022-11-25[COMMON] Correct Ingress template to create Istio GW/VSAndreas Geissler2-64/+142
The template should create for each Ingress service a single Gateway/VirtualService Resource, small update of service template Issue-ID: OOM-3000 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I480f8c7b6b9ca3a84813a9e96c4d796d332facc7
2022-11-10[COMMON] Bump ONAP versionAndreas Geissler1-1/+1
Update chart versions 12.0.0 for London Issue-ID: OOM-3046 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Ic196235ff4f6ae14a7ecad799bd75a9666b2594a
2022-11-03[COMMON] Remove aafConfig as it's replaced by certInitializerKrzysztof Opasiak1-162/+0
aafConfig is obsolete now so let's remove it from the source code to be sure that people use the new one. Issue-ID: AAF-1134 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Ie1e05cf0fbe82474edcb3c35ca0df011f4e3a449
2022-08-31Merge "[COMMON] Disable Nodeports in _service template"Jack Lucas1-0/+3
2022-08-19[COMMON] Disable Nodeports in _service templateAndreas Geissler1-0/+3
When using the _service template in case of ServiceMesh a NodePort is changed to a ClusterIP Issue-ID: OOM-2013 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I42fa1af57dc393356990bedc3ec52babb4f6c09a
2022-08-19[COMMON] Add Istio IngressGateway configAndreas Geissler1-2/+103
In the _ingress.tpl create Gateway and VirtualService resources when SM is enabled, add ssl redirect and use plain_port, if it is defined in ingress config Issue-ID: OOM-3000 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I20c9f88573547fbad631df3c5e0fa17fbdeed80b
2022-08-02[DCAEGEN2-SVCS] Support config update via configMapJack Lucas1-21/+6
Change chart to mount application configuration configMap directly on the application container and rely on the DCAE SDK to do environment variable substitution on the configMap content. This allows changing configuration by editing the configMap without restarting the application. Remove message router authenticated topic provisioning from DCAE. Issue-ID: DCAEGEN2-2935 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: I85139e64f8cb7e1b88f8fca8d5d84cc71f946290
2022-06-24[COMMON] Bump ONAP versionAndreas Geissler1-1/+1
Use version 11.0.0 for Kohn Issue-ID: OOM-2971 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Icc0e0839fc6def2035383b5fa4c9153fc15fafda
2022-05-10[DMAAP-STRIMZI] Add strimzi kafka bridgeefiacor1-34/+0
Move DMaaP MR to use srimzi kafka Remove mr kafka and zookeeper Add strimzi kafka bridge to dmaap Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I3af65efd85b7dfb16c4682dd7607734fcd95adaf Issue-ID: DMAAP-1622
2022-04-29[COMMON][MARIABD] MariaDB ServiceMesh compatibilityAndreas Geissler1-1/+1
Update the port names of metrics and mariadb to match the istio requirements and update the timeouts. Fix mysql protocol setup for istio and update mariadb-init job to support istio sidecar communication. This is separated from a patch for CDS SM compatibility Issue-ID: OOM-2820 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I02c19c9fcfbd76a2cede0b924174ad81b45d719e
2022-04-11[CPS] Fix statefulset upgradeBruno Sakoto2-3/+7
Remove helm chart label from timescaledb statefulset fields for which updates are forbidden Issue-ID: CPS-857 Change-Id: I024ef0cd8c23c477e1d43a1a4ee9c5d6d1743f3b Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
2022-03-22Merge "[POLICY] Enable prometheus integration for policy fwk"Sylvain Desbureaux1-0/+21
2022-03-21[POLICY] Enable prometheus integration for policy fwkRashmi Pujar1-0/+21
1. Define serviceMonitor for policy components 2. Changes to common serviceMonitor tpl file to include tls params in authentication config, and to provide ability to overrride labels. Issue-ID: POLICY-3779 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: I79441958698271d9118efb78cfd121433e201ebd
2022-03-04[COMMON] Update Ingress APIJack Lucas1-3/+10
Move from using the v1beta1 version of the Ingress API (deprecated in k8s v1.19 and not present in v1.22+) to the stable v1 version. Issue-ID: OOM-2926 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: Icbd4bf3b8a8a0521160e277cde2977aef8a17faf
2022-02-22Merge "[COMMON] Export cassandra key metrics"Sylvain Desbureaux1-0/+5
2022-01-31[OOM] Avoid duplicate DrPublisher creation via DCAEajay_dp0011-2/+1
- Username/Password passed as k8s Secret while dr_pub creation. Issue-ID: DCAEGEN2-2861 Signed-off-by: ajay_dp001 <ajay.deep.singh@est.tech> Change-Id: Ib767c8a17e2d7edabf4a9952ac7277d8062c7988
2022-01-25[SDC] Service Mesh Compliance for SDCothman touijer1-2/+31
Adding basic requirements for Service Mesh Compliance within SDC. Change-Id: Ib9104ef2e8b6daf0b9b529288cee158b297ce9e4 Issue-ID: OOM-2253 Signed-off-by: rope252 <gareth.roper@est.tech> Signed-off-by: othman touijer <othman.touijer@soprasteria.com>
2022-01-24[COMMON] Export cassandra key metricsSuresh Charan1-0/+5
- Add service monitor template - Add metrics container to Cassandra statefulset - Update values.yaml to add metrics and servicemonitor config - Modify service template to add metrics port configuration Issue-ID: OOM-2914 Signed-off-by: Suresh Charan <suresh.charan@amdocs.com> Change-Id: Ia47daea337a414c91367a08ecc043bb3bd9ba697
2021-12-14[COMMON] Make our common charts compatible with helm 3.7+Krzysztof Opasiak1-2/+1
Helm 3.7.0 introduced a new .Chart variable named IsRoot. In the same time they refactored the representation of .Chart and it no longer is a dictionary but a structure which confuses mergeOverride. In order to keep our tricks working we need to skip .Chart while doing a deepCopy of our current context. Issue-ID: OOM-1 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I230e2ba460ddf09377d8de6c1366d4fd82f764cd
2021-12-07[GLOBAL] Migrate to helm v3efiacor1-2/+2
Move all Chart.yaml to use apiVersion: 2 Move dependencies from requirements.yaml to Chart.yaml Changes to all makeFiles Changes to helm deploy plugin Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I03c5290eee9e40f76eacbf171e774204cf5fb1c0 Issue-ID: OOM-2845
2021-11-02[COMMON] Add resources to log sidecar templateMaciej Wereski1-0/+7
Filebeat sidecar containers in many cases has resources set. As a result, in many components resources section is added manually, after usage of log template. This commit solves this situation Issue-ID: OOM-1 Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com> Change-Id: I725a38eb9d4dffcc017c24399436ddfccdb91123
2021-10-29[COMMON] Log: add ability to set ConfigMap name in volumesMaciej Wereski1-2/+4
In case where subchart uses ConfigMap that was defined in parent chart, wrong chart name will be generated. This change allows to workaround that issue by supplying own prefix instead of generated one. Issue-ID: OOM-1 Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com> Change-Id: Ieed19d46e4205cd5b23b4c74af19c618a6e48466
2021-10-15[COMMON] Bump ONAP versionSylvain Desbureaux1-1/+2
Use version 9.0.0 for Istanbul Also update the doc. Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I03e11799bf487226784c98b04116f005c89d1e70
2021-09-22[COMMON] Fix genericKV cache generationKrzysztof Opasiak1-1/+10
Make sure that the envs sections gets tpl and cached properly. Issue-ID: OOM-1 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I4064bdf3204a61a30b7296503c99e7931bae8cd2
2021-09-16Merge "[OOM] Fix Feed Provisioning for DFC"Sylvain Desbureaux1-1/+1
2021-09-14Merge "[AAI] Service Mesh compatibility"Sylvain Desbureaux2-0/+22
2021-09-13[AAI] Service Mesh compatibilityosk114612-0/+22
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-10[OOM] Fix Feed Provisioning for DFCajay_dp0011-1/+1
Cmd :"grep -o '"logURL":"[^"]*' "$file" | cut -d '"' -f4" filters more then one logURL like below from feedConfig response log, If both subs/pubs are present, which corrupts application config. https://dmaap-dr-prov/feedlog/1 https://dmaap-dr-prov/sublog/1 Requirement is to filter only feedlog URL, with changes script should correctly filter URL: https://dmaap-dr-prov/feedlog/1. Issue-ID: DCAEGEN2-2910 Signed-off-by: ajay_dp001 <ajay.deep.singh@est.tech> Change-Id: I2a67aad5c533f1b623737f56feeefb3a05f6373a
2021-09-06[COMMON] Add prometheus service monitor templateMarat Salakhutdinov1-0/+166
Add prometheus service monitor template to common charts so that components can reuse it to enable scraping of their metrics by prometheus. Issue-ID: OOM-2710 Signed-off-by: Marat Salakhutdinov <marat.salakhutdinov@bell.ca> Change-Id: Ifa8da676dec05192c518ba97208df60e5ec46f55
2021-09-01Merge "[DCAE] Helm charts for SNMPTrap collector"Sylvain Desbureaux1-1/+15
2021-08-27[DCAE] Helm charts for SNMPTrap collectorVijay Venkatesh Kumar1-1/+15
Helm deployment support for DCAE transformation common/svc template support for UDP protocol. Added readiness configuration. Change-Id: Idc40c60d95ddd5eb0ef43ba0b11b7b163970a5b1 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-2708 Issue-ID: OOM-2751 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>