You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rock/admin/proto/request.py
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,10 @@ class SandboxStartRequest(BaseModel):
27
27
"""The amount of CPUs to allocate for the container."""
28
28
sandbox_id: str|None=Field(default=None)
29
29
"""The id of the sandbox."""
30
+
registry_username: str|None=None
31
+
"""Username for Docker registry authentication. When both username and password are provided, docker login will be performed before pulling the image."""
32
+
registry_password: str|None=None
33
+
"""Password for Docker registry authentication. When both username and password are provided, docker login will be performed before pulling the image."""
Copy file name to clipboardExpand all lines: rock/deployments/config.py
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,12 @@ class DockerDeploymentConfig(DeploymentConfig):
109
109
actor_resource_num: float=1
110
110
"""Number of actor resources to allocate (to be refined)."""
111
111
112
+
registry_username: str|None=None
113
+
"""Username for Docker registry authentication. When both username and password are provided, docker login will be performed before pulling the image."""
114
+
115
+
registry_password: str|None=None
116
+
"""Password for Docker registry authentication. When both username and password are provided, docker login will be performed before pulling the image."""
0 commit comments