Skip to content

Commit

Permalink
factorize common part in helm port
Browse files Browse the repository at this point in the history
  • Loading branch information
pggb25 committed Sep 6, 2024
1 parent b74b5ec commit bd7a6c2
Showing 1 changed file with 81 additions and 108 deletions.
189 changes: 81 additions & 108 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15746,6 +15746,33 @@ components:
description: Icon URI representing the helm service.
x-stoplight:
id: 117p5u95nwx2p
HelmPortResponseCommonProperties:
type: object
required:
- id
- internal_port
- protocol
properties:
id:
type: string
format: uuid
name:
type: string
internal_port:
type: integer
example: 8080
description: The listening port of your service.
external_port:
type: integer
example: 8080
description: The exposed port for your service. This is optional. If not set, a default port will be used.
namespace:
type: string
protocol:
$ref: '#/components/schemas/HelmPortProtocolEnum'
is_default:
type: boolean
description: is the default port to use for domain
HelmResponse:
allOf:
- $ref: '#/components/schemas/Base'
Expand Down Expand Up @@ -15788,66 +15815,24 @@ components:
type: array
items:
oneOf:
- type: object
required:
- id
- internal_port
- protocol
- service_name
properties:
id:
type: string
format: uuid
name:
type: string
internal_port:
type: integer
example: 8080
description: The listening port of your service.
external_port:
type: integer
example: 8080
description: The exposed port for your service. This is optional. If not set a default port will be used.
service_name:
type: string
namespace:
type: string
protocol:
$ref: '#/components/schemas/HelmPortProtocolEnum'
is_default:
type: boolean
description: is the default port to use for domain
- type: object
required:
- id
- internal_port
- protocol
- service_selectors
properties:
id:
type: string
format: uuid
name:
type: string
internal_port:
type: integer
example: 8080
description: The listening port of your service.
external_port:
type: integer
example: 8080
description: The exposed port for your service. This is optional. If not set a default port will be used.
service_selectors:
type: array
items:
$ref: '#/components/schemas/KubernetesSelector'
namespace:
type: string
protocol:
$ref: '#/components/schemas/HelmPortProtocolEnum'
is_default:
type: boolean
description: is the default port to use for domain
- allOf:
- $ref: '#/components/schemas/HelmPortResponseCommonProperties'
- type: object
required:
- service_name
properties:
service_name:
type: string
- allOf:
- $ref: '#/components/schemas/HelmPortResponseCommonProperties'
- type: object
required:
- service_selectors
properties:
service_selectors:
type: array
items:
$ref: '#/components/schemas/KubernetesSelector'
source:
nullable: false
oneOf:
Expand Down Expand Up @@ -16056,61 +16041,49 @@ components:
type: array
items:
$ref: '#/components/schemas/HelmDeploymentRestrictionResponse'
HelmPortRequestCommonProperties:
type: object
required:
- internal_port
properties:
name:
type: string
internal_port:
type: integer
example: 8080
description: The listening port of your service.
external_port:
type: integer
example: 8080
description: The exposed port for your service. This is optional. If not set, a default port will be used.
namespace:
type: string
protocol:
$ref: '#/components/schemas/HelmPortProtocolEnum'
is_default:
type: boolean
description: is the default port to use for domain
HelmPortRequest:
type: object
properties:
ports:
type: array
items:
oneOf:
- type: object
required:
- internal_port
properties:
name:
type: string
internal_port:
type: integer
example: 8080
description: The listening port of your service.
external_port:
type: integer
example: 8080
description: The exposed port for your service. This is optional. If not set a default port will be used.
service_name:
type: string
namespace:
type: string
protocol:
$ref: '#/components/schemas/HelmPortProtocolEnum'
is_default:
type: boolean
description: is the default port to use for domain
- type: object
required:
- internal_port
properties:
name:
type: string
internal_port:
type: integer
example: 8080
description: The listening port of your service.
external_port:
type: integer
example: 8080
description: The exposed port for your service. This is optional. If not set a default port will be used.
service_selectors:
type: array
items:
$ref: '#/components/schemas/KubernetesSelector'
namespace:
type: string
protocol:
$ref: '#/components/schemas/HelmPortProtocolEnum'
is_default:
type: boolean
description: is the default port to use for domain
- allOf:
- $ref: '#/components/schemas/HelmPortRequestCommonProperties'
- type: object
properties:
service_name:
type: string
- allOf:
- $ref: '#/components/schemas/HelmPortRequestCommonProperties'
- type: object
properties:
service_selectors:
type: array
items:
$ref: '#/components/schemas/KubernetesSelector'
HelmForceEvent:
type: string
enum:
Expand Down

0 comments on commit bd7a6c2

Please sign in to comment.