Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2024-01-06 03:22:21 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2024-01-06 03:22:21 +0300
commite622d769cea776ed0ba88321a87bcd3b8a359a4d (patch)
tree8de73104658f8e963381f94cce9f77d2d48f8619 /app/assets
parent6fd670b99b45d3374f8b429e87be51dd67d6ab39 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/editor/schema/ci.json36
1 files changed, 35 insertions, 1 deletions
diff --git a/app/assets/javascripts/editor/schema/ci.json b/app/assets/javascripts/editor/schema/ci.json
index 63c1ccb36da..7cedd00e491 100644
--- a/app/assets/javascripts/editor/schema/ci.json
+++ b/app/assets/javascripts/editor/schema/ci.json
@@ -735,6 +735,30 @@
}
]
},
+ "gcp_secret_manager": {
+ "type": "object",
+ "markdownDescription": "Defines the secret version to be fetched from GCP Secret Manager. Name refers to the secret name in GCP secret manager. Version refers to the desired secret version (defaults to 'latest').",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "version": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ }
+ ],
+ "default": "version"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "additionalProperties": false
+ },
"azure_key_vault": {
"type": "object",
"properties": {
@@ -757,7 +781,7 @@
},
"token": {
"type": "string",
- "description": "Specifies the JWT variable that should be used to authenticate with Hashicorp Vault."
+ "description": "Specifies the JWT variable that should be used to authenticate with the secret provider."
}
},
"anyOf": [
@@ -770,8 +794,18 @@
"required": [
"azure_key_vault"
]
+ },
+ {
+ "required": [
+ "gcp_secret_manager"
+ ]
}
],
+ "dependencies": {
+ "gcp_secret_manager": [
+ "token"
+ ]
+ },
"additionalProperties": false
}
}