[OOM-K8S-CERT-EXTERNAL-PROVIDER] Create mock implementation
[oom/platform/cert-service.git] / certServiceK8sExternalProvider / deploy / crd.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: apiextensions.k8s.io/v1beta1
26 kind: CustomResourceDefinition
27 metadata:
28   annotations:
29     controller-gen.kubebuilder.io/version: v0.2.5
30   creationTimestamp: null
31   name: certserviceissuers.certmanager.onap.org
32 spec:
33   group: certmanager.onap.org
34   names:
35     kind: CertServiceIssuer
36     listKind: CertServiceIssuerList
37     plural: certserviceissuers
38     singular: certserviceissuer
39   scope: Namespaced
40   subresources:
41     status: {}
42   validation:
43     openAPIV3Schema:
44       description: CertServiceIssuer is the Schema for the certserviceissuers API
45       properties:
46         apiVersion:
47           description: 'APIVersion defines the versioned schema of this representation
48             of an object. Servers should convert recognized schemas to the latest
49             internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
50           type: string
51         kind:
52           description: 'Kind is a string value representing the REST resource this
53             object represents. Servers may infer this from the endpoint the client
54             submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
55           type: string
56         metadata:
57           type: object
58         spec:
59           description: CertServiceIssuerSpec defines the desired state of CertServiceIssuer
60           properties:
61             url:
62               description: URL is the base URL for the certservice certificates instance.
63               type: string
64             keyRef:
65              description: keyRef is a reference to a Secret containing the
66                provisioner password used to decrypt the provisioner private key.
67              properties:
68                key:
69                  description: The key of the secret to select from. Must be a
70                    valid secret key.
71                  type: string
72                name:
73                  description: The name of the secret in the pod's namespace to
74                    select from.
75                  type: string
76              required:
77                - name
78                - key
79              type: object
80           required:
81             - url
82             - keyRef
83           type: object
84         status:
85           description: CertServiceIssuerStatus defines the observed state of CertServiceIssuer
86           properties:
87             conditions:
88               items:
89                 description: CertServiceIssuerCondition contains condition information for
90                   the certservice issuer.
91                 properties:
92                   lastTransitionTime:
93                     description: LastTransitionTime is the timestamp corresponding
94                       to the last status change of this condition.
95                     format: date-time
96                     type: string
97                   message:
98                     description: Message is a human readable description of the details
99                       of the last transition, complementing reason.
100                     type: string
101                   reason:
102                     description: Reason is a brief machine readable explanation for
103                       the condition's last transition.
104                     type: string
105                   status:
106                     allOf:
107                       - enum:
108                           - "True"
109                           - "False"
110                           - Unknown
111                       - enum:
112                           - "True"
113                           - "False"
114                           - Unknown
115                     description: Status of the condition, one of ('True', 'False',
116                       'Unknown').
117                     type: string
118                   type:
119                     description: Type of the condition, currently ('Ready').
120                     enum:
121                       - Ready
122                     type: string
123                 required:
124                   - status
125                   - type
126                 type: object
127               type: array
128           type: object
129       type: object
130   version: v1beta1
131   versions:
132     - name: v1beta1
133       served: true
134       storage: true
135 status:
136   acceptedNames:
137     kind: ""
138     plural: ""
139   conditions: []
140   storedVersions: []