Skip to content

Commit

Permalink
docker: add deploy property to container data type
Browse files Browse the repository at this point in the history
  • Loading branch information
aszs committed Sep 29, 2024
1 parent 0013f99 commit 3fe0079
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion unfurl/configurators/templates/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class unfurl_datatypes_DockerContainer(OpenDataType):
] = None
network_mode: Union[str, None] = None
"""Use the same values as the docker client --network parameter ("bridge", "host", "none")"""

deploy: Union[Dict[str, Any], None] = None

class unfurl_nodes_Container_Application_Docker(tosca.nodes.Root):
_type_name = "unfurl.nodes.Container.Application.Docker"
Expand Down
3 changes: 3 additions & 0 deletions unfurl/configurators/templates/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ data_types:
description: Use the same values as the docker client --network parameter ("bridge", "host", "none")
type: string
required: false
deploy:
type: map
required: false

node_types:
unfurl.nodes.Container.Application.Docker:
Expand Down

0 comments on commit 3fe0079

Please sign in to comment.