definitions.json that holds a username and password for rabbit cannot be templated / used with a secret #1801
-
Is your feature request related to a problem? Please describe. Describe the solution you'd like Describe alternatives you've considered
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
@Zerpet is much more familiar with this project than I am. My guess is that this project assumes it's your responsibility to pre-generate |
Beta Was this translation helpful? Give feedback.
-
Why is it important for the imported user to be the "default user"? If you import user(s) from the definitions file, they will work just fine. There's just one additional user, with a very hard to guess username and password, which gets created by the Operator. You can just not use this user and ignore its existence completely. |
Beta Was this translation helpful? Give feedback.
-
The issue is about the fact that it's not possible to declare a user in the definitions.json with a password that is templated or declared in a k8s secret. |
Beta Was this translation helpful? Give feedback.
Thanks Luke, I didn't know it was already supported! I've put together an example which takes advantage of this feature to split the definitions into a Secret with user(s) definition(s) and a ConfigMap with everything else:
#1802
I hope this solves your problem @yitzhaktal