Skip to content

Set the default imagePullPolicy for projectClone to ifNotPresent #1674

Description

@dkwon17

Description

Consider changing the default imagePullPolicy for project clone container to ifNotPresent:

ImagePullPolicy: "Always",

Additional context

When the imageRegistry for the project clone container is unavailable, this causes an error on workspace startup:

Failed to pull image "[registry.redhat.io/devworkspace/devworkspace-project-clone-rhel9@sha256:c3c279ce6e0c85f983ec5ece1b9c9e5a7773dd25611f0c15fe2849ce0666deb6](http://registry.redhat.io/devworkspace/devworkspace-project-clone-rhel9@sha256:c3c279ce6e0c85f983ec5ece1b9c9e5a7773dd25611f0c15fe2849ce0666deb6)": unable to pull image or OCI artifact: pull image err: initializing source docker://registry.redhat.io/devworkspace/devworkspace-project-clone-rhel9@sha256:c3c279ce6e0c85f983ec5ece1b9c9e5a7773dd25611f0c15fe2849ce0666deb6: Requesting bearer token: received unexpected HTTP status: 503 Service Unavailable; artifact err: get manifest: build image source: Requesting bearer token: received unexpected HTTP status: 503 Service Unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions