Repository navigation
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 |
Replies: 4 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 |
|
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. |
|
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. |
|
Is this the recommended way to automatically seed service accounts on prod environments? |
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