v0.1.0
Description
This repo is a port of the Namespace modules from terraform-kubernetes-helm
. The following modules were ported over:
k8s-namespace
=>namespace
k8s-namespace-roles
=>namespace-roles
k8s-service-account
=>service-account
These are straight ports for the most part, with the following changes:
- The modules now work with terraform 0.13.x.
- Resource rename:
rbac_tiller_metadata_access_role
=>rbac_helm_metadata_access_role
- Resource rename:
rbac_tiller_resource_access_role
=>rbac_helm_resource_access_role
Migration guide
To migrate to this repo from terraform-kubernetes-helm
, do the following:
-
Change source references to point to this repo:
source = "git::https://github.com/gruntwork-io/terraform-kubernetes-helm.git//modules/k8s-namespace?ref=v0.6.1"
=>source = "git::https://github.com/gruntwork-io/terraform-kubernetes-namespace.git//modules/namespace?ref=v0.1.0"
source = "git::https://github.com/gruntwork-io/terraform-kubernetes-helm.git//modules/k8s-namespace-roles?ref=v0.6.1"
=>source = "git::https://github.com/gruntwork-io/terraform-kubernetes-namespace.git//modules/namespace-roles?ref=v0.1.0"
source = "git::https://github.com/gruntwork-io/terraform-kubernetes-helm.git//modules/k8s-service-account?ref=v0.6.1"
=>source = "git::https://github.com/gruntwork-io/terraform-kubernetes-namespace.git//modules/service-account?ref=v0.1.0"
-
Change any references to
rbac_tiller_metadata_access_role
andrbac_tiller_resource_access_role
torbac_helm_resource_access_role
andrbac_helm_resource_access_role
. -
Note that the RBAC roles for Tiller will be recreated under the new name. If you have any RBAC Role bindings that use the tiller based names, you will want to update all the role bindings to remove references to the Tiller roles first, before updating this module. Then, you can add back in the new roles after deploying the update.