We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3e18953 + 12ed26f commit f8e04eeCopy full SHA for f8e04ee
assemblyline/odm/models/service_delta.py
@@ -16,7 +16,7 @@ class DockerConfigDelta(odm.Model):
16
image = odm.Optional(odm.Keyword()) # The docker image and tag, optionally including registry in the normal way
17
registry_username = odm.Optional(odm.Keyword()) # The username to use when pulling the image
18
registry_password = odm.Optional(odm.Keyword()) # The password or token to use when pulling the image
19
- registry_type = odm.Enum(values=["docker", "harbor"], default='docker') # The type of registry (Docker, Harbor)
+ registry_type = odm.Optional(odm.Enum(values=["docker", "harbor"])) # The type of registry (Docker, Harbor)
20
ports = odm.Optional(odm.List(odm.Keyword()))
21
ram_mb = odm.Optional(odm.Integer())
22
ram_mb_min = odm.Optional(odm.Integer())
0 commit comments