...
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: sqldatabases.sql.cnrm.cloud.google.com
13spec:
14 group: sql.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: SQLDatabase
19 plural: sqldatabases
20 shortNames:
21 - gcpsqldatabase
22 - gcpsqldatabases
23 singular: sqldatabase
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 charset:
62 description: |-
63 The charset value. See MySQL's
64 [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html)
65 and Postgres' [Character Set Support](https://www.postgresql.org/docs/9.6/static/multibyte.html)
66 for more details and supported values. Postgres databases only support
67 a value of 'UTF8' at creation time.
68 type: string
69 collation:
70 description: |-
71 The collation value. See MySQL's
72 [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html)
73 and Postgres' [Collation Support](https://www.postgresql.org/docs/9.6/static/collation.html)
74 for more details and supported values. Postgres databases only support
75 a value of 'en_US.UTF8' at creation time.
76 type: string
77 deletionPolicy:
78 description: |-
79 The deletion policy for the database. Setting ABANDON allows the resource
80 to be abandoned rather than deleted. This is useful for Postgres, where databases cannot be
81 deleted from the API if there are users other than cloudsqlsuperuser with access. Possible
82 values are: "ABANDON", "DELETE". Defaults to "DELETE".
83 type: string
84 instanceRef:
85 description: The Cloud SQL instance.
86 oneOf:
87 - not:
88 required:
89 - external
90 required:
91 - name
92 - not:
93 anyOf:
94 - required:
95 - name
96 - required:
97 - namespace
98 required:
99 - external
100 properties:
101 external:
102 description: 'Allowed value: The `name` field of a `SQLInstance`
103 resource.'
104 type: string
105 name:
106 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
107 type: string
108 namespace:
109 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
110 type: string
111 type: object
112 resourceID:
113 description: Immutable. Optional. The name of the resource. Used for
114 creation and acquisition. When unset, the value of `metadata.name`
115 is used as the default.
116 type: string
117 required:
118 - instanceRef
119 type: object
120 status:
121 properties:
122 conditions:
123 description: Conditions represent the latest available observation
124 of the resource's current state.
125 items:
126 properties:
127 lastTransitionTime:
128 description: Last time the condition transitioned from one status
129 to another.
130 type: string
131 message:
132 description: Human-readable message indicating details about
133 last transition.
134 type: string
135 reason:
136 description: Unique, one-word, CamelCase reason for the condition's
137 last transition.
138 type: string
139 status:
140 description: Status is the status of the condition. Can be True,
141 False, Unknown.
142 type: string
143 type:
144 description: Type is the type of the condition.
145 type: string
146 type: object
147 type: array
148 observedGeneration:
149 description: ObservedGeneration is the generation of the resource
150 that was most recently observed by the Config Connector controller.
151 If this is equal to metadata.generation, then that means that the
152 current reported status reflects the most recent desired state of
153 the resource.
154 type: integer
155 selfLink:
156 type: string
157 type: object
158 required:
159 - spec
160 type: object
161 served: true
162 storage: true
163 subresources:
164 status: {}
165status:
166 acceptedNames:
167 kind: ""
168 plural: ""
169 conditions: []
170 storedVersions: []
View as plain text