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: devspace-schema.json
+31-48Lines changed: 31 additions & 48 deletions
Original file line number
Diff line number
Diff line change
@@ -2002,6 +2002,11 @@
2002
2002
"pipelines": {
2003
2003
"anyOf": [
2004
2004
{
2005
+
"patternProperties": {
2006
+
".*": {
2007
+
"type": "string"
2008
+
}
2009
+
},
2005
2010
"type": "object"
2006
2011
},
2007
2012
{
@@ -2017,36 +2022,20 @@
2017
2022
"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."
2018
2023
},
2019
2024
"images": {
2020
-
"anyOf": [
2021
-
{
2022
-
"type": "object"
2023
-
},
2024
-
{
2025
-
"patternProperties": {
2026
-
".*": {
2027
-
"$ref": "#/$defs/Image"
2028
-
}
2029
-
},
2030
-
"type": "object"
2025
+
"patternProperties": {
2026
+
".*": {
2027
+
"$ref": "#/$defs/Image"
2031
2028
}
2032
-
],
2029
+
},
2033
2030
"type": "object",
2034
2031
"description": "Images holds configuration of how DevSpace should build images. By default, DevSpace will build all defined images.\nIf you are using a custom pipeline, you can dynamically define which image is built at which time during the\nexecution."
2035
2032
},
2036
2033
"deployments": {
2037
-
"anyOf": [
2038
-
{
2039
-
"type": "object"
2040
-
},
2041
-
{
2042
-
"patternProperties": {
2043
-
".*": {
2044
-
"$ref": "#/$defs/DeploymentConfig"
2045
-
}
2046
-
},
2047
-
"type": "object"
2034
+
"patternProperties": {
2035
+
".*": {
2036
+
"$ref": "#/$defs/DeploymentConfig"
2048
2037
}
2049
-
],
2038
+
},
2050
2039
"type": "object",
2051
2040
"description": "Deployments holds configuration of how DevSpace should deploy resources to Kubernetes. By default, DevSpace will deploy all defined deployments.\nIf you are using a custom pipeline, you can dynamically define which deployment is deployed at which time during the\nexecution."
2052
2041
},
@@ -2062,6 +2051,11 @@
2062
2051
"vars": {
2063
2052
"anyOf": [
2064
2053
{
2054
+
"patternProperties": {
2055
+
".*": {
2056
+
"type": "string"
2057
+
}
2058
+
},
2065
2059
"type": "object"
2066
2060
},
2067
2061
{
@@ -2079,6 +2073,11 @@
2079
2073
"commands": {
2080
2074
"anyOf": [
2081
2075
{
2076
+
"patternProperties": {
2077
+
".*": {
2078
+
"type": "string"
2079
+
}
2080
+
},
2082
2081
"type": "object"
2083
2082
},
2084
2083
{
@@ -2094,36 +2093,20 @@
2094
2093
"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."
2095
2094
},
2096
2095
"dependencies": {
2097
-
"anyOf": [
2098
-
{
2099
-
"type": "object"
2100
-
},
2101
-
{
2102
-
"patternProperties": {
2103
-
".*": {
2104
-
"$ref": "#/$defs/DependencyConfig"
2105
-
}
2106
-
},
2107
-
"type": "object"
2096
+
"patternProperties": {
2097
+
".*": {
2098
+
"$ref": "#/$defs/DependencyConfig"
2108
2099
}
2109
-
],
2100
+
},
2110
2101
"type": "object",
2111
2102
"description": "Dependencies are sub devspace projects that lie in a local folder or remote git repository that can be executed\nfrom within the pipeline. In contrast to imports, these projects pose as separate fully functional DevSpace projects\nthat typically lie including source code in a different folder and can be used to compose a full microservice\napplication that will be deployed by DevSpace. Each dependency name can only be used once and if you want to use\nthe same project multiple times, make sure to use a different name for each of those instances."
2112
2103
},
2113
2104
"pullSecrets": {
2114
-
"anyOf": [
2115
-
{
2116
-
"type": "object"
2117
-
},
2118
-
{
2119
-
"patternProperties": {
2120
-
".*": {
2121
-
"$ref": "#/$defs/PullSecretConfig"
2122
-
}
2123
-
},
2124
-
"type": "object"
2105
+
"patternProperties": {
2106
+
".*": {
2107
+
"$ref": "#/$defs/PullSecretConfig"
2125
2108
}
2126
-
],
2109
+
},
2127
2110
"type": "object",
2128
2111
"description": "PullSecrets are image pull secrets that will be created by devspace in the target namespace\nduring devspace dev or devspace deploy. DevSpace will merge all defined pull secrets into a single\none or the one specified."
Copy file name to clipboardExpand all lines: docs/schemas/config-openapi.json
+31-28Lines changed: 31 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -2010,6 +2010,11 @@
2010
2010
"pipelines": {
2011
2011
"anyOf": [
2012
2012
{
2013
+
"patternProperties": {
2014
+
".*": {
2015
+
"type": "string"
2016
+
}
2017
+
},
2013
2018
"type": "object"
2014
2019
},
2015
2020
{
@@ -2020,26 +2025,20 @@
2020
2025
"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."
2021
2026
},
2022
2027
"images": {
2023
-
"anyOf": [
2024
-
{
2025
-
"type": "object"
2026
-
},
2027
-
{
2028
-
"type": "object"
2028
+
"patternProperties": {
2029
+
".*": {
2030
+
"$ref": "#/definitions/Config/$defs/Image"
2029
2031
}
2030
-
],
2032
+
},
2031
2033
"type": "object",
2032
2034
"description": "Images holds configuration of how DevSpace should build images. By default, DevSpace will build all defined images.\nIf you are using a custom pipeline, you can dynamically define which image is built at which time during the\nexecution."
"description": "Deployments holds configuration of how DevSpace should deploy resources to Kubernetes. By default, DevSpace will deploy all defined deployments.\nIf you are using a custom pipeline, you can dynamically define which deployment is deployed at which time during the\nexecution."
2045
2044
},
@@ -2055,6 +2054,11 @@
2055
2054
"vars": {
2056
2055
"anyOf": [
2057
2056
{
2057
+
"patternProperties": {
2058
+
".*": {
2059
+
"type": "string"
2060
+
}
2061
+
},
2058
2062
"type": "object"
2059
2063
},
2060
2064
{
@@ -2067,6 +2071,11 @@
2067
2071
"commands": {
2068
2072
"anyOf": [
2069
2073
{
2074
+
"patternProperties": {
2075
+
".*": {
2076
+
"type": "string"
2077
+
}
2078
+
},
2070
2079
"type": "object"
2071
2080
},
2072
2081
{
@@ -2077,26 +2086,20 @@
2077
2086
"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."
"description": "Dependencies are sub devspace projects that lie in a local folder or remote git repository that can be executed\nfrom within the pipeline. In contrast to imports, these projects pose as separate fully functional DevSpace projects\nthat typically lie including source code in a different folder and can be used to compose a full microservice\napplication that will be deployed by DevSpace. Each dependency name can only be used once and if you want to use\nthe same project multiple times, make sure to use a different name for each of those instances."
"description": "PullSecrets are image pull secrets that will be created by devspace in the target namespace\nduring devspace dev or devspace deploy. DevSpace will merge all defined pull secrets into a single\none or the one specified."
0 commit comments