Issue removing default Rbac roles created by namespace-role module. #722
-
Hello Team, namespace module We are following your example infrastructure-live implementation for our aws services/resource creation linked here. I would like to have remove default RBAC roles which has create permission in namespace module. I would like to define an input Example creation of Default RBAC Roles in k8s Namespace
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You are correct that includes: which references the k8s-namespace service: which not only creates the RBAC roles, but the namespace itself in: Propagating My recommendation is to either remove the On our end, I've filed a ticket in gruntwork-io/terraform-kubernetes-namespace#28 for us to consider separate control of the namespace and the namespace roles. |
Beta Was this translation helpful? Give feedback.
You are correct that
create_resources
is not threaded all the way through to the service catalog. However, doing so may not have the intended effect that you want. To recap:https://github.com/gruntwork-io/terraform-aws-service-catalog/blob/master/examples/for-production/infrastructure-live/dev/us-west-2/dev/services/eks-applications-namespace/terragrunt.hcl#L10
includes:
https://github.com/gruntwork-io/terraform-aws-service-catalog/blob/master/examples/for-production/infrastructure-live/_envcommon/services/eks-applications-namespace.hcl#L16
which references the k8s-namespace service:
https://github.com/gruntwork-io/terraform-aws-service-catalog/blob/master/modules/services/k8s-namespace/…