service: Support udp port mappings
This commit is contained in:
@@ -113,6 +113,14 @@ argument_specs:
|
||||
description: Container port to publish
|
||||
type: int
|
||||
required: true
|
||||
protocol:
|
||||
description: Protocol of the port
|
||||
type: str
|
||||
required: false
|
||||
default: tcp
|
||||
choices:
|
||||
- tcp
|
||||
- udp
|
||||
type:
|
||||
description: Whether to publish as a port or socket
|
||||
type: str
|
||||
@@ -495,6 +503,14 @@ argument_specs:
|
||||
description: Container port to publish
|
||||
type: int
|
||||
required: true
|
||||
protocol:
|
||||
description: Protocol of the port
|
||||
type: str
|
||||
required: false
|
||||
default: tcp
|
||||
choices:
|
||||
- tcp
|
||||
- udp
|
||||
type:
|
||||
description: Whether to publish as a port or socket
|
||||
type: str
|
||||
|
||||
Reference in New Issue
Block a user