just an idea, not sure if that would work:
currently we store the credentials just in the MariaDBConsumer object. But this object is not known by any other k8s objects (like I cannot mount a variable from MariaDBConsumer into a pod as environment variable).
So I could imagine that in the MariaDBConsumer you can define a secret and mabye also the keys that should be used to store the credentials in, this then can be mounted by a pod. So we don't have to copy paste credentials around.
just an idea, not sure if that would work:
currently we store the credentials just in the MariaDBConsumer object. But this object is not known by any other k8s objects (like I cannot mount a variable from MariaDBConsumer into a pod as environment variable).
So I could imagine that in the MariaDBConsumer you can define a secret and mabye also the keys that should be used to store the credentials in, this then can be mounted by a pod. So we don't have to copy paste credentials around.