summaryrefslogtreecommitdiffstats
path: root/certServiceK8sExternalProvider/deploy
diff options
context:
space:
mode:
authorRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2020-10-22 09:18:12 +0200
committerRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2020-10-22 16:00:36 +0000
commitee23e5f54f96807b1f1fff0b45238a247d3dd8e0 (patch)
treeec390b860e0c10810bd778a1b68dbfc8ab12c64a /certServiceK8sExternalProvider/deploy
parentaa23960c5d444dea307e0934b446f12ab0256689 (diff)
[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add client for CertService API
Issue-ID: OOM-2559 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I3bf6c36b9eec7a661202b18eb7765e332ccfbc07
Diffstat (limited to 'certServiceK8sExternalProvider/deploy')
-rw-r--r--certServiceK8sExternalProvider/deploy/_certificate_example_.yaml18
1 files changed, 11 insertions, 7 deletions
diff --git a/certServiceK8sExternalProvider/deploy/_certificate_example_.yaml b/certServiceK8sExternalProvider/deploy/_certificate_example_.yaml
index 60665d7f..e19e6351 100644
--- a/certServiceK8sExternalProvider/deploy/_certificate_example_.yaml
+++ b/certServiceK8sExternalProvider/deploy/_certificate_example_.yaml
@@ -32,17 +32,21 @@ spec:
secretName: _sample_secret_name_
# Common Name
commonName: certissuer.onap.org
+ subject:
+ organizations:
+ - Linux-Foundation
+ countries:
+ - US
+ localities:
+ - San-Francisco
+ provinces:
+ - California
+ organizationalUnits:
+ - ONAP
# DNS SAN
dnsNames:
- localhost
- certissuer.onap.org
- # IP Address SAN
- ipAddresses:
- - "127.0.0.1"
- # Duration of the certificate
- duration: 24h
- # Renew 8 hours before the certificate expiration
- renewBefore: 8h
# The reference to the CMPv2 issuer
issuerRef:
group: certmanager.onap.org