Open
Description
Report
Operator allows to specify default images via RELATED_IMAGE_POSTGRES_*
env variables, to not require users to define spec.image
by themselves.
When creating a new cluster operator tries to do Patroni version check which fails because cluster defined by the user uses default image instead :/
More about the problem
Expected behaviour is that if spec.image
is not defined it will try to use the default image if specified like all other components.
Instead creating/doing anything to the cluster fails
Steps to reproduce
- Configure operator with default images
- Try to create a cluster which utilizes default image (no
spec.image
) - Creating/managing cluster fails
Versions
- Kubernetes 1.24 (present on all versions)
- Operator 2.6.0+ (since patroni check was introduced)
- Database 15 (present on all versions)
Anything else?
No response