|
6 | 6 | "type": "object",
|
7 | 7 | "properties": {
|
8 | 8 | "serverStartState": {
|
9 |
| - "description": "The state in which the server is to be started. Use ADMIN if server should start in admin state. Defaults to RUNNING.", |
| 9 | + "description": "The state in which the server is to be started. Use ADMIN if server should start in the admin state. Defaults to RUNNING.", |
10 | 10 | "type": "string",
|
11 | 11 | "enum": [
|
12 | 12 | "RUNNING",
|
13 | 13 | "ADMIN"
|
14 | 14 | ]
|
15 | 15 | },
|
16 |
| - "nodePortAnnotations": { |
17 |
| - "$ref": "#/definitions/Map" |
| 16 | + "serverService": { |
| 17 | + "description": "Customization affecting ClusterIP Kubernetes services for WebLogic server instances.", |
| 18 | + "$ref": "#/definitions/KubernetesResource" |
18 | 19 | },
|
19 | 20 | "serverPod": {
|
20 |
| - "description": "Configuration affecting the server pod", |
| 21 | + "description": "Configuration affecting server pods", |
21 | 22 | "$ref": "#/definitions/ServerPod"
|
22 | 23 | },
|
23 |
| - "exportedNetworkAccessPoints": { |
24 |
| - "description": "T3 network access points to export", |
25 |
| - "$ref": "#/definitions/Map" |
26 |
| - }, |
27 |
| - "nodePortLabels": { |
28 |
| - "$ref": "#/definitions/Map" |
29 |
| - }, |
30 |
| - "nodePort": { |
31 |
| - "type": "number" |
32 |
| - }, |
33 | 24 | "serverStartPolicy": {
|
34 |
| - "description": "The strategy for deciding whether to start a server. Legal values are ADMIN_ONLY, NEVER, ALWAYS, or IF_NEEDED.", |
| 25 | + "description": "The strategy for deciding whether to start a server. Legal values are ALWAYS, NEVER, or IF_NEEDED.", |
35 | 26 | "type": "string",
|
36 | 27 | "enum": [
|
37 |
| - "NEVER", |
38 | 28 | "ALWAYS",
|
39 |
| - "IF_NEEDED", |
40 |
| - "ADMIN_ONLY" |
| 29 | + "NEVER", |
| 30 | + "IF_NEEDED" |
41 | 31 | ]
|
42 | 32 | },
|
43 | 33 | "restartVersion": {
|
|
54 | 44 | "type": "object",
|
55 | 45 | "properties": {
|
56 | 46 | "channels": {
|
57 |
| - "$ref": "#/definitions/Map" |
58 |
| - }, |
59 |
| - "annotations": { |
60 |
| - "$ref": "#/definitions/Map" |
61 |
| - }, |
62 |
| - "labels": { |
63 |
| - "$ref": "#/definitions/Map" |
| 47 | + "description": "Specifies which of the admin server\u0027s WebLogic channels should be exposed outside the Kubernetes cluster via a node port service, along with the node port for each channel. If not specified, the admin server\u0027s node port service will not be created.", |
| 48 | + "type": "array", |
| 49 | + "items": { |
| 50 | + "$ref": "#/definitions/Channel" |
| 51 | + } |
64 | 52 | }
|
65 | 53 | }
|
66 | 54 | },
|
| 55 | + "Channel": { |
| 56 | + "type": "object", |
| 57 | + "properties": { |
| 58 | + "channelName": { |
| 59 | + "description": "Name of channel. default\u0027 refers to the admin server\u0027s default channel (configured via the ServerMBean\u0027s ListenPort) \u0027default-secure\u0027 refers to the admin server\u0027s default secure channel (configured via the ServerMBean\u0027s SSLMBean\u0027s ListenPort) \u0027default-admin\u0027 refers to the admin server\u0027s default administrative channel (configured via the DomainMBean\u0027s AdministrationPort) Otherwise, the name is the name of one of the admin server\u0027s network access points (configured via the ServerMBean\u0027s NetworkAccessMBeans).", |
| 60 | + "type": "string" |
| 61 | + }, |
| 62 | + "nodePort": { |
| 63 | + "description": "Specifies the port number used to access the WebLogic channel outside of the Kubernetes cluster. If not specified, defaults to the port defined by the WebLogic channel.", |
| 64 | + "type": "number" |
| 65 | + } |
| 66 | + }, |
| 67 | + "required": [ |
| 68 | + "channelName" |
| 69 | + ] |
| 70 | + }, |
67 | 71 | "Chronology": {
|
68 | 72 | "type": "object",
|
69 | 73 | "properties": {}
|
|
72 | 76 | "type": "object",
|
73 | 77 | "properties": {
|
74 | 78 | "serverStartState": {
|
75 |
| - "description": "The state in which the server is to be started. Use ADMIN if server should start in admin state. Defaults to RUNNING.", |
| 79 | + "description": "The state in which the server is to be started. Use ADMIN if server should start in the admin state. Defaults to RUNNING.", |
76 | 80 | "type": "string",
|
77 | 81 | "enum": [
|
78 | 82 | "RUNNING",
|
79 | 83 | "ADMIN"
|
80 | 84 | ]
|
81 | 85 | },
|
| 86 | + "serverService": { |
| 87 | + "description": "Customization affecting ClusterIP Kubernetes services for WebLogic server instances.", |
| 88 | + "$ref": "#/definitions/KubernetesResource" |
| 89 | + }, |
82 | 90 | "maxUnavailable": {
|
83 |
| - "description": "The maximum number of cluster membrers that can be temporarily unavailable. Defaults to 1.", |
| 91 | + "description": "The maximum number of cluster members that can be temporarily unavailable. Defaults to 1.", |
84 | 92 | "type": "number",
|
85 | 93 | "minimum": 1
|
86 | 94 | },
|
|
94 | 102 | "type": "string"
|
95 | 103 | },
|
96 | 104 | "serverPod": {
|
97 |
| - "description": "Configuration affecting the server pod", |
| 105 | + "description": "Configuration affecting server pods", |
98 | 106 | "$ref": "#/definitions/ServerPod"
|
99 | 107 | },
|
| 108 | + "clusterService": { |
| 109 | + "description": "Customization affecting ClusterIP Kubernetes services for WebLogic cluster.", |
| 110 | + "$ref": "#/definitions/KubernetesResource" |
| 111 | + }, |
100 | 112 | "serverStartPolicy": {
|
101 |
| - "description": "The strategy for deciding whether to start a server. Legal values are ADMIN_ONLY, NEVER, ALWAYS, or IF_NEEDED.", |
| 113 | + "description": "The strategy for deciding whether to start a server. Legal values are NEVER, or IF_NEEDED.", |
102 | 114 | "type": "string",
|
103 | 115 | "enum": [
|
104 | 116 | "NEVER",
|
105 |
| - "ALWAYS", |
106 |
| - "IF_NEEDED", |
107 |
| - "ADMIN_ONLY" |
| 117 | + "IF_NEEDED" |
108 | 118 | ]
|
109 | 119 | },
|
110 | 120 | "restartVersion": {
|
|
157 | 167 | "type": "object",
|
158 | 168 | "properties": {
|
159 | 169 | "serverStartState": {
|
160 |
| - "description": "The state in which the server is to be started. Use ADMIN if server should start in admin state. Defaults to RUNNING.", |
| 170 | + "description": "The state in which the server is to be started. Use ADMIN if server should start in the admin state. Defaults to RUNNING.", |
161 | 171 | "type": "string",
|
162 | 172 | "enum": [
|
163 | 173 | "RUNNING",
|
|
206 | 216 | "type": "string"
|
207 | 217 | },
|
208 | 218 | "serverStartPolicy": {
|
209 |
| - "description": "The strategy for deciding whether to start a server. Legal values are ADMIN_ONLY, NEVER, ALWAYS, or IF_NEEDED.", |
| 219 | + "description": "The strategy for deciding whether to start a server. Legal values are ADMIN_ONLY, NEVER, or IF_NEEDED.", |
210 | 220 | "type": "string",
|
211 | 221 | "enum": [
|
212 | 222 | "NEVER",
|
213 |
| - "ALWAYS", |
214 | 223 | "IF_NEEDED",
|
215 | 224 | "ADMIN_ONLY"
|
216 | 225 | ]
|
|
220 | 229 | "type": "string"
|
221 | 230 | },
|
222 | 231 | "configOverrides": {
|
223 |
| - "description": "The name of the configmap for optional WebLogic configuration overrides.", |
| 232 | + "description": "The name of the config map for optional WebLogic configuration overrides.", |
224 | 233 | "type": "string"
|
225 | 234 | },
|
| 235 | + "serverService": { |
| 236 | + "description": "Customization affecting ClusterIP Kubernetes services for WebLogic server instances.", |
| 237 | + "$ref": "#/definitions/KubernetesResource" |
| 238 | + }, |
226 | 239 | "domainHome": {
|
227 | 240 | "description": "The folder for the Weblogic Domain. (Not required)Defaults to /shared/domains/domains/domainUID if domainHomeInImage is falseDefaults to /u01/oracle/user_projects/domains/ if domainHomeInImage is true",
|
228 | 241 | "type": "string"
|
|
232 | 245 | "type": "boolean"
|
233 | 246 | },
|
234 | 247 | "webLogicCredentialsSecret": {
|
| 248 | + "description": "The name of a pre-created Kubernetes secret, in the domain\u0027s namepace, that holds the username and password needed to boot WebLogic Server under the \u0027username\u0027 and \u0027password\u0027 fields.", |
235 | 249 | "$ref": "#/definitions/V1SecretReference"
|
236 | 250 | },
|
237 | 251 | "adminServer": {
|
238 | 252 | "description": "Configuration for the admin server",
|
239 | 253 | "$ref": "#/definitions/AdminServer"
|
240 | 254 | },
|
241 | 255 | "serverPod": {
|
242 |
| - "description": "Configuration affecting the server pod", |
| 256 | + "description": "Configuration affecting server pods", |
243 | 257 | "$ref": "#/definitions/ServerPod"
|
244 | 258 | },
|
245 | 259 | "logHome": {
|
|
296 | 310 | }
|
297 | 311 | }
|
298 | 312 | },
|
| 313 | + "KubernetesResource": { |
| 314 | + "type": "object", |
| 315 | + "properties": { |
| 316 | + "annotations": { |
| 317 | + "description": "The annotations to be attached to generated resources.", |
| 318 | + "$ref": "#/definitions/Map" |
| 319 | + }, |
| 320 | + "labels": { |
| 321 | + "description": "The labels to be attached to generated resources. The label names must not start with \u0027weblogic.\u0027.", |
| 322 | + "$ref": "#/definitions/Map" |
| 323 | + } |
| 324 | + } |
| 325 | + }, |
299 | 326 | "ManagedServer": {
|
300 | 327 | "type": "object",
|
301 | 328 | "properties": {
|
302 | 329 | "serverStartState": {
|
303 |
| - "description": "The state in which the server is to be started. Use ADMIN if server should start in admin state. Defaults to RUNNING.", |
| 330 | + "description": "The state in which the server is to be started. Use ADMIN if server should start in the admin state. Defaults to RUNNING.", |
304 | 331 | "type": "string",
|
305 | 332 | "enum": [
|
306 | 333 | "RUNNING",
|
307 | 334 | "ADMIN"
|
308 | 335 | ]
|
309 | 336 | },
|
| 337 | + "serverService": { |
| 338 | + "description": "Customization affecting ClusterIP Kubernetes services for WebLogic server instances.", |
| 339 | + "$ref": "#/definitions/KubernetesResource" |
| 340 | + }, |
310 | 341 | "serverPod": {
|
311 |
| - "description": "Configuration affecting the server pod", |
| 342 | + "description": "Configuration affecting server pods", |
312 | 343 | "$ref": "#/definitions/ServerPod"
|
313 | 344 | },
|
314 | 345 | "serverName": {
|
| 346 | + "description": "The name of the server. Required.", |
315 | 347 | "type": "string"
|
316 | 348 | },
|
317 |
| - "nodePort": { |
318 |
| - "type": "number" |
319 |
| - }, |
320 | 349 | "serverStartPolicy": {
|
321 |
| - "description": "The strategy for deciding whether to start a server. Legal values are ADMIN_ONLY, NEVER, ALWAYS, or IF_NEEDED.", |
| 350 | + "description": "The strategy for deciding whether to start a server. Legal values are ALWAYS, NEVER, or IF_NEEDED.", |
322 | 351 | "type": "string",
|
323 | 352 | "enum": [
|
324 |
| - "NEVER", |
325 | 353 | "ALWAYS",
|
326 |
| - "IF_NEEDED", |
327 |
| - "ADMIN_ONLY" |
| 354 | + "NEVER", |
| 355 | + "IF_NEEDED" |
328 | 356 | ]
|
329 | 357 | },
|
330 | 358 | "restartVersion": {
|
331 | 359 | "description": "If present, every time this value is updated the operator will restart the required servers",
|
332 | 360 | "type": "string"
|
333 | 361 | }
|
334 |
| - } |
| 362 | + }, |
| 363 | + "required": [ |
| 364 | + "serverName" |
| 365 | + ] |
335 | 366 | },
|
336 | 367 | "Map": {
|
337 | 368 | "type": "object",
|
|
374 | 405 | "ServerPod": {
|
375 | 406 | "type": "object",
|
376 | 407 | "properties": {
|
377 |
| - "serviceLabels": { |
378 |
| - "description": "Labels applied to services", |
379 |
| - "$ref": "#/definitions/Map" |
380 |
| - }, |
381 | 408 | "livenessProbe": {
|
382 | 409 | "description": "Settings for the liveness probe associated with a server",
|
383 | 410 | "$ref": "#/definitions/ProbeTuning"
|
|
393 | 420 | "$ref": "#/definitions/V1Volume"
|
394 | 421 | }
|
395 | 422 | },
|
| 423 | + "annotations": { |
| 424 | + "description": "The annotations to be attached to generated resources.", |
| 425 | + "$ref": "#/definitions/Map" |
| 426 | + }, |
396 | 427 | "resources": {
|
397 | 428 | "description": "Memory and cpu minimum requirements and limits for the server",
|
398 | 429 | "$ref": "#/definitions/V1ResourceRequirements"
|
399 | 430 | },
|
| 431 | + "readinessProbe": { |
| 432 | + "description": "Settings for the readiness probe associated with a server", |
| 433 | + "$ref": "#/definitions/ProbeTuning" |
| 434 | + }, |
| 435 | + "containerSecurityContext": { |
| 436 | + "description": "Container-level security attributes. Will override any matching pod-level attributes", |
| 437 | + "$ref": "#/definitions/V1SecurityContext" |
| 438 | + }, |
400 | 439 | "env": {
|
401 | 440 | "description": "A list of environment variables to add to a server",
|
402 | 441 | "type": "array",
|
403 | 442 | "items": {
|
404 | 443 | "$ref": "#/definitions/V1EnvVar"
|
405 | 444 | }
|
406 | 445 | },
|
407 |
| - "podAnnotations": { |
408 |
| - "description": "Annotations applied to pods", |
| 446 | + "labels": { |
| 447 | + "description": "The labels to be attached to generated resources. The label names must not start with \u0027weblogic.\u0027.", |
409 | 448 | "$ref": "#/definitions/Map"
|
410 | 449 | },
|
411 | 450 | "nodeSelector": {
|
|
418 | 457 | "items": {
|
419 | 458 | "$ref": "#/definitions/V1VolumeMount"
|
420 | 459 | }
|
421 |
| - }, |
422 |
| - "podLabels": { |
423 |
| - "description": "Labels applied to pods", |
424 |
| - "$ref": "#/definitions/Map" |
425 |
| - }, |
426 |
| - "readinessProbe": { |
427 |
| - "description": "Settings for the readiness probe associated with a server", |
428 |
| - "$ref": "#/definitions/ProbeTuning" |
429 |
| - }, |
430 |
| - "serviceAnnotations": { |
431 |
| - "description": "Annotations applied to services", |
432 |
| - "$ref": "#/definitions/Map" |
433 |
| - }, |
434 |
| - "containerSecurityContext": { |
435 |
| - "description": "Container-level security attributes. Will override any matching pod-level attributes", |
436 |
| - "$ref": "#/definitions/V1SecurityContext" |
437 | 460 | }
|
438 | 461 | }
|
439 | 462 | },
|
|
1612 | 1635 | "type": "string"
|
1613 | 1636 | },
|
1614 | 1637 | "kind": {
|
1615 |
| - "description": "The type of resource. Should be \u0027Domain\u0027", |
| 1638 | + "description": "The type of resource. Must be \u0027Domain\u0027", |
1616 | 1639 | "type": "string"
|
1617 | 1640 | },
|
1618 | 1641 | "spec": {
|
|
0 commit comments