parameter devfileRegistryPullPolicy is not handled #18847
Labels
area/che-operator
Issues and PRs related to Eclipse Che Kubernetes Operator
good first issue
Community, this issue looks easy to start with for a new contributor. Just take it. We'll help you!
kind/bug
Outline of a bug - must adhere to the bug report template.
level/beginner
A relatively easy issue that's well suited to being addressed by a pull request from the community.
severity/P1
Has a major impact to usage or development of the system.
Milestone
Describe the bug
Experimenting happy path on devfile registry, I tried to change the devfile registry policy to
IfNotPresent
instead of defaultAlways
but it was always resulting in error:Che version
Steps to reproduce
Use a custom resource specServer and use devfileRegistryPullPolicy = 'IfNotPresent'
We see that is related to a probably copy/paste error https://github.com/eclipse/che-operator/blob/482155b7e23a767e2906f0734727a9d23bd65256/pkg/deploy/devfile-registry/deployment.go#L24
as it's referencing
PluginRegistryPullPolicy
instead ofDevfileRegistryPullPolicy
Expected behavior
Policy being handle as specified
Runtime
kubectl version
)oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screenshots
Installation method
chectl version
commandEnvironment
Eclipse Che Logs
Additional context
https://github.com/eclipse/che-operator/blob/482155b7e23a767e2906f0734727a9d23bd65256/pkg/deploy/devfile-registry/deployment.go#L24
The text was updated successfully, but these errors were encountered: