[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add health check of CMPv2 provisioner (cert-service...
[oom/platform/cert-service.git] / certServiceK8sExternalProvider / src / cmpv2api / cmpv2_issuer_crd_schema.go
index f26dc87..7339206 100644 (file)
@@ -37,6 +37,10 @@ func init() {
 type CMPv2IssuerSpec struct {
        // URL is the base URL for the CertService certificates instance.
        URL string `json:"url"`
+       // Path to health check endpoint.
+       HealthEndpoint string `json:"healthEndpoint"`
+       // Path to certificate signing endpoint.
+       CertEndpoint string `json:"certEndpoint"`
        // CaName is the name of the external CA server
        CaName string `json:"caName"`
        // KeyRef is a reference to a Secret containing the provisioner