Commit 74b0b68e authored by Frédéric Caplette's avatar Frédéric Caplette

Merge branch 'Progyan-IK-master-patch-93085' into 'master'

Fix ci.json: Remove Nesting from Secrets Rule

See merge request gitlab-org/gitlab!82484
parents 218eff9c ee33d4da
......@@ -423,37 +423,34 @@
"description": "Defines secrets to be injected as environment variables",
"additionalProperties": {
"type": "object",
"additionalProperties": {
"type": "object",
"description": "Environment variable name",
"properties": {
"vault": {
"oneOf": [
{
"type": "string",
"description": "The secret to be fetched from Vault (e.g. 'production/db/password@ops' translates to secret 'ops/data/production/db', field `password`)"
},
{
"type": "object",
"properties": {
"engine": {
"type": "object",
"properties": {
"name": { "type": "string" },
"path": { "type": "string" }
},
"required": ["name", "path"]
"description": "Environment variable name",
"properties": {
"vault": {
"oneOf": [
{
"type": "string",
"description": "The secret to be fetched from Vault (e.g. 'production/db/password@ops' translates to secret 'ops/data/production/db', field `password`)"
},
{
"type": "object",
"properties": {
"engine": {
"type": "object",
"properties": {
"name": { "type": "string" },
"path": { "type": "string" }
},
"path": { "type": "string" },
"field": { "type": "string" }
"required": ["name", "path"]
},
"required": ["engine", "path", "field"]
}
]
}
},
"required": ["vault"]
}
"path": { "type": "string" },
"field": { "type": "string" }
},
"required": ["engine", "path", "field"]
}
]
}
},
"required": ["vault"]
}
},
"before_script": {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment