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
Here's what I get when I try to create a trusted cluster twice:
$ sudo tctl create -f /var/lib/teleport/trusted-cluster.yaml
A fatal error occurred: trusted cluster is already enabled
In this case --force is basically the same as "update". The reason this flag is so important is because it allows you to create deployment scripts that run multiple times i.e. you want to ignore "already exists" situations without having to inject conditionals like "if it exists do not do that".
If it's enabled and a user wants to enable it -> just let it remain enabled. No need to bark with fatal errors.
The text was updated successfully, but these errors were encountered:
Here's what I get when I try to create a trusted cluster twice:
In this case
--force
is basically the same as "update". The reason this flag is so important is because it allows you to create deployment scripts that run multiple times i.e. you want to ignore "already exists" situations without having to inject conditionals like "if it exists do not do that".If it's enabled and a user wants to enable it -> just let it remain enabled. No need to bark with fatal errors.
The text was updated successfully, but these errors were encountered: