|
745 | 745 | "type": "array", |
746 | 746 | "description": "TemplateArgs are additional arguments to pass to `helm template`" |
747 | 747 | }, |
748 | | - "disableDependencyUpdate" : { |
| 748 | + "disableDependencyUpdate": { |
749 | 749 | "type": "boolean", |
750 | | - "description" : "DisableDependencyUpdate disables helm dependencies update" |
| 750 | + "description": "DisableDependencyUpdate disables helm dependencies update, default to false" |
751 | 751 | } |
752 | 752 | }, |
753 | 753 | "type": "object", |
| 754 | + "required": [ |
| 755 | + "disableDependencyUpdate" |
| 756 | + ], |
754 | 757 | "description": "HelmConfig defines the specific helm options used during deployment" |
755 | 758 | }, |
756 | 759 | "Image": { |
|
1188 | 1191 | }, |
1189 | 1192 | "inlineManifest": { |
1190 | 1193 | "type": "string", |
1191 | | - "description": "InlineManists is a block containing the manifest to deploy" |
| 1194 | + "description": "InlineManifests is a block containing the manifest to deploy" |
1192 | 1195 | }, |
1193 | 1196 | "kustomize": { |
1194 | 1197 | "type": "boolean", |
|
1208 | 1211 | "type": "string", |
1209 | 1212 | "description": "KustomizeBinaryPath is the optional path where to find the kustomize binary", |
1210 | 1213 | "group": "kustomize" |
| 1214 | + }, |
| 1215 | + "patches": { |
| 1216 | + "items": { |
| 1217 | + "$ref": "#/$defs/PatchTarget" |
| 1218 | + }, |
| 1219 | + "type": "array", |
| 1220 | + "description": "Patches are additional changes to the pod spec that should be applied", |
| 1221 | + "group": "modifications" |
1211 | 1222 | } |
1212 | 1223 | }, |
1213 | 1224 | "type": "object", |
|
1309 | 1320 | ], |
1310 | 1321 | "description": "PatchConfig describes a config patch and how it should be applied" |
1311 | 1322 | }, |
| 1323 | + "PatchTarget": { |
| 1324 | + "properties": { |
| 1325 | + "target": { |
| 1326 | + "$ref": "#/$defs/Target", |
| 1327 | + "description": "Target describes where to apply a config patch" |
| 1328 | + }, |
| 1329 | + "op": { |
| 1330 | + "type": "string", |
| 1331 | + "description": "Operation is the path operation to do. Can be either replace, add or remove" |
| 1332 | + }, |
| 1333 | + "path": { |
| 1334 | + "type": "string", |
| 1335 | + "description": "Path is the config path to apply the patch to" |
| 1336 | + }, |
| 1337 | + "value": { |
| 1338 | + "description": "Value is the value to use for this patch." |
| 1339 | + } |
| 1340 | + }, |
| 1341 | + "type": "object", |
| 1342 | + "required": [ |
| 1343 | + "target", |
| 1344 | + "op", |
| 1345 | + "path" |
| 1346 | + ], |
| 1347 | + "description": "PatchTarget describes a config patch and how it should be applied" |
| 1348 | + }, |
1312 | 1349 | "PersistenceOptions": { |
1313 | 1350 | "properties": { |
1314 | 1351 | "size": { |
|
1810 | 1847 | "type": "object", |
1811 | 1848 | "description": "SyncOnUpload defines the struct for the command that should be executed when files / folders are uploaded" |
1812 | 1849 | }, |
| 1850 | + "Target": { |
| 1851 | + "properties": { |
| 1852 | + "apiVersion": { |
| 1853 | + "type": "string", |
| 1854 | + "description": "ApiVersion is the Kubernetes api of the target resource" |
| 1855 | + }, |
| 1856 | + "kind": { |
| 1857 | + "type": "string", |
| 1858 | + "description": "Kind is the kind of the target resource (eg: Deployment, Service ...)" |
| 1859 | + }, |
| 1860 | + "name": { |
| 1861 | + "type": "string", |
| 1862 | + "description": "Name is the name of the target resource" |
| 1863 | + } |
| 1864 | + }, |
| 1865 | + "type": "object", |
| 1866 | + "required": [ |
| 1867 | + "apiVersion", |
| 1868 | + "kind", |
| 1869 | + "name" |
| 1870 | + ], |
| 1871 | + "description": "Target describes where to apply a config patch" |
| 1872 | + }, |
1813 | 1873 | "Terminal": { |
1814 | 1874 | "properties": { |
1815 | 1875 | "command": { |
|
0 commit comments