Panfactum LogoPanfactum
Infrastructure ModulesKuberneteskube_namespace

Kubernetes Namespace

kube_namespace
Stable
Submodule
Source Code Link

Sets up a Kubernetes namespace and grants namespace-scoped permissions to specific Kubernetes user groups.

Providers

The following providers are needed by this module:

Required Inputs

The following input variables are required:

namespace

Description: The name of the kubernetes namespace to instantiate.

Type: string

Optional Inputs

The following input variables are optional (have default values):

admin_groups

Description: The names of the kubernetes groups to give admin access to the namespace.

Type: list(string)

Default:

[
  "system:admins"
]

bot_reader_groups

Description: The names of the kubernetes groups to give elevated read access to the namespace.

Type: list(string)

Default:

[
  "system:bot-readers"
]

linkerd_inject

Description: Whether to inject linkerd sidecars into pods in this namespace.

Type: bool

Default: true

loadbalancer_enabled

Description: Whether the namespace is going to create LoadBalancer services

Type: bool

Default: false

reader_groups

Description: The names of the kubernetes groups to give read access to the namespace.

Type: list(string)

Default:

[
  "system:readers"
]

Outputs

The following outputs are exported:

namespace

Description: n/a

Usage

No notes