Documentation ¶
Overview ¶
Package images is intended to support deploying the operator on restricted networks. It contains utilities for translating images referenced by environment variables to regular image references, allowing images that are defined by a tag to be replaced by digests automatically. This allows all images used by the controller to be defined as environment variables on the controller deployment.
All images defined must be referenced by an environment variable of the form RELATED_IMAGE_<name>. Functions in this package can be called to replace references to ${RELATED_IMAGE_<name>} with the corresponding environment variable.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAsyncStorageServerImage ¶ added in v0.2.0
func GetAsyncStorageServerImage() string
func GetAsyncStorageSidecarImage ¶ added in v0.2.0
func GetAsyncStorageSidecarImage() string
func GetKubeRBACProxyImage ¶ added in v0.8.0
func GetKubeRBACProxyImage() string
GetKubeRBACProxyImage returns the image reference for the kube RBAC proxy. Returns the empty string if environment variable RELATED_IMAGE_kube_rbac_proxy is not defined
func GetPVCCleanupJobImage ¶
func GetPVCCleanupJobImage() string
GetPVCCleanupJobImage returns the image reference for the PVC cleanup job used to clean workspace files from the common PVC in a namespace.
func GetProjectCloneImage ¶ added in v0.20.0
func GetProjectCloneImage() string
func GetWebhookServerImage ¶
func GetWebhookServerImage() string
GetWebhookServerImage returns the image reference for the webhook server image. Returns the empty string if environment variable RELATED_IMAGE_devworkspace_webhook_server is not defined
Types ¶
This section is empty.