You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/schemas/config-jsonschema.json
+45-18Lines changed: 45 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -339,9 +339,6 @@
339
339
}
340
340
},
341
341
"type": "object",
342
-
"required": [
343
-
"name"
344
-
],
345
342
"description": "DependencyConfig defines the devspace dependency"
346
343
},
347
344
"DeploymentConfig": {
@@ -1954,9 +1951,6 @@
1954
1951
}
1955
1952
},
1956
1953
"type": "object",
1957
-
"required": [
1958
-
"name"
1959
-
],
1960
1954
"description": "Variable describes the var definition"
1961
1955
},
1962
1956
"VariableCommand": {
@@ -2006,11 +2000,22 @@
2006
2000
"description": "Functions are POSIX functions that can be used within pipelines. Those functions can also be imported by\nimports."
2007
2001
},
2008
2002
"pipelines": {
2009
-
"patternProperties": {
2010
-
".*": {
2011
-
"$ref": "#/$defs/Pipeline"
2003
+
"oneOf": [
2004
+
{
2005
+
"additionalProperties": {
2006
+
"type": "string"
2007
+
},
2008
+
"type": "object"
2009
+
},
2010
+
{
2011
+
"patternProperties": {
2012
+
".*": {
2013
+
"$ref": "#/$defs/Pipeline"
2014
+
}
2015
+
},
2016
+
"type": "object"
2012
2017
}
2013
-
},
2018
+
],
2014
2019
"type": "object",
2015
2020
"description": "Pipelines are the work blocks that DevSpace should execute when devspace dev, devspace build, devspace deploy or devspace purge\nis called. Pipelines are defined through a special POSIX script that allows you to use special commands\nsuch as create_deployments, start_dev, build_images etc. to signal DevSpace you want to execute\na specific functionality. The pipelines dev, build, deploy and purge are special and will override\nthe default functionality of the respective command if defined. All other pipelines can be either run\nvia the devspace run-pipeline command or used within another pipeline through run_pipelines."
2016
2021
},
@@ -2042,20 +2047,42 @@
2042
2047
"description": "Dev holds development configuration. Each dev configuration targets a single pod and enables certain dev services on that pod\nor even rewrites it if certain changes are requested, such as adding an environment variable or changing the entrypoint.\nDev allows you to:\n- sync local folders to the Kubernetes pod\n- port forward remote ports to your local computer\n- forward local ports into the Kubernetes pod\n- configure an ssh tunnel to the Kubernetes pod\n- proxy local commands to the container\n- restart the container on file changes"
2043
2048
},
2044
2049
"vars": {
2045
-
"patternProperties": {
2046
-
".*": {
2047
-
"$ref": "#/$defs/Variable"
2050
+
"oneOf": [
2051
+
{
2052
+
"additionalProperties": {
2053
+
"type": "string"
2054
+
},
2055
+
"type": "object"
2056
+
},
2057
+
{
2058
+
"patternProperties": {
2059
+
".*": {
2060
+
"$ref": "#/$defs/Variable"
2061
+
}
2062
+
},
2063
+
"type": "object"
2048
2064
}
2049
-
},
2065
+
],
2050
2066
"type": "object",
2051
2067
"description": "Vars are config variables that can be used inside other config sections to replace certain values dynamically"
2052
2068
},
2053
2069
"commands": {
2054
-
"patternProperties": {
2055
-
".*": {
2056
-
"$ref": "#/$defs/CommandConfig"
2070
+
"oneOf": [
2071
+
{
2072
+
"additionalProperties": {
2073
+
"type": "string"
2074
+
},
2075
+
"type": "object"
2076
+
},
2077
+
{
2078
+
"patternProperties": {
2079
+
".*": {
2080
+
"$ref": "#/$defs/CommandConfig"
2081
+
}
2082
+
},
2083
+
"type": "object"
2057
2084
}
2058
-
},
2085
+
],
2059
2086
"type": "object",
2060
2087
"description": "Commands are custom commands that can be executed via 'devspace run COMMAND'. These commands are run within a pseudo bash\nthat also allows executing special commands such as run_watch or is_equal."
Copy file name to clipboardExpand all lines: docs/schemas/config-openapi.json
+30-18Lines changed: 30 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -347,9 +347,6 @@
347
347
}
348
348
},
349
349
"type": "object",
350
-
"required": [
351
-
"name"
352
-
],
353
350
"description": "DependencyConfig defines the devspace dependency"
354
351
},
355
352
"DeploymentConfig": {
@@ -1962,9 +1959,6 @@
1962
1959
}
1963
1960
},
1964
1961
"type": "object",
1965
-
"required": [
1966
-
"name"
1967
-
],
1968
1962
"description": "Variable describes the var definition"
1969
1963
},
1970
1964
"VariableCommand": {
@@ -2014,11 +2008,17 @@
2014
2008
"description": "Functions are POSIX functions that can be used within pipelines. Those functions can also be imported by\nimports."
2015
2009
},
2016
2010
"pipelines": {
2017
-
"patternProperties": {
2018
-
".*": {
2019
-
"$ref": "#/definitions/Config/$defs/Pipeline"
2011
+
"oneOf": [
2012
+
{
2013
+
"additionalProperties": {
2014
+
"type": "string"
2015
+
},
2016
+
"type": "object"
2017
+
},
2018
+
{
2019
+
"type": "object"
2020
2020
}
2021
-
},
2021
+
],
2022
2022
"type": "object",
2023
2023
"description": "Pipelines are the work blocks that DevSpace should execute when devspace dev, devspace build, devspace deploy or devspace purge\nis called. Pipelines are defined through a special POSIX script that allows you to use special commands\nsuch as create_deployments, start_dev, build_images etc. to signal DevSpace you want to execute\na specific functionality. The pipelines dev, build, deploy and purge are special and will override\nthe default functionality of the respective command if defined. All other pipelines can be either run\nvia the devspace run-pipeline command or used within another pipeline through run_pipelines."
2024
2024
},
@@ -2050,20 +2050,32 @@
2050
2050
"description": "Dev holds development configuration. Each dev configuration targets a single pod and enables certain dev services on that pod\nor even rewrites it if certain changes are requested, such as adding an environment variable or changing the entrypoint.\nDev allows you to:\n- sync local folders to the Kubernetes pod\n- port forward remote ports to your local computer\n- forward local ports into the Kubernetes pod\n- configure an ssh tunnel to the Kubernetes pod\n- proxy local commands to the container\n- restart the container on file changes"
2051
2051
},
2052
2052
"vars": {
2053
-
"patternProperties": {
2054
-
".*": {
2055
-
"$ref": "#/definitions/Config/$defs/Variable"
2053
+
"oneOf": [
2054
+
{
2055
+
"additionalProperties": {
2056
+
"type": "string"
2057
+
},
2058
+
"type": "object"
2059
+
},
2060
+
{
2061
+
"type": "object"
2056
2062
}
2057
-
},
2063
+
],
2058
2064
"type": "object",
2059
2065
"description": "Vars are config variables that can be used inside other config sections to replace certain values dynamically"
"description": "Commands are custom commands that can be executed via 'devspace run COMMAND'. These commands are run within a pseudo bash\nthat also allows executing special commands such as run_watch or is_equal."
0 commit comments