aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common
AgeCommit message (Collapse)AuthorFilesLines
2022-03-28[GLOBAL] Allow anonymous access to main repoSylvain Desbureaux1-3/+6
Today, access to main repo (nexus3.onap.org:10001 by default) mandates an user configuration. If someone is proxying it with a repository with anonymous access, it may not work. This patch allows to remove authentication by setting user to empty string. Issue-ID: OOM-2928 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I379d43343694d7dcb9212687c5a8104cc8c77bc3
2022-03-22Merge "[POLICY] Enable prometheus integration for policy fwk"Sylvain Desbureaux1-0/+21
2022-03-22Merge "[COMMON][MARIADB] Fix backup job"Sylvain Desbureaux2-10/+36
2022-03-21Merge "[COMMON] Update Ingress API"Jack Lucas1-3/+10
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-18[COMMON][MARIADB] Fix backup jobJozsef Csongvai2-10/+36
The backup job stopped working after upgrade to bitnami images. Mariabackup was not designed to work remotely, it is supposed to run on the database server. Because of this we need to mount the data pvc into the backup job pod. It will however connect to the database daemon using a hostname, so we need to connect to the first replica in the cluster. Also had to set readOnlyRootFilesystem=false and add emptyDir volumes to solve various permission issues. Issue-ID: OOM-2932 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I776903f9ec541f8dc5818b2ba4c1292226ec2bc6
2022-03-08Merge "[COMMON][MARIADB] Fix typo in bootstrap condition"Sylvain Desbureaux1-1/+1
2022-03-08Merge "[DMAAP] Add pod security context to MR and others"Sylvain Desbureaux1-0/+2
2022-03-07[COMMON][MARIADB] Fix typo in bootstrap conditionJozsef Csongvai1-1/+1
This was causing errors when using bootstrapFromNode Issue-ID: OOM-2933 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I55b49ad40b5f45b394acd064fcbc7f272298fde0
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-03-03[DMAAP] Add pod security context to MR and othersrope2521-0/+2
Add security context to pods within DMAAP Change-Id: I86f7bd79e77dec33879f4ee3b599799705d40a24 Issue-ID: OOM-2913 Signed-off-by: rope252 <gareth.roper@est.tech>
2022-02-25Merge "[GLOBAL] Bump Kubectl image"Jack Lucas1-1/+1
2022-02-25Merge "[GLOBAL] Bump Nginx image"Jack Lucas1-1/+1
2022-02-25Merge "[GLOBAL] Bump busybox image"Jack Lucas1-1/+1
2022-02-24[GLOBAL] Bump busybox imageSylvain Desbureaux1-1/+1
Use busybox 1.34.1 image for Jakarta Issue-ID: SECCOM-271 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I9c03855a610577fe396095ae7e631d22c75d22f8
2022-02-23[GLOBAL] Bump Kubectl imageSylvain Desbureaux1-1/+1
Use kubectl 1.22.4 image for Jakarta Issue-ID: SECCOM-271 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I4501f5a91f0fe7d9b75abf7fdaaaf7405433fb16
2022-02-23[GLOBAL] Bump Nginx imageSylvain Desbureaux1-1/+1
Use nginx 1.21.4 image for Jakarta Issue-ID: SECCOM-271 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I2a391697c066a45845a45f605db1c578684e1feb
2022-02-22Merge "[COMMON] Export cassandra key metrics"Sylvain Desbureaux4-2/+130
2022-02-21Merge "[OOM] Avoid duplicate DrPublisher creation via DCAE"Sylvain Desbureaux2-4/+3
2022-02-21Merge "[MARIADB] Use common labels for the metrics Service selector"Sylvain Desbureaux1-2/+2
2022-02-21Merge "[COMMON] Fix typo in import-custom-certs.sh"Sylvain Desbureaux1-2/+2
2022-02-17[GLOBAL] Upgrade Jetty ImageSylvain Desbureaux1-1/+4
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
2022-02-07[MARIADB] Use common labels for the metrics Service selectorBartek Grzybowski1-2/+2
Setting the "prometheus: kube-prometheus" label selector for mariadb-galera ServiceMonitor object is invalid since mariadb-galera-metrics service has common labels assigned. Without this change Prometheus (in kube-prometheus-stack) does not select the mariadb-galera-metrics service for scraping and relevant target is not created. Change-Id: I64dfe83ff7fb448125f8726cf3ca33048ced04a8 Issue-ID: OOM-2925 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-31[OOM] Avoid duplicate DrPublisher creation via DCAEajay_dp0012-4/+3
- 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-31Merge "[SDC] Service Mesh Compliance for SDC"Jack Lucas3-2/+37
2022-01-26[COMMON] Fix typo in import-custom-certs.shBartek Grzybowski1-2/+2
It resulted in an error at runtime: /root/import-custom-certs.sh: line 30: syntax error: unexpected "then" Issue existed since change Ie9b5ac1c2edd9ddf3574f09c77ca8734f2311d1d Change-Id: I8b9f771eaccc9f1cdbd45159f2199b33c9b5d826 Issue-ID: OOM-2919 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-25[SDC] Service Mesh Compliance for SDCothman touijer3-2/+37
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 Charan4-2/+130
- 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
2022-01-21[CPS] Upgrade timescaledbBruno Sakoto1-3/+2
Timescaledb is upgraded to 2.5.1-pg14 to have postgres 14.1 Issue-ID: CPS-842 Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca> Change-Id: I454543989041d2f595de05ed2b6efab62b8b2c58
2022-01-20Merge "[OOM-CERT-SERVICE][DCAE] Top up Cert Service containers"Sylvain Desbureaux1-1/+1
2022-01-19[OOM-CERT-SERVICE][DCAE] Top up Cert Service containersTomasz Wrobel1-1/+1
Top up cert service container to 2.5.0 Issue-ID: OOM-2903 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I297f14b89043f680add508dbf2b636edbc12cb61
2022-01-10[COMMON] Added imagePullSecrets to certInitializer jobAndreas Geissler1-0/+2
Added missing definition to use secret for repository access Issue-ID: OOM-2907 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: If0886b2a59df7786c3655851610e1a6b3aca73ff
2022-01-05[MARIADB] Downgrade mariadb versionSylvain Desbureaux2-2/+2
Use version 10.6.5-debian-10-r28 instead of 10.6.5. Also align clamp and so to use the same version as the other ones Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ie1db09b03daa1bb7792ee0ff6a73bd3483213e75
2021-12-16Merge "[COMMON] Fix some array bashisms"Sylvain Desbureaux1-5/+5
2021-12-15[COMMON] Fix some array bashismsguillaume.lambert1-5/+5
pointed out by checkbashisms Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: Iac07813968e42af1f5a18b0cefb4aee85aa2b880
2021-12-15Merge "[GLOBAL] Bump Java JRE image"Krzysztof Opasiak1-1/+1
2021-12-15Merge "[GLOBAL] Bump curl image"Krzysztof Opasiak1-1/+1
2021-12-15Merge "[COMMON] Make our common charts compatible with helm 3.7+"Sylvain Desbureaux2-3/+2
2021-12-15Merge "[COMMON] Make namespace configurable"Sylvain Desbureaux2-3/+14
2021-12-14[COMMON] Make our common charts compatible with helm 3.7+Krzysztof Opasiak2-3/+2
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-13Merge "[COMMON][MARIADB] Bump version to 10.6.5"Krzysztof Opasiak2-2/+2
2021-12-13Merge "[COMMON][MONGO] Bump Mongo to latest 4.x version"Krzysztof Opasiak1-1/+1
2021-12-10[GLOBAL] Bump Java JRE imageSylvain Desbureaux1-1/+1
Use onap/integration-java11 11.0.0 image for Jakarta Issue-ID: SECCOM-271 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Id5aab493eebae3787d636c6a771c58d0b9d98558
2021-12-10[GLOBAL] Bump curl imageSylvain Desbureaux1-1/+1
Use curl 7.80.0 image for Jakarta Issue-ID: SECCOM-271 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ieb288a29acd36bacec9a36e06717514adce04bd3
2021-12-10[COMMON] Changed mongo storage location to enable persistanceAndreas Geissler1-1/+18
Added initContainer to fix the permissions of the to be mounted volume and changed intent Issue-ID: OOM-2864 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I188d7f6002405e810dd54d1043824979b4d83d42
2021-12-10[COMMON][MARIADB] Bump version to 10.6.5Sylvain Desbureaux2-2/+2
Bump version to the one asked by SECCOM. Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I99a4c1e412a2288b595d78470dc433466586529b
2021-12-10[COMMON][MONGO] Bump Mongo to latest 4.x versionSylvain Desbureaux1-1/+1
As we need to be on 4.4 before upgrading to 5.0, let's update to 4.4 for Jakarta and 5.x in Kohn release Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ie72f83f5380d9d5f0427dbd4f0f9ba8fa97c8780
2021-12-09[COMMON] Make namespace configurablexuegao2-3/+14
Make the namespace parameter configurable for CertInitializer and ReadinessCheck Chart Issue-ID: OOM-2888 Signed-off-by: xuegao <xue.gao@intl.att.com> Change-Id: I5bb4e86be935921af1d852d6d7666fb5c8eaf725
2021-12-08[COMMON] Fix "local var=XX" bashismsguillaume.lambert1-1/+2
Variable attribute 'local' is not POSIX but is LSB supported. It is available in other shells such as ash or dash. And in ksh, local is the default scope of functions vaiables. Though, the syntax "local var=XX" is only supported and found in bash. Sadly, this is not detected by checkbashims. - fix "local var=XX" bashisms - add a manual command in tox.ini to detect them in the CI https://wiki.ubuntu.com/DashAsBinSh#local https://wiki.ubuntu.com/DashAsBinSh#declare_or_typeset https://stackoverflow.com/questions/12000949/scope-of-variables-in-ksh Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: Iff26e50cd352eeb760d923a4740a6f92184fe0f2
2021-12-07[GLOBAL] Migrate to helm v3efiacor60-690/+335
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