Skip to content

Commit

Permalink
fix: json schema fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon committed Sep 3, 2023
1 parent 4a60d0f commit ad42e8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
3 changes: 2 additions & 1 deletion docs/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@
]
},
"~needs": {
"markdownDescription": "Job or deployment dependencies.\n\nThe meta-value `~needs`is used to define dependencies tree between charts and jobs.\n\nYou can target using simple charts or jobs name, or be more specific to avoid collision in more complex cases.\n\nsee [~needs documentation](https://socialgouv.github.io/kontinuous/#https://raw.githubusercontent.com/socialgouv/kontinuous/v1/advanced/build?id=meta-values-plugin-needs)",
"markdownDescription": "The meta-value `~needs`is used to define dependencies tree between charts and jobs.\n\nYou can target using simple charts or jobs name, or be more specific to avoid collision in more complex cases.\n\nsee [~needs documentation](https://socialgouv.github.io/kontinuous/#https://raw.githubusercontent.com/socialgouv/kontinuous/v1/advanced/build?id=meta-values-plugin-needs)",
"title": "Job or deployment dependencies",
"type": "array",
"items": {
"type": "string"
Expand Down
13 changes: 2 additions & 11 deletions plugins/contrib/charts/app/kontinuous.values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,13 @@
"^\\.": { "type": ["string", "number", "boolean"] }
},
"properties": {
"~chart": {
"type": "string"
},
"~chart": {},
"~forceRestart": {
"description": "Force restart on every deployment. default true",
"type": "boolean",
"default": true
},
"~needs": {
"description": "Job or deployment dependencies",
"type": "array",
"items": {
"type": "string"
},
"examples": ["[build-app]"]
},
"~needs": {},
"image": {
"description": "Full path to docker image",
"examples": ["ghcr.io/socialgouv/docker/nginx:7.0.1"],
Expand Down

0 comments on commit ad42e8f

Please sign in to comment.