|
| 1 | +{ |
| 2 | + "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | + "type": "object", |
| 4 | + "properties": { |
| 5 | + "affinity": { |
| 6 | + "$ref": "https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.Affinity", |
| 7 | + "type": "object", |
| 8 | + "additionalProperties": false |
| 9 | + }, |
| 10 | + "args": { |
| 11 | + "description": "command args to pass to the production container", |
| 12 | + "type": "array" |
| 13 | + }, |
| 14 | + "autostart": { |
| 15 | + "description": "editable and autostart are used for debugging and development in-cluster", |
| 16 | + "type": "boolean" |
| 17 | + }, |
| 18 | + "baseIp": { |
| 19 | + "description": "CIDR for services addresses.", |
| 20 | + "type": "string", |
| 21 | + "pattern": "^(\\d{1,3}\\.){3}\\d{1,3}\\/\\d{1,2}$" |
| 22 | + }, |
| 23 | + "ca_server_port": { |
| 24 | + "description": "service port for Channel Access", |
| 25 | + "type": "integer" |
| 26 | + }, |
| 27 | + "clusterIP": { |
| 28 | + "description": "Override for the cluster IP - only needed if allocateIpFromName clashes", |
| 29 | + "type": "null", |
| 30 | + "pattern": "^(\\d{1,3}\\.){3}\\d{1,3}$" |
| 31 | + }, |
| 32 | + "command": { |
| 33 | + "description": "command to run for the production container", |
| 34 | + "type": "array" |
| 35 | + }, |
| 36 | + "debugCommand": { |
| 37 | + "description": "command to run for the debugging (non- autostart) container", |
| 38 | + "type": "array", |
| 39 | + "items": { |
| 40 | + "type": "string" |
| 41 | + } |
| 42 | + }, |
| 43 | + "editable": { |
| 44 | + "description": "editable and autostart are used for debugging and development in-cluster", |
| 45 | + "type": "boolean" |
| 46 | + }, |
| 47 | + "extraContainers": { |
| 48 | + "type": "array" |
| 49 | + }, |
| 50 | + "hostNetwork": { |
| 51 | + "description": "enable host networking for the pod", |
| 52 | + "type": "boolean" |
| 53 | + }, |
| 54 | + "image": { |
| 55 | + "description": "container image URI", |
| 56 | + "type": "object", |
| 57 | + "properties": { |
| 58 | + "pullPolicy": { |
| 59 | + "type": "string" |
| 60 | + }, |
| 61 | + "repository": { |
| 62 | + "type": "string" |
| 63 | + }, |
| 64 | + "tag": { |
| 65 | + "type": "string" |
| 66 | + } |
| 67 | + }, |
| 68 | + "additionalProperties": false |
| 69 | + }, |
| 70 | + "initCommand": { |
| 71 | + "description": "command to run in the init container for editable mode", |
| 72 | + "type": "array", |
| 73 | + "items": { |
| 74 | + "type": "string" |
| 75 | + } |
| 76 | + }, |
| 77 | + "iocConfig": { |
| 78 | + "description": "path to the location of config folder (defaults to be the same as C++ IOCs)", |
| 79 | + "type": "string" |
| 80 | + }, |
| 81 | + "livenessProbe": { |
| 82 | + "$ref": "https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.Probe", |
| 83 | + "type": "object", |
| 84 | + "additionalProperties": false |
| 85 | + }, |
| 86 | + "nodeSelector": { |
| 87 | + "type": [ |
| 88 | + "object", |
| 89 | + "null" |
| 90 | + ], |
| 91 | + "additionalProperties": false |
| 92 | + }, |
| 93 | + "podAnnotations": { |
| 94 | + "description": "Add annotations to the pod", |
| 95 | + "type": "object", |
| 96 | + "additionalProperties": false |
| 97 | + }, |
| 98 | + "podLabels": { |
| 99 | + "description": "Add labels to the pod", |
| 100 | + "type": "object", |
| 101 | + "additionalProperties": false |
| 102 | + }, |
| 103 | + "podSecurityContext": { |
| 104 | + "$ref": "https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.SecurityContext", |
| 105 | + "type": "object", |
| 106 | + "additionalProperties": false |
| 107 | + }, |
| 108 | + "pva_server_port": { |
| 109 | + "description": "service port for PV Access", |
| 110 | + "type": "integer" |
| 111 | + }, |
| 112 | + "readinessProbe": { |
| 113 | + "$ref": "https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.Probe", |
| 114 | + "type": "object", |
| 115 | + "additionalProperties": false |
| 116 | + }, |
| 117 | + "resources": { |
| 118 | + "$ref": "https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.ResourceRequirements", |
| 119 | + "type": "object", |
| 120 | + "additionalProperties": false |
| 121 | + }, |
| 122 | + "securityContext": { |
| 123 | + "$ref": "https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.SecurityContext", |
| 124 | + "type": "object", |
| 125 | + "additionalProperties": false |
| 126 | + }, |
| 127 | + "service": { |
| 128 | + "description": "The service will be configured for Channel Access and PVA.", |
| 129 | + "type": "object", |
| 130 | + "properties": { |
| 131 | + "ca_port": { |
| 132 | + "type": "integer" |
| 133 | + }, |
| 134 | + "pva_port": { |
| 135 | + "type": "integer" |
| 136 | + }, |
| 137 | + "type": { |
| 138 | + "type": "string" |
| 139 | + } |
| 140 | + }, |
| 141 | + "additionalProperties": false |
| 142 | + }, |
| 143 | + "tolerations": { |
| 144 | + "$ref": "https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.Toleration", |
| 145 | + "type": "array" |
| 146 | + }, |
| 147 | + "volumeMounts": { |
| 148 | + "$ref": "https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.VolumeMount", |
| 149 | + "type": "array" |
| 150 | + }, |
| 151 | + "volumes": { |
| 152 | + "$ref": "https://kubernetesjsonschema.dev/v1.18.1/_definitions.json#/definitions/io.k8s.api.core.v1.Volume", |
| 153 | + "type": "array" |
| 154 | + } |
| 155 | + }, |
| 156 | + "additionalProperties": false |
| 157 | +} |
0 commit comments