...
1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 annotations:
5 cnrm.cloud.google.com/version: 0.0.0-dev
6 creationTimestamp: null
7 labels:
8 cnrm.cloud.google.com/managed-by-kcc: "true"
9 cnrm.cloud.google.com/stability-level: stable
10 cnrm.cloud.google.com/system: "true"
11 cnrm.cloud.google.com/tf2crd: "true"
12 name: secretmanagersecretversions.secretmanager.cnrm.cloud.google.com
13spec:
14 group: secretmanager.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: SecretManagerSecretVersion
19 plural: secretmanagersecretversions
20 shortNames:
21 - gcpsecretmanagersecretversion
22 - gcpsecretmanagersecretversions
23 singular: secretmanagersecretversion
24 preserveUnknownFields: false
25 scope: Namespaced
26 versions:
27 - additionalPrinterColumns:
28 - jsonPath: .metadata.creationTimestamp
29 name: Age
30 type: date
31 - description: When 'True', the most recent reconcile of the resource succeeded
32 jsonPath: .status.conditions[?(@.type=='Ready')].status
33 name: Ready
34 type: string
35 - description: The reason for the value in 'Ready'
36 jsonPath: .status.conditions[?(@.type=='Ready')].reason
37 name: Status
38 type: string
39 - description: The last transition time for the value in 'Status'
40 jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
41 name: Status Age
42 type: date
43 name: v1beta1
44 schema:
45 openAPIV3Schema:
46 properties:
47 apiVersion:
48 description: 'apiVersion defines the versioned schema of this representation
49 of an object. Servers should convert recognized schemas to the latest
50 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
51 type: string
52 kind:
53 description: 'kind is a string value representing the REST resource this
54 object represents. Servers may infer this from the endpoint the client
55 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
56 type: string
57 metadata:
58 type: object
59 spec:
60 properties:
61 enabled:
62 description: The current state of the SecretVersion.
63 type: boolean
64 resourceID:
65 description: Immutable. Optional. The service-generated name of the
66 resource. Used for acquisition only. Leave unset to create a new
67 resource.
68 type: string
69 secretData:
70 description: Immutable. The secret data. Must be no larger than 64KiB.
71 oneOf:
72 - not:
73 required:
74 - valueFrom
75 required:
76 - value
77 - not:
78 required:
79 - value
80 required:
81 - valueFrom
82 properties:
83 value:
84 description: Value of the field. Cannot be used if 'valueFrom'
85 is specified.
86 type: string
87 valueFrom:
88 description: Source for the field's value. Cannot be used if 'value'
89 is specified.
90 properties:
91 secretKeyRef:
92 description: Reference to a value with the given key in the
93 given Secret in the resource's namespace.
94 properties:
95 key:
96 description: Key that identifies the value to be extracted.
97 type: string
98 name:
99 description: Name of the Secret to extract a value from.
100 type: string
101 required:
102 - name
103 - key
104 type: object
105 type: object
106 type: object
107 secretRef:
108 description: Secret Manager secret resource
109 oneOf:
110 - not:
111 required:
112 - external
113 required:
114 - name
115 - not:
116 anyOf:
117 - required:
118 - name
119 - required:
120 - namespace
121 required:
122 - external
123 properties:
124 external:
125 description: 'Allowed value: The `name` field of a `SecretManagerSecret`
126 resource.'
127 type: string
128 name:
129 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
130 type: string
131 namespace:
132 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
133 type: string
134 type: object
135 required:
136 - secretData
137 - secretRef
138 type: object
139 status:
140 properties:
141 conditions:
142 description: Conditions represent the latest available observation
143 of the resource's current state.
144 items:
145 properties:
146 lastTransitionTime:
147 description: Last time the condition transitioned from one status
148 to another.
149 type: string
150 message:
151 description: Human-readable message indicating details about
152 last transition.
153 type: string
154 reason:
155 description: Unique, one-word, CamelCase reason for the condition's
156 last transition.
157 type: string
158 status:
159 description: Status is the status of the condition. Can be True,
160 False, Unknown.
161 type: string
162 type:
163 description: Type is the type of the condition.
164 type: string
165 type: object
166 type: array
167 createTime:
168 description: The time at which the Secret was created.
169 type: string
170 destroyTime:
171 description: The time at which the Secret was destroyed. Only present
172 if state is DESTROYED.
173 type: string
174 name:
175 description: |-
176 The resource name of the SecretVersion. Format:
177 'projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}'.
178 type: string
179 observedGeneration:
180 description: ObservedGeneration is the generation of the resource
181 that was most recently observed by the Config Connector controller.
182 If this is equal to metadata.generation, then that means that the
183 current reported status reflects the most recent desired state of
184 the resource.
185 type: integer
186 version:
187 description: The version of the Secret.
188 type: string
189 type: object
190 required:
191 - spec
192 type: object
193 served: true
194 storage: true
195 subresources:
196 status: {}
197status:
198 acceptedNames:
199 kind: ""
200 plural: ""
201 conditions: []
202 storedVersions: []
View as plain text