aboutsummaryrefslogtreecommitdiffstats
path: root/certServiceK8sExternalProvider/src
AgeCommit message (Collapse)AuthorFilesLines
2020-12-09[OOM-CERT-SERVICE] Correct SANs documentation and loggingPiotr Marcinkiewicz1-5/+3
- correct properties logging format in external provider - correct SANs documentation Issue-ID: OOM-2559 Signed-off-by: Piotr Marcinkiewicz <piotr.marcinkiewicz@nokia.com> Change-Id: If58e6ca53849e6d091bba652b1cc091f37d8eeeb
2020-11-18[OOM-K8S-CERT-EXTERNAL-PROVIDER] Extend SANs supportPiotr Marcinkiewicz6-65/+60
- 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-10[OOM-K8S-CERT-EXTERNAL-PROVIDER] Refactoring & code improvementsJan Malkiewicz10-114/+307
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 Baniewski16-99/+369
2020-11-05[OOM-K8S-CERT-EXTERNAL-PROVIDER] Change logger implementation providerJoanna Jeremicz16-99/+369
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-04[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add CMPv2IssuerController testPiotr Marcinkiewicz8-81/+272
- 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 Janeczek10-26/+348
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 Baniewski4-2/+320
supported/overridden CSR info"
2020-10-26[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add logging of not supported/overridden CSR ↵Tomasz Wrobel4-2/+320
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 Malkiewicz11-63/+193
(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 Janeczek14-61/+460
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 Zebek15-82/+288
2020-10-20[OOM-K8S-CERT-EXTERNAL-PROVIDER] Provide certs to CMPv2 IssuerRemigiusz Janeczek15-82/+288
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 Malkiewicz9-114/+368
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 Malkiewicz10-158/+247
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 Malkiewicz5-5/+10
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 Wrobel7-140/+134
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 Malkiewicz7-4/+908
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] Add projectJan Malkiewicz1-0/+7
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