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
Description
Consider changing the default imagePullPolicy for project clone container to ifNotPresent:
devworkspace-operator/pkg/config/defaults.go
Line 39 in 5413a98
Additional context
When the imageRegistry for the project clone container is unavailable, this causes an error on workspace startup: