summaryrefslogtreecommitdiffstats
path: root/k8s/tests/common.py
AgeCommit message (Collapse)AuthorFilesLines
2021-04-09Add configuration of external tls init container - CMPv2Tomasz Wrobel1-4/+11
- Add configuration of certificates exists in secret - Add configuration of secret contains passwords Issue-ID: OOM-2712 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I4e0d6fb3717fdf19b5110a83d9273fd7bcf75757
2021-02-16Refactor tests for k8s_pluginEdyta Krukowska1-104/+31
Issue-ID: DCAEGEN2-2546 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: If40acc2c2ee1ab40b5dd0e3338967635bf8736f7
2021-02-04Upgrade k8s to use configMapEdyta Krukowska1-68/+65
Issue-ID: DCAEGEN2-2546 Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com> Change-Id: I41bacf0b9de239e21cc9900c408f10cea75f83c1
2020-09-30[k8splugin] Update plugin to use OOM CertServicePiotr Marcinkiewicz1-10/+10
- Replace AAF CertService with OOM CertService - Rename truststore merger init container to cert post processor Issue-ID: OOM-2526 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: If3aecb9c62970e338c694ff7ae2dadf94c4daa8b
2020-09-03[k8splugin] Add support to move CMPv2 keystore in place of AAFCertManRemigiusz Janeczek1-0/+2
keystore Make secret with certs for cert-service-client container configurable Issue-ID: DCAEGEN2-2253 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ia17d3a1f32d2118aa6d5380e32ac5afb5ad2d017
2020-08-28Add init container support for truststore merger.Jan Malkiewicz1-2/+33
Issue-ID: DCAEGEN2-2253 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I98f27834b36cad333728d41ec079b86a090e77f3
2020-07-24Add support to request certificates from CMPv2 server in DCAE cloudify ↵Joanna Jeremicz1-0/+63
blueprints If the blueprint specifies that the component uses external TLS via the `external_cert` property, the `Deployment` includes an additional init container and the component's container. The init container populates the external TLS certificate artifacts in mounted volume. The container requires CMPv2 CertService to work properly. Issue-ID: DCAEGEN2-2252 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I90cb79120ffaf634fc1f5b8a03a83abb30deb2b7
2020-06-02move plugins from from ccsdk to dcaegen2Hansen, Tony (th1395)1-1/+1
copy dmaap, helm, pgaas and sshkeyshare plugins from ccsdk to dcaegen2 Change-Id: Ib257495de6c275c45f0c87a4b42ac21a2fab7979 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com> Issue-ID: DCAEGEN2-2207 Signed-off-by: Hansen, Tony (th1395) <th1395@att.com>
2020-02-25Provide cacert in JKS format for clientsJack Lucas1-2/+1
Issue-ID: DCAEGEN2-1938 Signed-off-by: Jack Lucas <jflucas@research.att.com> Change-Id: Ic9a852bb058075b2b03aa6382ed33e23a4cca8b5
2020-01-17Address k8s plugin code smells reported by sonarMiroslav Los1-4/+5
Make 'resources' argument to k8sclient.k8sclient.deploy an optional kwarg, update its uses and document it. Split off code reported complex from deploy into functions. Tweak a nested if in tasks. Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech> Issue-ID: DCAEGEN2-2006 Change-Id: I13a091de9207bab1c7d4eee3179263c5d994ffbf
2019-07-01Add TLS support for client-only appsJack Lucas1-0/+135
Also enhance unit tests to do more robust checking of results. Issue-ID: DCAEGEN2-1550 Change-Id: Icf6e5357d828e19db73bb58b98fd60e9f111d0dc Signed-off-by: Jack Lucas <jflucas@research.att.com>