-
Notifications
You must be signed in to change notification settings - Fork 242
/
Copy pathocimanagedcontrolplanetemplate_v1beta2.json
199 lines (199 loc) · 9.28 KB
/
ocimanagedcontrolplanetemplate_v1beta2.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
{
"description": "OCIManagedControlPlaneTemplate is the Schema for the OCIManagedControlPlaneTemplates API.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"type": "object"
},
"spec": {
"description": "OCIManagedControlPlaneTemplateSpec defines the desired state of OCIManagedControlPlaneTemplate.",
"properties": {
"template": {
"description": "OCIManagedControlPlaneSpec describes the data needed to create an OCIManagedControlPlane from a template.",
"properties": {
"spec": {
"description": "OCIManagedControlPlaneSpec defines the desired state of OCIManagedControlPlane. The properties are generated from https://docs.oracle.com/en-us/iaas/api/#/en/containerengine/20180222/datatypes/CreateClusterDetails",
"properties": {
"addons": {
"description": "The list of addons to be applied to the OKE cluster.",
"items": {
"description": "Addon defines the properties of an addon.",
"properties": {
"configurations": {
"description": "Configurations defines a list of configurations of the addon.",
"items": {
"description": "AddonConfiguration defines a configuration of an addon.",
"properties": {
"key": {
"description": "The key of the configuration.",
"type": "string"
},
"value": {
"description": "The value of the configuration.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"name": {
"description": "Name represents the name of the addon.",
"type": "string"
},
"version": {
"description": "Version represents the version of the addon.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object",
"additionalProperties": false
},
"type": "array",
"x-kubernetes-list-map-keys": [
"name"
],
"x-kubernetes-list-type": "map"
},
"clusterOptions": {
"description": "ClusterOptions defines Optional attributes for the cluster.",
"properties": {
"addOnOptions": {
"description": "AddOnOptions defines the properties that define options for supported add-ons.",
"properties": {
"isKubernetesDashboardEnabled": {
"description": "IsKubernetesDashboardEnabled defines whether or not to enable the Kubernetes Dashboard add-on.",
"type": "boolean"
},
"isTillerEnabled": {
"description": "IsKubernetesDashboardEnabled defines whether or not to enable the Tiller add-on.",
"type": "boolean"
}
},
"type": "object",
"additionalProperties": false
},
"admissionControllerOptions": {
"description": "AdmissionControllerOptions defines the properties that define supported admission controllers.",
"properties": {
"isPodSecurityPolicyEnabled": {
"description": "IsPodSecurityPolicyEnabled defines whether or not to enable the Pod Security Policy admission controller.",
"type": "boolean"
}
},
"type": "object",
"additionalProperties": false
}
},
"type": "object",
"additionalProperties": false
},
"clusterPodNetworkOptions": {
"description": "ClusterPodNetworkOptions defines the available CNIs and network options for existing and new node pools of the cluster",
"items": {
"description": "ClusterPodNetworkOptions defines the available CNIs and network options for existing and new node pools of the cluster",
"properties": {
"cniType": {
"description": "The CNI to be used are OCI_VCN_IP_NATIVE and FLANNEL_OVERLAY",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"type": "array"
},
"clusterType": {
"description": "ClusterTypeEnum defines the type of cluster. Supported types are * `BASIC_CLUSTER` * `ENHANCED_CLUSTER`",
"type": "string"
},
"controlPlaneEndpoint": {
"description": "ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.",
"properties": {
"host": {
"description": "The hostname on which the API server is serving.",
"type": "string"
},
"port": {
"description": "The port on which the API server is serving.",
"format": "int32",
"type": "integer"
}
},
"required": [
"host",
"port"
],
"type": "object",
"additionalProperties": false
},
"id": {
"description": "ID of the OKEcluster.",
"type": "string"
},
"imagePolicyConfig": {
"description": "ImagePolicyConfig defines the properties that define a image verification policy.",
"properties": {
"isPolicyEnabled": {
"description": "IsPolicyEnabled defines Whether the image verification policy is enabled.",
"type": "boolean"
},
"keyDetails": {
"description": "KeyDetails defines a list of KMS key details.",
"items": {
"description": "KeyDetails defines the properties that define the kms keys used by OKE for Image Signature verification.",
"properties": {
"keyDetails": {
"description": "KmsKeyId defines the OCID of the KMS key that will be used to verify whether the images are signed by an approved source.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
},
"type": "array"
}
},
"type": "object",
"additionalProperties": false
},
"kmsKeyId": {
"description": "KmsKeyId defines the OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption. When used,",
"type": "string"
},
"version": {
"description": "Version represents the version of the Kubernetes Cluster Control Plane.",
"type": "string"
}
},
"type": "object",
"additionalProperties": false
}
},
"required": [
"spec"
],
"type": "object",
"additionalProperties": false
}
},
"required": [
"template"
],
"type": "object",
"additionalProperties": false
}
},
"type": "object"
}