ContainerImage¶
- pydantic model controller.config.ContainerImage¶
Docker image that may be run as a container.
The structure of this model should follow the normal Helm chart conventions so that Mend Renovate can detect that this is a Docker image reference and create pull requests to update it automatically.
- Parameters:
data (
Any
)
Show JSON schema
{ "title": "ContainerImage", "description": "Docker image that may be run as a container.\n\nThe structure of this model should follow the normal Helm chart\nconventions so that `Mend Renovate`_ can detect that this is a Docker\nimage reference and create pull requests to update it automatically.", "type": "object", "properties": { "repository": { "description": "Docker repository from which to pull the image", "examples": [ "docker.io/lsstit/ddsnet4u" ], "title": "Repository", "type": "string" }, "pullPolicy": { "$ref": "#/$defs/PullPolicy", "default": "IfNotPresent", "description": "Kubernetes image pull policy. Set to ``Always`` when testing images that reuse the same tag.", "examples": [ "Always" ], "title": "Pull policy" }, "tag": { "description": "Tag of image to use (conventionally the version)", "examples": [ "1.4.2" ], "title": "Image tag", "type": "string" } }, "$defs": { "PullPolicy": { "description": "Pull policy for Docker images in Kubernetes.", "enum": [ "Always", "IfNotPresent", "Never" ], "title": "PullPolicy", "type": "string" } }, "additionalProperties": false, "required": [ "repository", "tag" ] }
-
field pullPolicy: Annotated[PullPolicy, Field(title='Pull policy', description='Kubernetes image pull policy. Set to
Always
when testing images that reuse the same tag.', examples=[PullPolicy.ALWAYS])] = PullPolicy.IF_NOT_PRESENT (name 'pull_policy')¶ Kubernetes image pull policy. Set to
Always
when testing images that reuse the same tag.
- field repository: Annotated[str, Field(title='Repository', description='Docker repository from which to pull the image', examples=['docker.io/lsstit/ddsnet4u'])] [Required]¶
Docker repository from which to pull the image
- field tag: Annotated[str, Field(title='Image tag', description='Tag of image to use (conventionally the version)', examples=['1.4.2'])] [Required]¶
Tag of image to use (conventionally the version)