What if this is deployed by people who have a policy to only use images mirrored to an internal repository, but they don't want to manually specify an image tag? Maybe a later patch could make this configurable.
Right now, if a user creates a CassandraCluster without specifying an Image, we pull the image from from docker.io/cassandra:.
Some possible solutions:
Add a command line flag to the Navigator controller specifying a different default registry and image name.
Allow the user to supply only CassandraCluster.ImageSpec.Repository. The tag and pullPolicy would be optional.
Add a defaulting mechanism which fills in Cassandra.ImageSpec.Repository if one hasn't been supplied. (maybe?)
In https://github.com/jetstack/navigator/pull/244#discussion_r170935749 @kragniz commented:
Right now, if a user creates a CassandraCluster without specifying an Image, we pull the image from from docker.io/cassandra:.
Some possible solutions:
CassandraCluster.ImageSpec.Repository
. The tag and pullPolicy would be optional.Cassandra.ImageSpec.Repository
if one hasn't been supplied. (maybe?)/feature