Skip to content

Commit

Permalink
fix(jsonschema): add app redirectFrom and autoscale
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Sep 26, 2023
1 parent 67c0f58 commit 9fee9bf
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions plugins/contrib/charts/app/kontinuous.values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,50 @@
},
"examples": ["[uploads]"]
},
"redirectFrom": {
"description": "List of hostnames to redirect from",
"type": "array",
"items": {
"type": "string"
},
"examples": ["previous.url.com"]
},
"autoscale": {
"description": "Horizontal pod autoscaling configuration",
"type": "object",
"properties": {
"enabled": {
"description": "Enable Horizontal pod autoscaling",
"type": "boolean",
"default": false
},
"minReplicas": {
"description": "Minimum number of replicas",
"type": "number",
"default": 2
},
"maxReplicas": {
"description": "Minimum number of replicas",
"type": "number",
"default": 10
},
"averageUtilization": {
"description": "Autoscaling averageUtilization tuning",
"type": "object",
"properties": {
"cpu": {
"type": "number",
"default": 70
},
"memory": {
"type": "number",
"default": 70
}
}
}
}
},

"env": {
"$ref": "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.24.0/_definitions.json#/definitions/io.k8s.api.core.v1.Container/properties/env"
},
Expand Down

0 comments on commit 9fee9bf

Please sign in to comment.