Skip to content

Commit

Permalink
feat: remove the double git sub-object in the helm request for values…
Browse files Browse the repository at this point in the history
… part
  • Loading branch information
pggb25 committed Nov 21, 2023
1 parent cbfa061 commit a25eecc
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 11 deletions.
26 changes: 26 additions & 0 deletions src/schemas/HelmValuesGitRepositoryRequest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
type: object
required:
- url
- branch
- paths
properties:
url:
type: string
description: application git repository URL
example: https://github.com/Qovery/simple-node-app
branch:
type: string
description: |
Name of the branch to use. This is optional
If not specified, then the branch used is the `main` or `master` one
example: feat/text_xxx
paths:
type: array
description: List of path inside your git repository to locate values file. Must start by a /
items:
type: string
git_token_id:
type: string
format: uuid
description: The git token id on Qovery side
nullable: true
2 changes: 2 additions & 0 deletions src/schemas/_index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -760,3 +760,5 @@ BaseJobResponse:
$ref: ./job/BaseJobResponse.yaml
HelmGitRepositoryRequest:
$ref: ./HelmGitRepositoryRequest.yaml
HelmValuesGitRepositoryRequest:
$ref: ./HelmValuesGitRepositoryRequest.yaml
13 changes: 2 additions & 11 deletions src/schemas/helm/HelmRequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,5 @@ allOf:
content:
type: string
description: The content of the value file
git:
type: object
nullable: true
properties:
git_repository:
$ref: '../ApplicationGitRepositoryRequest.yaml'
paths:
type: array
description: List of path inside your git repository to locate values file. Must start by a /
items:
type: string
git_repository:
$ref: '../HelmValuesGitRepositoryRequest.yaml'

0 comments on commit a25eecc

Please sign in to comment.