Since RKE templates are specifically shared with users and groups, owners can share different RKE templates with different sets of users.

When you share a template, each user can have one of two access levels:

  • Owner: This user can update, delete, and share the templates that they own. The owner can also share the template with other users.
  • User: These users can create clusters using the template. They can also upgrade those clusters to new revisions of the same template. When you share a template as Make Public (read-only), all users in your Rancher setup have the User access level for the template.

If you create a template, you automatically become an owner of that template.

There are several ways to share templates:

  • Add users to a new RKE template during template creation
  • Add users to an existing RKE template
  • Share template ownership with users who are trusted to modify the template

To allow users or groups to create clusters using your template, you can give them the basic User access level for the template.

  1. From the Global view, click Tools > RKE Templates.
  2. Go to the template that you want to share and click the ⋮ > Edit.
  3. In the Share Template section, click on Add Member.
  4. Search in the Name field for the user or group you want to share the template with.
  5. Choose the User access type.

Result: The user or group can create clusters using the template.

  1. From the Global view, click Tools > RKE Templates.
  2. Go to the template that you want to share and click the ⋮ > Edit.
  3. Under Share Template, click Make Public (read-only). Then click Save.

If you are the creator of a template, you might want to delegate responsibility for maintaining and updating a template to another user or group.

In that case, you can give users the Owner access type, which allows another user to update your template, delete it, or share access to it with other users.

To give Owner access to a user or group,

  1. From the Global view, click Tools > RKE Templates.
  2. Go to the RKE template that you want to share and click the ⋮ > Edit.
  3. Under Share Template, click on Add Member and search in the Name field for the user or group you want to share the template with.
  4. Click Save.