Terraform Module Kubernetes Namespace for Platform Teams - quota, LimitRange, default-deny NetworkPolicy, Pod Security Admission & namespaced RBAC

Creates one hardened multi-tenant Kubernetes namespace: Pod Security Admission labels, default-deny NetworkPolicy plus named exceptions, ResourceQuota, LimitRange, a…

How it works
  1. Read below what is included.
  2. Open the parts you need directly on this page.
  3. A question? Use the question box at the bottom of the page.

Creates one hardened multi-tenant Kubernetes namespace: Pod Security Admission labels, default-deny NetworkPolicy plus named exceptions, ResourceQuota, LimitRange, a non-automounting ServiceAccount, an optional registry Secret passed as a sensitive variable, and namespaced Roles/RoleBindings.

Inputs

Use

module "x" {
  source = "./terraform-module-kubernetes-namespace"
}

Get the complete version $3

This page is the working piece. The full pack has everything below.

One terraform apply = 7 hardened objects per tenant namespace. 12 resource blocks, 29 inputs (7 with validation), 13 outputs, 6 copy-paste examples - and none of them default to open network

A rival module on this exact shelf sells at $3 today (measured on the shelf we are entering). No hourly-rate or consultant comparison is quoted here because we have not measured one.

Send it to me

Need more than this one? ReadyStack Pass opens all 679 files and 561 full versions — $29/month or $199/year. See the Pass →

ENDEJAESPT

Find a tool

Email me this result
A copy of what you see above, in your inbox — the tool stays free, nothing here is locked.

Questions and answers

What does this page do?

Creates one hardened multi-tenant Kubernetes namespace: Pod Security Admission labels, default-deny NetworkPolicy plus named exceptions, ResourceQuota, LimitRange, a non-automounting ServiceAccount, an optional registry Secret passed as a sensitive variable, and namespaced Roles/RoleBindings.

Is it free?

The preview on this page is free.

How do I use it?

1. Read below what is included. 2. Open the parts you need directly on this page. 3. A question? Use the question box at the bottom of the page.

Ask about this tool

One question, answered by the person who built it. Your email only if you want the answer sent.

Privacy: your e-mail is used only to send you the answer. A question appears on this page only after it is answered, without your e-mail.

For a team or company: for an invoice with your company details, a quote or several licences, write to [email protected].

Who is behind this page

ReadyStack is a small team. We build each tool for one job people keep asking about, from the rules and sources named on the page, and we run it on the worked example you see here before it goes live.

How we check our pages: each rule names its source and the day we read it.

Something looks wrong, or you are stuck? Write to [email protected] or use the contact form. It goes to our own inbox, not to a bot.

About ReadyStack