...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: sqldatabases.sql.cnrm.cloud.google.com
8spec:
9 group: sql.cnrm.cloud.google.com
10 names:
11 kind: SQLDatabase
12 listKind: SQLDatabaseList
13 plural: sqldatabases
14 singular: sqldatabase
15 scope: Namespaced
16 versions:
17 - name: v1beta1
18 schema:
19 openAPIV3Schema:
20 description: SQLDatabase is the Schema for the sql API
21 properties:
22 apiVersion:
23 description: |-
24 APIVersion defines the versioned schema of this representation of an object.
25 Servers should convert recognized schemas to the latest internal value, and
26 may reject unrecognized values.
27 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28 type: string
29 kind:
30 description: |-
31 Kind is a string value representing the REST resource this object represents.
32 Servers may infer this from the endpoint the client submits requests to.
33 Cannot be updated.
34 In CamelCase.
35 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36 type: string
37 metadata:
38 type: object
39 spec:
40 properties:
41 charset:
42 description: |-
43 The charset value. See MySQL's
44 [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html)
45 and Postgres' [Character Set Support](https://www.postgresql.org/docs/9.6/static/multibyte.html)
46 for more details and supported values. Postgres databases only support
47 a value of 'UTF8' at creation time.
48 type: string
49 collation:
50 description: |-
51 The collation value. See MySQL's
52 [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html)
53 and Postgres' [Collation Support](https://www.postgresql.org/docs/9.6/static/collation.html)
54 for more details and supported values. Postgres databases only support
55 a value of 'en_US.UTF8' at creation time.
56 type: string
57 deletionPolicy:
58 description: |-
59 The deletion policy for the database. Setting ABANDON allows the resource
60 to be abandoned rather than deleted. This is useful for Postgres, where databases cannot be
61 deleted from the API if there are users other than cloudsqlsuperuser with access. Possible
62 values are: "ABANDON", "DELETE". Defaults to "DELETE".
63 type: string
64 instanceRef:
65 description: The Cloud SQL instance.
66 properties:
67 external:
68 description: The external name of the referenced resource
69 type: string
70 kind:
71 description: Kind of the referent.
72 type: string
73 name:
74 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
75 type: string
76 namespace:
77 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
78 type: string
79 type: object
80 resourceID:
81 description: Immutable. Optional. The name of the resource. Used for
82 creation and acquisition. When unset, the value of `metadata.name`
83 is used as the default.
84 type: string
85 required:
86 - instanceRef
87 type: object
88 status:
89 properties:
90 conditions:
91 description: |-
92 Conditions represent the latest available observations of the
93 SQLDatabase's current state.
94 items:
95 properties:
96 lastTransitionTime:
97 description: Last time the condition transitioned from one status
98 to another.
99 type: string
100 message:
101 description: Human-readable message indicating details about
102 last transition.
103 type: string
104 reason:
105 description: |-
106 Unique, one-word, CamelCase reason for the condition's last
107 transition.
108 type: string
109 status:
110 description: Status is the status of the condition. Can be True,
111 False, Unknown.
112 type: string
113 type:
114 description: Type is the type of the condition.
115 type: string
116 type: object
117 type: array
118 observedGeneration:
119 description: ObservedGeneration is the generation of the resource
120 that was most recently observed by the Config Connector controller.
121 If this is equal to metadata.generation, then that means that the
122 current reported status reflects the most recent desired state of
123 the resource.
124 type: integer
125 selfLink:
126 type: string
127 type: object
128 type: object
129 served: true
130 storage: true
View as plain text