[go: up one dir, main page]

Skip to content

Ability to configure the imagePullPolicy of the init container image (alpine/git) of the workspace pod

Proposal

The imagePullPolicy of the init container image (alpine/git) of workspace deployment is set to Always. This issue is asking for the ability to make this configurable so users can change it to other policies like IfNotPresent.

For example, under the remote_development section of the agent configuration, we have image_pull_secrets. We can add another setting to set the imagePullPolicy, eg. image_pull_policy.

Example:

remote_development:
  image_pull_secrets:
    - name: "image-pull-secret-name"
      namespace: "image-pull-secret-namespace"
  image_pull_policy: IfNotPresent