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": {
         "allOf": [
            {
               "$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"
   ]
}

Fields:
field pullPolicy: PullPolicy = PullPolicy.IF_NOT_PRESENT (name 'pull_policy')#

Kubernetes image pull policy. Set to Always when testing images that reuse the same tag.

field repository: str [Required]#

Docker repository from which to pull the image

field tag: str [Required]#

Tag of image to use (conventionally the version)