Skip to content

Commit

Permalink
feat(helm): Add available helm repository endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 7, 2023
1 parent f639a4b commit 6710992
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ tags:
- name: Helm Logs
- name: Helm Main Calls
- name: Helm Metrics
- name: Helm Registry
- name: Helm Repository
- name: Helm Secret
- name: Helms
- name: Backups
Expand Down Expand Up @@ -112,6 +112,7 @@ tags:
- name: Projects
- name: Referral & Rewards
- name: Container Registries
- name: Helm Repositories
- name: User Sign Up
- name: Variable Main Calls
x-tagGroups:
Expand All @@ -131,6 +132,7 @@ x-tagGroups:
- Cloud Provider Credentials
- Github App
- Container Registries
- Helm Repositories
- name: Project
tags:
- Project Main Calls
Expand Down Expand Up @@ -216,6 +218,7 @@ x-tagGroups:
- Helm Deployment History
- Helm Environment Variable
- Helm Secret
- Helm Repository
- name: Account
tags:
- Account Info
Expand Down
19 changes: 19 additions & 0 deletions src/resources/AvailableHelmRepository.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
get:
summary: 'List supported helm repository'
description: List supported helm repository by Qovery and get the mandatory authentification configuration.
operationId: listAvailableHelmRepository
tags:
- Helm Repositories
responses:
'200':
description: 'supported helm repositories'
content:
application/json:
schema:
$ref: '../schemas/AvailableHelmRepositoryResponseList.yaml'
'401':
$ref: '../responses/NotAuthorized.yaml'
'403':
$ref: '../responses/Forbidden.yaml'
'404':
$ref: '../responses/NotFound.yaml'
6 changes: 6 additions & 0 deletions src/schemas/AvailableHelmRepositoryResponse.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
type: object
properties:
results:
type: array
items:
$ref: './AvailableHelmRepositoryResponse.yaml'
4 changes: 4 additions & 0 deletions src/schemas/_index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ AvailableContainerRegistryResponse:
$ref: ./AvailableContainerRegistryResponse.yaml
AvailableContainerRegistryResponseList:
$ref: ./AvailableContainerRegistryResponseList.yaml
AvailableHelmRepositoryResponse:
$ref: ./AvailableHelmRepositoryResponse.yaml
AvailableHelmRepositoryResponseList:
$ref: ./AvailableHelmRepositoryResponseList.yaml
AwsCredentialsRequest:
$ref: ./AwsCredentialsRequest.yaml
Backup:
Expand Down
6 changes: 6 additions & 0 deletions src/schemas/enums/HelmRepositoryKind.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
type: string
enum:
- HTTPS
- OCI
description: The type of your helm repository

0 comments on commit 6710992

Please sign in to comment.