2020-09-28 12:45:55 +00:00
|
|
|
# Image related
|
|
|
|
- variable: image.repository
|
|
|
|
description: "Docker image repository"
|
|
|
|
label: "Image repository"
|
|
|
|
group: "Container Images"
|
|
|
|
schema:
|
2020-09-28 15:57:07 +00:00
|
|
|
type: string
|
2020-09-28 12:45:55 +00:00
|
|
|
required: true
|
|
|
|
- variable: image.tag
|
|
|
|
description: "Tag to use for specified image"
|
|
|
|
label: "Image Tag"
|
|
|
|
group: "Container Images"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "latest"
|
|
|
|
- variable: image.pull_policy
|
|
|
|
description: "Docker Image Pull Policy"
|
|
|
|
label: "Image Pull Policy"
|
2020-09-28 14:13:58 +00:00
|
|
|
group: "Container Images"
|
2020-09-28 12:45:55 +00:00
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
default: "IfNotPresent"
|
|
|
|
enum:
|
|
|
|
- "IfNotPresent"
|
|
|
|
- "Always"
|
|
|
|
- "Never"
|
2020-09-28 14:13:58 +00:00
|
|
|
|
|
|
|
# Configurable CMD / Entrypoint / Environment Variables
|
|
|
|
- variable: container.command
|
|
|
|
description: "Commands to execute inside container overriding image CMD default"
|
|
|
|
label: "Container CMD"
|
|
|
|
group: "Container Entrypoint"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
items:
|
|
|
|
- variable: command
|
|
|
|
description: "Container Command"
|
|
|
|
label: "Command"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: container.args
|
|
|
|
description: "Specify arguments for container command"
|
|
|
|
label: "Container Args"
|
|
|
|
group: "Container Entrypoint"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
items:
|
|
|
|
- variable: arg
|
|
|
|
description: "Container Arg"
|
|
|
|
label: "Arg"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
- variable: container.environment_variables
|
|
|
|
description: "Container Environment Variables"
|
|
|
|
label: "Container Environment Variables"
|
|
|
|
group: "Container Entrypoint"
|
|
|
|
schema:
|
|
|
|
type: list
|
|
|
|
items:
|
|
|
|
- variable: environment_variable
|
|
|
|
description: "Container Environment Variable"
|
|
|
|
label: "Container Environment Variable"
|
|
|
|
schema:
|
|
|
|
type: dict
|
|
|
|
attrs:
|
|
|
|
- variable: name
|
|
|
|
description: "Environment Variable Name"
|
|
|
|
label: "Environment Variable Name"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
required: true
|
|
|
|
- variable: value
|
|
|
|
description: "Environment Variable Value"
|
|
|
|
label: "Environment Variable Value"
|
|
|
|
schema:
|
|
|
|
type: string
|
|
|
|
required: true
|