Skip to content

Commit

Permalink
update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
KateTretiak committed Jan 15, 2025
1 parent ad85eaf commit 8708c0f
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions client/schemas/blueprint-spec2-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@
"terragrunt"
]
},
"env-labels": {
"$ref": "#/definitions/GrainLabels"
},
"spec": {
"$ref": "#/definitions/GrainSpecObject"
},
Expand Down Expand Up @@ -210,6 +213,9 @@
"post-tf-plan": {
"$ref": "#/definitions/ScriptObject"
},
"pre-ansible-run": {
"$ref": "#/definitions/ScriptOutputsObject"
},
"post-helm-install": {
"$ref": "#/definitions/ScriptOutputsObject"
},
Expand Down Expand Up @@ -635,6 +641,45 @@
}
}
},
"GrainLabels": {
"type": "object",
"additionalProperties": false,
"properties": {
"on-success": {
"type":"array",
"items": {
"allOf": [
{
"$ref": "#/definitions/EnvironmentLabel"
}
]
}
},
"on-failure": {
"type":"array",
"items": {
"allOf": [
{
"$ref": "#/definitions/EnvironmentLabel"
}
]
}
}
}
},
"EnvironmentLabel": {
"type": "object",
"additionalProperties": false,
"patternProperties": {
"^[\\w\\-\\.]+$": {
"type": [
"string",
"number",
"boolean"
]
}
}
},
"PodLabels": {
"type": "object",
"additionalProperties": true
Expand Down

0 comments on commit 8708c0f

Please sign in to comment.