summaryrefslogtreecommitdiffstats
path: root/kubernetes/common
AgeCommit message (Collapse)AuthorFilesLines
2021-02-10Merge "[COMMON] Create certManagerCertificate chart"Sylvain Desbureaux5-192/+284
2021-02-07[MUSIC] Make MUSIC to use cert managerkrishnaa966-25/+28
Make music to use cert manager to generate and load the certificates Issue-ID: OOM-2673 Signed-off-by: Krishna Moorthy <krishna.moorthy6@wipro.com> Change-Id: I3c655107bebb969f317bcbe87cfc6a55a1821533
2021-02-05[COMMON] Create certManagerCertificate chartPiotr Marcinkiewicz5-192/+284
- Create certManagerCertificate chart for Certificate template - Change default values for duration and renewBefore - Add creation Secret with keystore password - Use template in SDNC (add volumes and volumesMounts) Issue-ID: OOM-2568 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: Ib70d91b599fa6813ed0a6d5b96206508f2fdafcf
2021-02-04Merge "[COMMON] Fix Ingress templating"Krzysztof Opasiak1-7/+13
2021-02-02Merge "[COMMON][ETCD] Skip startup self-discovery for etcd nodes"Krzysztof Opasiak1-0/+4
2021-01-27[PLATFORM] Update cert service images to 2.3.3Joanna Jeremicz2-4/+4
Enhance CertServiceAPI response (include CMP server error messages) Fix KeyUsage extension sent to CMPv2 server Issue-ID: OOM-2658 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: Ic2c68b85fce08d20e423b316a3234e6f00799a42
2021-01-27Merge "[COMMON] Add template for CertServiceClient"Sylvain Desbureaux6-0/+268
2021-01-26[COMMON] Fix Ingress templatingSylvain Desbureaux1-7/+13
New TLS part of Ingress templating was broken. This commit fixes it. Issue-ID: OOM-2609 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I0b9b41e052911ef0064696ac7cf6ca8a274ae1dd
2021-01-25Merge "[COMMON][MARIADB] Force Galera Node address"Krzysztof Opasiak1-0/+6
2021-01-25[COMMON][ETCD] Skip startup self-discovery for etcd nodesKonrad Bańka1-0/+4
Current startup script of etcd checks whether all assumed other nodes are already running, before proceeding. This check, however, also includes checking localhost, but due to using headless service statefulset pod DNS discovery, it doesnt succeed immediately. In some deployments k8s DNS server may be laggy, thus failing startup script to finish before liveness check. This patch fixes such failures of 1 pod etcd clusters, and improves startup time for any size ones. Signed-off-by: Konrad Bańka <k.banka@samsung.com> Issue-ID: OOM-2668 Change-Id: I2f9263a0f4964b0a495631775d0cbbceef25e85b
2021-01-21Merge "[COMMON][CERTS] Use sh to onboard custom certs"Krzysztof Opasiak2-7/+13
2021-01-20[COMMON] Add template for CertServiceClientRemigiusz Janeczek6-0/+268
Create generic template to simplify CertServiceClient use Issue-ID: OOM-2568 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I4fb9829b27b1dd13a9e7a098f807710cc5648438
2021-01-19[COMMON][CERTS] Use sh to onboard custom certsSylvain Desbureaux2-7/+13
Today, onboarding custom certificates relies on `bash`. But image used for that doesn't have bash. Therefore, we need to use `sh` in order to onboard the certs. Issue-ID: OOM-2666 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ia8087bd9484a013ac76044681059f634a4e45eb8
2021-01-18[COMMON][MARIADB] Force Galera Node addressSylvain Desbureaux1-0/+6
Bitnami init script can automatically choose the node address (which is the IP address of the container). Unfortunately, this doesn't work when on dual stack as both IP addresses with a space are given (see https://github.com/bitnami/charts/issues/4077). This patch force the IP address so we can get rid of this issue Issue-ID: OOM-2661 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I5dd2147df1932b1f0fdde7c2b55585cff45bab68
2021-01-18[COMMON] Uses new generator for repos and imagesSylvain Desbureaux3-2/+3
This commit makes common template to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I35123faf99ae3bffea68bc39776f320c4168b45f
2021-01-13Merge "[CMPV2] Generate certificate name"Krzysztof Opasiak1-9/+9
2021-01-13[CMPV2] Generate certificate nameJan Malkiewicz1-9/+9
Genereate names of certificate and secret Issue-ID: OOM-2568 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I014df059f348e974f6d222b5d6d1c2416bea0440
2021-01-12Merge "[COMMON][Readiness] Uses new tpls for repos / images"Krzysztof Opasiak4-3/+5
2021-01-08Merge "[CMPV2] Add a template for Certificate (cert-manager)"Sylvain Desbureaux1-0/+192
2021-01-08[COMMON][Readiness] Uses new tpls for repos / imagesSylvain Desbureaux4-3/+5
This commit makes Readiness Check template to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I6d115a071e11f9e992f04ec2a14595a5aed5401b
2021-01-06[PLATFORM] Update cert service images to 2.3.2Remigiusz Janeczek1-2/+2
Align Cert Service Api to RFC4210. Fix Cert Service Client CA_NAME validation. Fix Cert Service External Provider logging. Issue-ID: OOM-2656 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I644946b139bd4879e44cdf705eadcc4c2c81a0e2
2021-01-06[CMPV2] Add a template for Certificate (cert-manager)Jan Malkiewicz1-0/+192
This commit introduces a template for requesting a cert-manager certificate. See: https://cert-manager.io. It consist of the following parts: - a template for creating certificate in commons component - a definition of a certifcate object in sdnc component Issue-ID: OOM-2568 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: If58b8f12eff075d058db5a0fee3b2db5c2c93a17
2021-01-04[COMMON][MARIADB] Set init wait right variableSylvain Desbureaux1-1/+1
Bitnami mariadb-galera image has a special environment variable that allows to wait few seconds for mariadb to be fully initialized. This is especially important when a lot of pods are created in parallel, like in OOM. Unfortunately, the variable name used wasn't the good one. This patch rectifies that Issue-ID: OOM-1720 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I2f41ec734a45197c40d5adfa9e214ba5e335f44d
2020-12-17[COMMON][CertInit] Uses new tpls for repos / imagesSylvain Desbureaux5-4/+11
This commit makes CertInitializer template to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I5efa37225bfe05e2c7be7b8d2420ccaeb10afe62
2020-12-17Merge "[COMMON][MARIADB] Upgrade Mariadb DB galera version"Krzysztof Opasiak28-1078/+1087
2020-12-17Merge "[COMMON] Add job support for readinessCheck"Krzysztof Opasiak1-1/+14
2020-12-14[COMMON][MARIADB] Upgrade Mariadb DB galera versionSylvain Desbureaux28-1078/+1087
Mariadb DB Galera containers version is outdated and unmaintained. We need them to move to a new image provider. As new image provider is not compatible with our old templates, we also update the templates (by reworking bitnami mariadb-galera chart). An update of global mariadb image is also done in order to match mariadb galera version. Issue-ID: OOM-1720 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ib9976227759e90022183d4f37fc655143be4d6ac
2020-12-14[COMMON] Add job support for readinessCheckSylvain Desbureaux1-1/+14
readinessCheck was only supporting "container" readiness and not "job" readiness. This patch adds the ability to wait for job readiness also. for that, we need to use the "extended" version and set type to `job` as we can see it the example: ```yaml wait_for: name: myname jobs: - '{{ include "common.release" . }}-the-job' ``` Issue-ID: OOM-2647 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Iee5426995de63ec8fe2f8c61ff9384a314c86db4
2020-12-14Merge "[COMMON] Configure paths for Ingress"Krzysztof Opasiak1-31/+7
2020-12-09[COMMON] Enhancements on common templatesSylvain Desbureaux2-8/+16
It's a collection of small enhancements for common templates. Issue-ID: OOM-1720 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I426f7aed05ea7e94899b9e4888f4e4c66b69cb53
2020-12-08[COMMON] Configure paths for IngressSylvain Desbureaux1-31/+7
Instead of globally choosing between virtualhosts and path based ingress, it's better to allow to choose it per component. Issue-ID: OOM-2641 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I952826d03722693ebae7c95a083b95bf83752d68
2020-12-07[COMMON] New affinities templatesSylvain Desbureaux1-0/+109
Pod/Node affinity may be important to set, especially in the context of statefulset. These templates helps in order to make it work. Issue-ID: OOM-1720 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ic2ce2fc1188c4181bd8042b8410c1b810f50bff7
2020-12-04Merge "[COMMON][MUSIC] Uses new tpls for repos / images"Krzysztof Opasiak33-346/+272
2020-12-02[PLATFORM] Update cert service images to 2.3.1Remigiusz Janeczek1-2/+2
Update cert service and cert service client to allow IPAddresses, E-mails and URIs as SANs. Update ejbca configuration with IPAddresses, E-mail and URIs. Fix dcae bp inputs to use comma as SANs delimiter (from to allow use of IPv6) Issue-ID: OOM-2559 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I71bea7f63540eb5d345bce6867fa25e098353d6d
2020-12-02[COMMON][MUSIC] Uses new tpls for repos / imagesSylvain Desbureaux33-346/+272
This commit makes music template to use the new generator for repositories and images. As new templates doesn't work well with "sub charts", we move also subcharts to components folder. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Icd5caef12b28cbcc246cf30a13426d6eb11cfe20
2020-11-30[COMMON][DOC] Bump version GuilinSylvain Desbureaux47-68/+68
Update charts and requirements to 7.0.0. Create release notes for Guilin Update documentation Issue-ID: OOM-2638 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I965ed6b6ebb7d74bfddaff73edd3dd55a657841c
2020-11-27[COMMON][NAMEGEN] Uses new tpls for repos / imagesSylvain Desbureaux3-10/+5
This commit makes network name gen template to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I9f638f1fe48d6cdb66cc53cc9bcedb67edb55017
2020-11-26Merge "[COMMON][DGBuilder] Uses new tpls for repos / images"Krzysztof Opasiak3-17/+6
2020-11-26Merge "[COMMON][CASSANDRA] Uses new tpls for repos / images"Krzysztof Opasiak4-9/+9
2020-11-25Merge "[COMMON][POSTGRES] Uses new tpls for repos / images"Krzysztof Opasiak3-13/+6
2020-11-25Merge "[COMMON][ELASTIC] Uses new tpls for repos / images"Krzysztof Opasiak16-68/+146
2020-11-24Merge "[COMMON][ETCD] Uses new tpls for repos / images"Krzysztof Opasiak3-3/+5
2020-11-24[COMMON][ELASTIC] Uses new tpls for repos / imagesSylvain Desbureaux16-68/+146
This commit makes Elasticsearcg template to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I20c18632234c864ef2a29e3cfb259c9838a8c4d6
2020-11-24[COMMON][POSTGRES] Uses new tpls for repos / imagesSylvain Desbureaux3-13/+6
This commit makes postgreSQL template to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Idac6c4cf2c36e3440d4a7c11bf7ed231d89cdb44
2020-11-24[COMMON][MONGO] Uses new tpls for repos / imagesSylvain Desbureaux3-3/+4
This commit makes mongo template to use the new generator for repositories and images. As mongo images are coming from dockerhub, we're using directly this repository. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I9b3715de78d946d82b04f92b425bb9ae4fe2c806
2020-11-24Merge "[COMMON] Update common Elasticsearch chart to use version 7.9.3"Sylvain Desbureaux3-6/+9
2020-11-23Merge "[COMMON][MARIADB-INIT] Uses new tpls for repos / images"Krzysztof Opasiak3-6/+6
2020-11-23[COMMON] Update common Elasticsearch chart to use version 7.9.3Grzegorz-Lis3-6/+9
Fixes issue with pods IPs configuration when there are more than one IP address. Elastic Search 7.9.3 was recommended by SDNR team, and is proven to properly deal with DS networking. Issue-ID: SDNC-895 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: I89e01b85782c042d259e34774a56d6ff9eb7c8fb
2020-11-21[COMMON][MARIADB] Uses new tpls for repos / imagesSylvain Desbureaux6-22/+14
This commit makes mariadb galera template to use the new generator for repositories and images. As mariadb are coming from dockerhub, we're using directly this repository. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I7010ea3214c34fbee1ee697a127a1e43bfd16aed
2020-11-21[COMMON][MARIADB-INIT] Uses new tpls for repos / imagesSylvain Desbureaux3-6/+6
This commit makes mariadb init template to use the new generator for repositories and images. As mariadb images are coming from dockerhub, we're using directly this repository. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I21e99fc4c7c4d968b393d27dfad2b51bcc5c2cfd