Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cor-1017): add access_key fields for aws and scw credentials #681

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12191,16 +12191,86 @@ components:
region:
type: string
ClusterCredentials:
oneOf:
- $ref: '#/components/schemas/AwsClusterCredentials'
- $ref: '#/components/schemas/ScalewayClusterCredentials'
- $ref: '#/components/schemas/GenericClusterCredentials'
discriminator:
propertyName: object_type
mapping:
AWS: '#/components/schemas/AwsClusterCredentials'
SCW: '#/components/schemas/ScalewayClusterCredentials'
OTHER: '#/components/schemas/GenericClusterCredentials'
AwsClusterCredentials:
x-stoplight:
id: s0aosg7la96hp
title: AwsClusterCredentials
type: object
required:
- id
- name
- access_key_id
- object_type
properties:
id:
type: string
x-stoplight:
id: en79y0yc76xhp
format: uuid
name:
type: string
x-stoplight:
id: mx0mwek4ubieo
access_key_id:
type: string
x-stoplight:
id: 6g20j0ggu8nqc
object_type:
x-stoplight:
id: ravczabg8e2sp
enum:
- AWS
ScalewayClusterCredentials:
title: ScalewayClusterCredentials
x-stoplight:
id: j3ep46eyah9p5
type: object
required:
- id
- name
- scaleway_access_key
- object_type
properties:
id:
type: string
format: uuid
name:
type: string
scaleway_access_key:
type: string
x-stoplight:
id: 4db3031sq6tea
object_type:
enum:
- SCW
GenericClusterCredentials:
title: GenericClusterCredentials
x-stoplight:
id: gtibx4nzrvxm9
type: object
required:
- id
- name
- object_type
properties:
id:
type: string
format: uuid
name:
type: string
object_type:
enum:
- OTHER
ClusterCredentialsResponseList:
type: object
properties:
Expand Down Expand Up @@ -17960,6 +18030,7 @@ components:
$ref: '#/components/schemas/OrganizationAnnotationsGroupResponseList'
labels_groups:
$ref: '#/components/schemas/OrganizationLabelsGroupResponseList'
title: ''
CronJobResponse:
allOf:
- $ref: '#/components/schemas/BaseJobResponse'
Expand Down
Loading