-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add ports to helm request and helm response
- Loading branch information
Showing
7 changed files
with
72 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
type: string | ||
default: HTTP | ||
enum: | ||
- HTTP | ||
- GRPC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
type: object | ||
properties: | ||
ports: | ||
type: array | ||
items: | ||
type: object | ||
required: | ||
- service_name | ||
- 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: '../enums/HelmPortProtocol.yaml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
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: '../enums/HelmPortProtocol.yaml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
type: array | ||
items: | ||
$ref: './HelmPortResponse.yaml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
allOf: | ||
- $ref: './HelmPortRequest.yaml' | ||
- type: object | ||
required: | ||
- name | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters