inheritedClusterRoles is a new field in global roles. We should be able to set it using rancher terraform provider when creating/updating a global role resource.
Solution
A new attribute inherited_cluster_roles was added to the global role.
Testing
Check that inherited_cluster_roles attribute is correctly populated when a global role is created/updated.
Engineering Testing
Manual Testing
Used a local build of the rancher terraform provider against a local k8s cluster v1.27.4+k3s1 running rancher v2.8 HEAD (c7af81ec9c55b) to create and update a global role with inherited cluster roles.
Issue:
https://github.com/rancher/rancher/issues/42967
Problem
inheritedClusterRoles
is a new field in global roles. We should be able to set it using rancher terraform provider when creating/updating a global role resource.Solution
A new attribute
inherited_cluster_roles
was added to the global role.Testing
Check that
inherited_cluster_roles
attribute is correctly populated when a global role is created/updated.Engineering Testing
Manual Testing
Used a local build of the rancher terraform provider against a local k8s cluster v1.27.4+k3s1 running rancher v2.8 HEAD (c7af81ec9c55b) to create and update a global role with inherited cluster roles.
Automated Testing
Unit tests updated to cover the new attribute.
QA Testing Considerations
Regressions Considerations