...
Text file
src/edge-infra.dev/test/fixtures/crds/gcp/secretmanager.cnrm.cloud.google.com_secretmanagersecretversions.yaml
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: secretmanagersecretversions.secretmanager.cnrm.cloud.google.com
8spec:
9 group: secretmanager.cnrm.cloud.google.com
10 names:
11 kind: SecretManagerSecretVersion
12 listKind: SecretManagerSecretVersionList
13 plural: secretmanagersecretversions
14 singular: secretmanagersecretversion
15 scope: Namespaced
16 versions:
17 - name: v1beta1
18 schema:
19 openAPIV3Schema:
20 description: SecretManagerSecretVersion is the Schema for the secretmanager
21 API
22 properties:
23 apiVersion:
24 description: |-
25 APIVersion defines the versioned schema of this representation of an object.
26 Servers should convert recognized schemas to the latest internal value, and
27 may reject unrecognized values.
28 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
29 type: string
30 kind:
31 description: |-
32 Kind is a string value representing the REST resource this object represents.
33 Servers may infer this from the endpoint the client submits requests to.
34 Cannot be updated.
35 In CamelCase.
36 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
37 type: string
38 metadata:
39 type: object
40 spec:
41 properties:
42 enabled:
43 description: The current state of the SecretVersion.
44 type: boolean
45 resourceID:
46 description: Immutable. Optional. The service-generated name of the
47 resource. Used for acquisition only. Leave unset to create a new
48 resource.
49 type: string
50 secretData:
51 description: Immutable. The secret data. Must be no larger than 64KiB.
52 properties:
53 value:
54 description: Value of the field. Cannot be used if 'valueFrom'
55 is specified.
56 type: string
57 valueFrom:
58 description: Source for the field's value. Cannot be used if 'value'
59 is specified.
60 properties:
61 secretKeyRef:
62 description: Reference to a value with the given key in the
63 given Secret in the resource's namespace.
64 properties:
65 external:
66 description: The external name of the referenced resource
67 type: string
68 kind:
69 description: Kind of the referent.
70 type: string
71 name:
72 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
73 type: string
74 namespace:
75 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
76 type: string
77 type: object
78 type: object
79 type: object
80 secretRef:
81 description: Secret Manager secret resource
82 properties:
83 external:
84 description: The external name of the referenced resource
85 type: string
86 kind:
87 description: Kind of the referent.
88 type: string
89 name:
90 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
91 type: string
92 namespace:
93 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
94 type: string
95 type: object
96 required:
97 - secretData
98 - secretRef
99 type: object
100 status:
101 properties:
102 conditions:
103 description: |-
104 Conditions represent the latest available observations of the
105 SecretManagerSecretVersion's current state.
106 items:
107 properties:
108 lastTransitionTime:
109 description: Last time the condition transitioned from one status
110 to another.
111 type: string
112 message:
113 description: Human-readable message indicating details about
114 last transition.
115 type: string
116 reason:
117 description: |-
118 Unique, one-word, CamelCase reason for the condition's last
119 transition.
120 type: string
121 status:
122 description: Status is the status of the condition. Can be True,
123 False, Unknown.
124 type: string
125 type:
126 description: Type is the type of the condition.
127 type: string
128 type: object
129 type: array
130 createTime:
131 description: The time at which the Secret was created.
132 type: string
133 destroyTime:
134 description: The time at which the Secret was destroyed. Only present
135 if state is DESTROYED.
136 type: string
137 name:
138 description: |-
139 The resource name of the SecretVersion. Format:
140 'projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}'.
141 type: string
142 observedGeneration:
143 description: ObservedGeneration is the generation of the resource
144 that was most recently observed by the Config Connector controller.
145 If this is equal to metadata.generation, then that means that the
146 current reported status reflects the most recent desired state of
147 the resource.
148 type: integer
149 version:
150 description: The version of the Secret.
151 type: string
152 type: object
153 type: object
154 served: true
155 storage: true
View as plain text