summaryrefslogtreecommitdiffstats
path: root/certServiceK8sExternalProvider/deploy
diff options
context:
space:
mode:
authorJan Malkiewicz <jan.malkiewicz@nokia.com>2020-10-23 09:46:13 +0200
committerJan Malkiewicz <jan.malkiewicz@nokia.com>2020-10-26 08:57:00 +0100
commita7bb3d59e71f7f7980f8b7db400df94cabd92c0a (patch)
tree75891dbe1512a6d035e054f4b88104f26778beea /certServiceK8sExternalProvider/deploy
parentee23e5f54f96807b1f1fff0b45238a247d3dd8e0 (diff)
[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add health check of CMPv2 provisioner (cert-service-api)
Issue-ID: OOM-2559 Signed-off-by: Jan Malkiewicz <jan.malkiewicz@nokia.com> Change-Id: I81d4dcfcb10f71182ea667770bafb9556817b793
Diffstat (limited to 'certServiceK8sExternalProvider/deploy')
-rw-r--r--certServiceK8sExternalProvider/deploy/configuration.yaml4
-rw-r--r--certServiceK8sExternalProvider/deploy/crd.yaml8
2 files changed, 11 insertions, 1 deletions
diff --git a/certServiceK8sExternalProvider/deploy/configuration.yaml b/certServiceK8sExternalProvider/deploy/configuration.yaml
index 4a0f2dc6..5764a52a 100644
--- a/certServiceK8sExternalProvider/deploy/configuration.yaml
+++ b/certServiceK8sExternalProvider/deploy/configuration.yaml
@@ -28,7 +28,9 @@ metadata:
name: cmpv2-issuer
namespace: onap
spec:
- url: https://oom-cert-service:8443/v1/certificate/
+ url: https://oom-cert-service:8443
+ healthEndpoint: actuator/health
+ certEndpoint: v1/certificate
caName: RA
certSecretRef:
name: cmpv2-issuer-secret
diff --git a/certServiceK8sExternalProvider/deploy/crd.yaml b/certServiceK8sExternalProvider/deploy/crd.yaml
index cc884388..b14d8063 100644
--- a/certServiceK8sExternalProvider/deploy/crd.yaml
+++ b/certServiceK8sExternalProvider/deploy/crd.yaml
@@ -60,6 +60,12 @@ spec:
url:
description: URL to CertService API.
type: string
+ healthEndpoint:
+ description: Path of health check endpoint.
+ type: string
+ certEndpoint:
+ description: Path of cerfificate signing enpoint.
+ type: string
caName:
description: Name of the external CA server configured on CertService API side.
type: string
@@ -91,6 +97,8 @@ spec:
type: object
required:
- url
+ - healthEndpoint
+ - certEndpoint
- caName
- certSecretRef
type: object