Skip to content

v0.1.0

Compare
Choose a tag to compare
@yorinasub17 yorinasub17 released this 15 Dec 17:26
· 22 commits to main since this release
1ce47c4

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 and rbac_tiller_resource_access_role to rbac_helm_resource_access_role and rbac_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.