only the second module will be loaded and the first one is discarded because in YAML only the first occurrence is retained.
I thought about generating a custom config file in a init container and the include it, but the include keyword is forbidden.
Do you think I can try some workaround?
Can I contribute to the operator with a patch to address this issue? How could be changed the config management in a way to support this kind of configuration? I was thinking to add a specific module section, what do you think about?
As of now the config is implemented as a map[string]string and limitations comes from uniqueness of keys. #1 will change it to a free form format allowing to leverage redis.conf as is and remove this limitation.
From https://github.com/amaizfinance/redis-operator/issues/34:
As stated in the title I need to add in the config of Redis two loadmodule directives.\ If I compile the yaml with a section like this
only the second module will be loaded and the first one is discarded because in YAML only the first occurrence is retained.
I thought about generating a custom config file in a init container and the include it, but the include keyword is forbidden.
Do you think I can try some workaround?
Can I contribute to the operator with a patch to address this issue? How could be changed the config management in a way to support this kind of configuration? I was thinking to add a specific module section, what do you think about?