|
172 | 172 | }
|
173 | 173 | }
|
174 | 174 | },
|
175 |
| - "Configuration": { |
176 |
| - "type": "object", |
177 |
| - "properties": { |
178 |
| - "opss": { |
179 |
| - "description": "Configuration for OPSS security.", |
180 |
| - "$ref": "#/definitions/Opss" |
181 |
| - }, |
182 |
| - "model": { |
183 |
| - "description": "Model in image model files and properties.", |
184 |
| - "$ref": "#/definitions/Model" |
185 |
| - }, |
186 |
| - "secrets": { |
187 |
| - "description": "A list of names of the secrets for WebLogic configuration overrides or model. If this field is specified it overrides the value of spec.configOverrideSecrets.", |
188 |
| - "type": "array", |
189 |
| - "items": { |
190 |
| - "type": "string" |
191 |
| - } |
192 |
| - }, |
193 |
| - "overridesConfigMap": { |
194 |
| - "description": "The name of the config map for WebLogic configuration overrides. If this field is specified it overrides the value of spec.configOverrides.", |
195 |
| - "type": "string" |
196 |
| - }, |
197 |
| - "introspectorJobActiveDeadlineSeconds": { |
198 |
| - "description": "The introspector job timeout value in seconds. If this field is specified it overrides the Operator\u0027s config map data.introspectorJobActiveDeadlineSeconds value.", |
199 |
| - "type": "number" |
200 |
| - } |
201 |
| - } |
202 |
| - }, |
203 | 175 | "DateTime": {
|
204 | 176 | "format": "date-time",
|
205 | 177 | "type": "string"
|
|
242 | 214 | "description": "DomainSpec is a description of a domain.",
|
243 | 215 | "type": "object",
|
244 | 216 | "properties": {
|
245 |
| - "configuration": { |
246 |
| - "description": "Models and overrides affecting the WebLogic domain configuration.", |
247 |
| - "$ref": "#/definitions/Configuration" |
248 |
| - }, |
249 |
| - "configOverrideSecrets": { |
250 |
| - "deprecated": "true", |
251 |
| - "description": "Deprecated. Use configuration.secrets instead. Ignored if configuration.secrets is specified. A list of names of the secrets for optional WebLogic configuration overrides.", |
252 |
| - "type": "array", |
253 |
| - "items": { |
254 |
| - "type": "string" |
255 |
| - } |
256 |
| - }, |
257 |
| - "imagePullSecrets": { |
258 |
| - "description": "A list of image pull secrets for the WebLogic Docker image.", |
259 |
| - "type": "array", |
260 |
| - "items": { |
261 |
| - "$ref": "https://github.com/garethr/kubernetes-json-schema/blob/master/v1.13.5/_definitions.json#/definitions/io.k8s.api.core.v1.LocalObjectReference" |
262 |
| - } |
263 |
| - }, |
264 |
| - "domainUID": { |
265 |
| - "pattern": "^[a-z0-9-.]{1,253}$", |
266 |
| - "description": "Domain unique identifier. Must be unique across the Kubernetes cluster. Not required. Defaults to the value of metadata.name.", |
267 |
| - "type": "string" |
268 |
| - }, |
269 |
| - "experimental": { |
270 |
| - "description": "Experimental feature configurations.", |
271 |
| - "$ref": "#/definitions/Experimental" |
272 |
| - }, |
273 |
| - "serverService": { |
274 |
| - "description": "Customization affecting ClusterIP Kubernetes services for WebLogic Server instances.", |
275 |
| - "$ref": "#/definitions/ServerService" |
276 |
| - }, |
277 |
| - "domainHome": { |
278 |
| - "description": "The folder for the WebLogic Domain. Not required. Defaults to /shared/domains/domains/\u003cdomainUID\u003e if domainHomeSourceType is PersistentVolume. Defaults to /u01/oracle/user_projects/domains/ if domainHomeSourceType is Image. Defaults to /u01/domains/\u003cdomainUID\u003e if domainHomeSourceType is FromModel.", |
279 |
| - "type": "string" |
280 |
| - }, |
281 |
| - "domainHomeSourceType": { |
282 |
| - "description": "Domain home file system source type: Legal values: Image, PersistentVolume, FromModel. Image indicates that the domain home file system is contained in the Docker image specified by the image field. PersistentVolume indicates that the domain home file system is located on a persistent volume. FromModel indicates that the domain home file system will be created and managed by the operator based on a WDT domain model. If this field is specified it overrides the value of domainHomeInImage. If both fields are unspecified then domainHomeSourceType defaults to Image.", |
283 |
| - "type": "string", |
284 |
| - "enum": [ |
285 |
| - "Image", |
286 |
| - "PersistentVolume", |
287 |
| - "FromModel" |
288 |
| - ] |
289 |
| - }, |
290 |
| - "httpAccessLogInLogHome": { |
291 |
| - "description": "If true (the default), then server HTTP access log files will be written to the same directory specified in `logHome`. Otherwise, server HTTP access log files will be written to the directory configured in the WebLogic domain home configuration.", |
292 |
| - "type": "boolean" |
293 |
| - }, |
294 |
| - "webLogicCredentialsSecret": { |
295 |
| - "description": "The name of a pre-created Kubernetes secret, in the domain\u0027s namespace, that holds the username and password needed to boot WebLogic Server under the \u0027username\u0027 and \u0027password\u0027 fields.", |
296 |
| - "$ref": "https://github.com/garethr/kubernetes-json-schema/blob/master/v1.13.5/_definitions.json#/definitions/io.k8s.api.core.v1.SecretReference" |
297 |
| - }, |
298 |
| - "adminServer": { |
299 |
| - "description": "Configuration for the Administration Server.", |
300 |
| - "$ref": "#/definitions/AdminServer" |
301 |
| - }, |
302 |
| - "logHome": { |
303 |
| - "description": "The in-pod name of the directory in which to store the domain, Node Manager, server logs, server *.out, and optionally HTTP access log files if `httpAccessLogInLogHome` is true. Ignored if logHomeEnabled is false.", |
304 |
| - "type": "string" |
305 |
| - }, |
306 |
| - "includeServerOutInPodLog": { |
307 |
| - "description": "If true (the default), then the server .out file will be included in the pod\u0027s stdout.", |
308 |
| - "type": "boolean" |
309 |
| - }, |
310 |
| - "clusters": { |
311 |
| - "description": "Configuration for the clusters.", |
312 |
| - "type": "array", |
313 |
| - "items": { |
314 |
| - "$ref": "#/definitions/Cluster" |
315 |
| - } |
316 |
| - }, |
317 | 217 | "serverStartState": {
|
318 | 218 | "description": "The state in which the server is to be started. Use ADMIN if server should start in the admin state. Defaults to RUNNING.",
|
319 | 219 | "type": "string",
|
|
340 | 240 | "type": "number",
|
341 | 241 | "minimum": 0
|
342 | 242 | },
|
| 243 | + "configOverrideSecrets": { |
| 244 | + "description": "A list of names of the secrets for optional WebLogic configuration overrides.", |
| 245 | + "type": "array", |
| 246 | + "items": { |
| 247 | + "type": "string" |
| 248 | + } |
| 249 | + }, |
| 250 | + "imagePullSecrets": { |
| 251 | + "description": "A list of image pull secrets for the WebLogic Docker image.", |
| 252 | + "type": "array", |
| 253 | + "items": { |
| 254 | + "$ref": "https://github.com/garethr/kubernetes-json-schema/blob/master/v1.13.5/_definitions.json#/definitions/io.k8s.api.core.v1.LocalObjectReference" |
| 255 | + } |
| 256 | + }, |
343 | 257 | "domainHomeInImage": {
|
344 |
| - "deprecated": "true", |
345 |
| - "description": "Deprecated. Use domainHomeSourceType instead. Ignored if domainHomeSourceType is specified. True indicates that the domain home file system is contained in the Docker image specified by the image field. False indicates that the domain home file system is located on a persistent volume.", |
| 258 | + "description": "True indicates that the domain home file system is contained in the Docker image specified by the image field. False indicates that the domain home file system is located on a persistent volume.", |
346 | 259 | "type": "boolean"
|
347 | 260 | },
|
| 261 | + "domainUID": { |
| 262 | + "pattern": "^[a-z0-9-.]{1,253}$", |
| 263 | + "description": "Domain unique identifier. Must be unique across the Kubernetes cluster. Not required. Defaults to the value of metadata.name.", |
| 264 | + "type": "string" |
| 265 | + }, |
| 266 | + "experimental": { |
| 267 | + "description": "Experimental feature configurations.", |
| 268 | + "$ref": "#/definitions/Experimental" |
| 269 | + }, |
348 | 270 | "serverStartPolicy": {
|
349 | 271 | "description": "The strategy for deciding whether to start a server. Legal values are ADMIN_ONLY, NEVER, or IF_NEEDED.",
|
350 | 272 | "type": "string",
|
|
358 | 280 | "description": "If present, every time this value is updated the operator will restart the required servers.",
|
359 | 281 | "type": "string"
|
360 | 282 | },
|
361 |
| - "introspectVersion": { |
362 |
| - "description": "If present, every time this value is updated, the operator will start introspect domain job", |
363 |
| - "type": "string" |
364 |
| - }, |
365 | 283 | "dataHome": {
|
366 | 284 | "description": "An optional, in-pod location for data storage of default and custom file stores. If dataHome is not specified or its value is either not set or empty (e.g. dataHome: \"\") then the data storage directories are determined from the WebLogic domain home configuration.",
|
367 | 285 | "type": "string"
|
368 | 286 | },
|
369 | 287 | "configOverrides": {
|
370 |
| - "deprecated": "true", |
371 |
| - "description": "Deprecated. Use configuration.overridesConfigMap instead. Ignored if configuration.overridesConfigMap is specified. The name of the config map for optional WebLogic configuration overrides.", |
| 288 | + "description": "The name of the config map for optional WebLogic configuration overrides.", |
| 289 | + "type": "string" |
| 290 | + }, |
| 291 | + "serverService": { |
| 292 | + "description": "Customization affecting ClusterIP Kubernetes services for WebLogic Server instances.", |
| 293 | + "$ref": "#/definitions/ServerService" |
| 294 | + }, |
| 295 | + "domainHome": { |
| 296 | + "description": "The folder for the WebLogic Domain. Not required. Defaults to /shared/domains/domains/\u003cdomainUID\u003e if domainHomeSourceType is PersistentVolume. Defaults to /u01/oracle/user_projects/domains/ if domainHomeSourceType is Image. Defaults to /u01/domains/\u003cdomainUID\u003e if domainHomeSourceType is FromModel.", |
372 | 297 | "type": "string"
|
373 | 298 | },
|
374 | 299 | "logHomeEnabled": {
|
375 | 300 | "description": "Specified whether the log home folder is enabled. Not required. Defaults to true if domainHomeSourceType is PersistentVolume; false, otherwise.",
|
376 | 301 | "type": "boolean"
|
377 | 302 | },
|
| 303 | + "httpAccessLogInLogHome": { |
| 304 | + "description": "If true (the default), then server HTTP access log files will be written to the same directory specified in `logHome`. Otherwise, server HTTP access log files will be written to the directory configured in the WebLogic domain home configuration.", |
| 305 | + "type": "boolean" |
| 306 | + }, |
| 307 | + "webLogicCredentialsSecret": { |
| 308 | + "description": "The name of a pre-created Kubernetes secret, in the domain\u0027s namespace, that holds the username and password needed to boot WebLogic Server under the \u0027username\u0027 and \u0027password\u0027 fields.", |
| 309 | + "$ref": "https://github.com/garethr/kubernetes-json-schema/blob/master/v1.13.5/_definitions.json#/definitions/io.k8s.api.core.v1.SecretReference" |
| 310 | + }, |
| 311 | + "adminServer": { |
| 312 | + "description": "Configuration for the Administration Server.", |
| 313 | + "$ref": "#/definitions/AdminServer" |
| 314 | + }, |
378 | 315 | "serverPod": {
|
379 | 316 | "description": "Configuration affecting server pods.",
|
380 | 317 | "$ref": "#/definitions/ServerPod"
|
381 | 318 | },
|
| 319 | + "logHome": { |
| 320 | + "description": "The in-pod name of the directory in which to store the domain, Node Manager, server logs, server *.out, and optionally HTTP access log files if `httpAccessLogInLogHome` is true. Ignored if logHomeEnabled is false.", |
| 321 | + "type": "string" |
| 322 | + }, |
| 323 | + "includeServerOutInPodLog": { |
| 324 | + "description": "If true (the default), then the server .out file will be included in the pod\u0027s stdout.", |
| 325 | + "type": "boolean" |
| 326 | + }, |
382 | 327 | "managedServers": {
|
383 | 328 | "description": "Configuration for individual Managed Servers.",
|
384 | 329 | "type": "array",
|
385 | 330 | "items": {
|
386 | 331 | "$ref": "#/definitions/ManagedServer"
|
387 | 332 | }
|
| 333 | + }, |
| 334 | + "clusters": { |
| 335 | + "description": "Configuration for the clusters.", |
| 336 | + "type": "array", |
| 337 | + "items": { |
| 338 | + "$ref": "#/definitions/Cluster" |
| 339 | + } |
388 | 340 | }
|
389 | 341 | }
|
390 | 342 | },
|
|
515 | 467 | },
|
516 | 468 | "type": "object"
|
517 | 469 | },
|
518 |
| - "Model": { |
519 |
| - "type": "object", |
520 |
| - "properties": { |
521 |
| - "runtimeEncryptionSecret": { |
522 |
| - "description": "Runtime encryption secret. Required when domainHomeSourceType is set to FromModel.", |
523 |
| - "type": "string" |
524 |
| - }, |
525 |
| - "domainType": { |
526 |
| - "description": "WDT domain type: Legal values: WLS, RestrictedJRF, JRF. Defaults to WLS.", |
527 |
| - "type": "string", |
528 |
| - "enum": [ |
529 |
| - "WLS", |
530 |
| - "RestrictedJRF", |
531 |
| - "JRF" |
532 |
| - ] |
533 |
| - }, |
534 |
| - "configMap": { |
535 |
| - "description": "WDT config map name.", |
536 |
| - "type": "string" |
537 |
| - } |
538 |
| - } |
539 |
| - }, |
540 |
| - "Opss": { |
541 |
| - "type": "object", |
542 |
| - "properties": { |
543 |
| - "walletFileSecret": { |
544 |
| - "description": "Secret containing the OPSS key wallet file.", |
545 |
| - "type": "string" |
546 |
| - }, |
547 |
| - "walletPasswordSecret": { |
548 |
| - "description": "Secret containing OPSS key passphrase.", |
549 |
| - "type": "string" |
550 |
| - } |
551 |
| - } |
552 |
| - }, |
553 | 470 | "ProbeTuning": {
|
554 | 471 | "type": "object",
|
555 | 472 | "properties": {
|
|
0 commit comments