Skip to content
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

[RFE] Global Role inheritedClusterRoles #1341

Open
danquack opened this issue Apr 26, 2024 · 1 comment · May be fixed by #1342
Open

[RFE] Global Role inheritedClusterRoles #1341

danquack opened this issue Apr 26, 2024 · 1 comment · May be fixed by #1342

Comments

@danquack
Copy link

Is your feature request related to a problem? Please describe.

Add the ability to add inherited role to the global resource. Use case can be described in the suse blog

Describe the solution you'd like

Add a new resource field to the schema for inherited_cluster_roles.

resource "rancher2_global_role" "foo" {
  name             = "foo"
  new_user_default = true
  description      = "Terraform global role acceptance test"
  
  inherited_cluster_roles = ["projects-view"]

  rules {
    api_groups = ["*"]
    resources = ["secrets"]
    verbs = ["create"]
  }
}

Additional context

@danquack
Copy link
Author

This was added in #1242 but missing in the documentation. So this should just be a documentation PR.

@danquack danquack linked a pull request Apr 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant