Terraform-provider-kubernetes: Feature request: {Cluster,""}RoleBinding/{Cluster,""}Role support

Created on 17 Jul 2017  路  6Comments  路  Source: hashicorp/terraform-provider-kubernetes

It'd be great if we could create ClusterRole, ClusterRoleBinding, Role & RoleBinding resources in a Kubernetes API server.

This is especially so, since Kubernetes only allows privileged users of a Kubernetes cluster create the Cluster* variants of these, making them ideal to be created by something like Terraform.

kubernete1.8

Most helpful comment

RBAC is GA in v1.8. Any word on when this will be supported? http://blog.kubernetes.io/2017/10/using-rbac-generally-available-18.html

All 6 comments

Hi @munnerz
the mentioned resources are currently in v1beta phase: https://kubernetes.io/docs/resources-reference/v1.6/#clusterrole-v1beta1-rbac

As mentioned in the Readme, for reasons discussed in https://github.com/terraform-providers/terraform-provider-kubernetes/pull/1#issuecomment-307940033 there are currently no plans on supporting any API that's marked as alpha, beta or generally anything that's not stable/v1.

This may change in the future as we explore ways of dealing with breaking changes on the API's side and reducing the impact on the user.

Thanks for understanding.

RBAC is GA in v1.8. Any word on when this will be supported? http://blog.kubernetes.io/2017/10/using-rbac-generally-available-18.html

Any ideas if ClusterRole will be on the roadmap?

The work appears to have been done https://github.com/terraform-providers/terraform-provider-kubernetes/pull/229 it's awaiting review

Fully supported in v1.5.1

Was this page helpful?
0 / 5 - 0 ratings