[OOM-K8S-CERT-EXTERNAL-PROVIDER] Add logging of not supported/overridden CSR info
[oom/platform/cert-service.git] / certServiceK8sExternalProvider / deploy / _certificate_example_contains_not_supported_properties.yaml
1 # ============LICENSE_START=======================================================
2 # oom-certservice-k8s-external-provider
3 # ================================================================================
4 # Copyright (c) 2019 Smallstep Labs, Inc.
5 # Modifications copyright (C) 2020 Nokia. All rights reserved.
6 # ================================================================================
7 # This source code was copied from the following git repository:
8 # https://github.com/smallstep/step-issuer
9 # The source code was modified for usage in the ONAP project.
10 # ================================================================================
11 # Licensed under the Apache License, Version 2.0 (the "License");
12 # you may not use this file except in compliance with the License.
13 # You may obtain a copy of the License at
14 #
15 #      http://www.apache.org/licenses/LICENSE-2.0
16 #
17 # Unless required by applicable law or agreed to in writing, software
18 # distributed under the License is distributed on an "AS IS" BASIS,
19 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 # See the License for the specific language governing permissions and
21 # limitations under the License.
22 # ============LICENSE_END=========================================================
23 #
24
25 apiVersion: cert-manager.io/v1
26 kind: Certificate
27 metadata:
28   name: _sample_cert_name_
29   namespace: onap
30 spec:
31   secretName: _sample_secret_name_
32   commonName: certissuer.onap.org
33   isCA: true #***NOT SUPPORTED BY CERT SERVICE API***
34   subject:
35     organizations:
36       - Linux-Foundation
37     countries:
38       - US
39     localities:
40       - San-Francisco
41     provinces:
42       - California
43     organizationalUnits:
44       - ONAP
45     streetAddresses: #***NOT SUPPORTED BY CERT SERVICE API***
46       - sampleStreet
47     postalCodes:  #***NOT SUPPORTED BY CERT SERVICE API***
48       - 12-345
49     serialNumber: "12345"  #***NOT SUPPORTED BY CERT SERVICE API***
50   # DNS SAN
51   dnsNames:
52     - localhost
53     - certissuer.onap.org
54   ipAddresses:  #***NOT SUPPORTED BY CERT SERVICE API***
55     - "127.0.0.1"
56   uris:  #***NOT SUPPORTED BY CERT SERVICE API***
57     - onap://cluster.local/
58   emailAddresses:  #***NOT SUPPORTED BY CERT SERVICE API***
59     - onap@onap.org
60   duration: 24h  #***OVERRIDDEN BY CMPV2 SERVER***
61   renewBefore: 8h
62   usages: #***OVERRIDDEN BY CMPV2 SERVER***
63     - server auth
64     - client auth
65   issuerRef:
66     group: certmanager.onap.org
67     kind: CMPv2Issuer
68     name: cmpv2-issuer