summaryrefslogtreecommitdiffstats
path: root/certServiceK8sExternalProvider
AgeCommit message (Collapse)AuthorFilesLines
2020-11-18[OOM-K8S-CERT-EXTERNAL-PROVIDER] Extend SANs supportPiotr Marcinkiewicz9-73/+71
- Extend support SANs: email, ip, uri - Fix logging filtered Csr issue Issue-ID: OOM-2559 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: Ib3f2ff2a6383ca46629e457df76c6a70f549ac1b
2020-11-18Merge "[CLIENT] Change certService client to use comma as SANS delimiter"Bogumil Zebek1-1/+1
2020-11-18[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add coverage reportRemigiusz Janeczek1-0/+23
Issue-ID: OOM-2559 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I484a2b38ef40b60f879c2067b39329073db030af
2020-11-18[CLIENT] Change certService client to use comma as SANS delimiterRemigiusz Janeczek1-1/+1
Issue-ID: OOM-2632 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I12a39cd514261a555081addb333ef1a99a481424
2020-11-10[OOM-K8S-CERT-EXTERNAL-PROVIDER] Update version 2.1.1 -> 2.2.0Jan Malkiewicz1-1/+1
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: Ia2bcf542daa863ef41022e016382b4b96bbbc971
2020-11-10[OOM-K8S-CERT-EXTERNAL-PROVIDER] Refactoring & code improvementsJan Malkiewicz12-123/+349
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I52c38aacf064682f0018ac37b1400893bd9e53fc
2020-11-05Merge "[OOM-K8S-CERT-EXTERNAL-PROVIDER] Change logger implementation provider"Pawel Baniewski20-111/+390
2020-11-05[OOM-K8S-CERT-EXTERNAL-PROVIDER] Change logger implementation providerJoanna Jeremicz20-111/+390
Issue-ID: OOM-2559 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I717dfcfd74a01ccb81b2eb03c52be2c90fc3a9c5
2020-11-05[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add API exceptions handlingPiotr Marcinkiewicz2-12/+41
- Added handling exceptions from CertService API Issue-ID: OOM-2559 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I18f00fd7e17f96b2e73b81370b54fe33f10039c3
2020-11-05[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add CertificateRequest controller testPiotr Marcinkiewicz5-99/+227
- Add CertificateRequest controller test with fake K8s API Issue-ID: OOM-2559 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I4e32c2d28f5c4ea35dd013119dfc31acb1646582
2020-11-05Merge "[OOM-K8S-CERT-EXTERNAL-PROVIDER] Configuration for local development"Pawel Baniewski5-11/+66
2020-11-05[OOM-K8S-CERT-EXTERNAL-PROVIDER] Configuration for local developmentJan Malkiewicz5-11/+66
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I5ee38593cff665dc7d0e0d17f4df569be129d778
2020-11-04[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add CMPv2IssuerController testPiotr Marcinkiewicz9-81/+274
- Add Reconcile test in CMPv2IssuerController Issue-ID: OOM-2559 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: I49aff7bc36f7da4df7eeaebaca144ee5a5bb9853
2020-11-02[OOM-K8S-CERT-EXTERNAL-PROVIDER] Filter not supported CSR propertiesRemigiusz Janeczek11-26/+366
Align EJBCA config with OOM Issue-ID: OOM-2559 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I8ab73c84415e1ea1b09b6210ffbf84386315f9eb
2020-10-29[OOM-K8S-CERT-EXTERNAL-PROVIDER] Save CertService response as PEM artifactsTomasz Wrobel9-52/+320
Issue-ID: OOM-2559 Change-Id: I86ce277396f87fdde5ffafa4ca8f8fe9853daa3c Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
2020-10-29[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add logging of supported CSR propertiesJan Malkiewicz7-70/+271
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I8e6a55eea3d87b6bb5f3a26ca9a11d618bb61a77
2020-10-27Merge "[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add logging of not ↵Pawel Baniewski7-64/+401
supported/overridden CSR info"
2020-10-26[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add logging of not supported/overridden CSR ↵Tomasz Wrobel7-64/+401
info Issue-ID: OOM-2559 Change-Id: I0199712e70d65650dd7ce0c0b95537373f94f7a4 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
2020-10-26[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add health check of CMPv2 provisioner ↵Jan Malkiewicz13-64/+204
(cert-service-api) Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I81d4dcfcb10f71182ea667770bafb9556817b793
2020-10-22[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add client for CertService APIRemigiusz Janeczek15-68/+471
Issue-ID: OOM-2559 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I3bf6c36b9eec7a661202b18eb7765e332ccfbc07
2020-10-20[OOM-K8S-CERT-EXTERNAL-PROVIDER] Fix failing buildRemigiusz Janeczek1-21/+27
Adjust cmpv2_provisioner_test to use cmpv2provisioner.New(...) with updated signature Issue-ID: OOM-2559 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I4ebc91326ddf189660991c65f1727338c7eae5fb
2020-10-20Merge "[OOM-K8S-CERT-EXTERNAL-PROVIDER] Provide certs to CMPv2 Issuer"Bogumil Zebek20-107/+341
2020-10-20[OOM-K8S-CERT-EXTERNAL-PROVIDER] Provide certs to CMPv2 IssuerRemigiusz Janeczek20-107/+341
Format code Issue-ID: OOM-2559 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I88346b96657606b010aa8d7da0f8b86d1844f9d7
2020-10-20[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add unit tests to cmpv2_provisionerJoanna Jeremicz5-2/+181
Add tests with input and output .pem files Tests should be adjusted to future implementation when possible Issue-ID: OOM-2559 Signed-off-by: Joanna Jeremicz <joanna.jeremicz@nokia.com> Change-Id: I39952c2cb0bd35bfd8337b22ca6e95c86509b4f7
2020-10-19[OOM-K8S-CERT-EXTERNAL-PROVIDER] Mock implementaion enhanced (part III)Jan Malkiewicz13-129/+473
Code refactoring Added unit tests Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I3f3b7b39d739818fa82842993f621c6134816079
2020-10-15[OOM-K8S-CERT-EXTERNAL-PROVIDER] Mock implementaion enhanced (part II)Jan Malkiewicz15-205/+266
Rename CertServiceIssuer -> CMPv2Issuer Checking for Issuer.Kind (has to be CMPv2Issuer) Introduced exit codes Refactoring file names and packages Moved tests to main package (according to GOlang convention) Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I710d9f6c9bd22318e5152e5215b78d5a9e7b4540
2020-10-14[OOM-K8S-CERT-EXTERNAL-PROVIDER] Mock implementaion enhancedJan Malkiewicz15-677/+381
Libs upgraded. Use v1 version of the resources. Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I009ff3ca8c3e84863dcf5cea290c8968280ca8ec
2020-10-13[OOM-K8S-CERT-EXTERNAL-PROVIDER] Rename variables to readable.Tomasz Wrobel8-149/+142
Issue-ID: OOM-2559 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I1da11dcc12e97f6997a409106e90f6000a6102d0
2020-10-08[OOM-K8S-CERT-EXTERNAL-PROVIDER] Create mock implementationJan Malkiewicz20-38/+2755
This project is a GOlang implementation of an external provider for kubernetes cert-manager. External provider will use OOM CertService as backend signing CA. Mock implementation only logs intent of certificate signing. In order to provide the ultimate implemenatation please extend file 'certservice-provisioner.go'. Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: Ib3de4ca4c54424042ddaa50507375815cc3da7f4
2020-09-30[OOM-K8S-CERT-EXTERNAL-PROVIDER] Fix pom.xml - deploy phaseJan Malkiewicz1-7/+0
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I33437adae136a8b8a3678afbef5ec4632908834f
2020-09-30[OOM-K8S-CERT-EXTERNAL-PROVIDER] Fix pom.xmlJan Malkiewicz1-0/+1
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I5891bd40a5b97c14c537438c74bd706b23800216
2020-09-30[OOM-K8S-CERT-EXTERNAL-PROVIDER] Fix DockerfileJan Malkiewicz2-0/+4
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: Ie957e9f5deb5cc5f934765bee8e612bb9e517c2c
2020-09-30[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add projectJan Malkiewicz10-0/+255
This project is a GOlang implementation of an external provider for kubernetes cert-manager. External provider will use OOM CertService as backend signing CA. Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: Ide31ca64c29763c9d4e9bdf58d8f50ffddcaaf5d