-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add leafnode sys bridge example #49
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Byron Ruth <[email protected]>
Signed-off-by: Byron Ruth <[email protected]>
@matthiashanel One follow-up question is that the single |
Just thought of something else.. this is a multi-operator setup, but if the leaf nodes use the same operator, could we instead create separate system accounts per leaf node? (Maybe that was the original, correct idea in the first place). |
Nope, that doesn't work. When trying to use a different account in a leaf..
|
What did work is this kind of config for a leaf in non-operator mode, which makes sense since its a separate auth model for the leaf.
|
nsc add user \ | ||
--account OPS ops |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this using the signing key?
# ### Leaf nodes | ||
# Create the operators and system accounts for the leaf nodes. | ||
# No additional accounts or users are required for this example. | ||
nsc add operator \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if it helps this example if there is another operator.
Most users have one.
I wonder if for separate operators, ngs could serve as a showcase?
It could work if you clear the system_account from the operator jwt. |
@jnmoyne I believe this is what Kevin asked for.. hub user that can bridge the system account in leaf nodes. Here is the output. If you scroll to the bottom the
nats server list
reports the leaf nodes.