You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above definition will create a cluster named redis.
While it's possible to use mustache templates to name a section I don't particulary like that approach as it hurts readability in my opinion.
I would like to propose to support ClusterName attribute which would allow to set cluster name, For compatibility it will fallback to using section name. After that change the template will look like this:
Right now when using
RedisNode
component to create Redis instance cluster name is set to the name of the resource section where component is declared:The above definition will create a cluster named
redis
.While it's possible to use mustache templates to name a section I don't particulary like that approach as it hurts readability in my opinion.
I would like to propose to support
ClusterName
attribute which would allow to set cluster name, For compatibility it will fallback to using section name. After that change the template will look like this:I will provide a PR for this ticket shortly.
The text was updated successfully, but these errors were encountered: