hex.k8s.namespaces ​
- Source: module
- Function count: 1
hex.k8s.namespaces.build ​
Copy Call Skeleton ​
nix
(hex.k8s.namespaces.build {
name = "build";
})Required Args ​
| Arg | Type | Notes |
|---|---|---|
name | unknown | - |
Optional Args ​
| Arg | Type | Default | Notes |
|---|---|---|---|
labels | attrset | { } | - |
annotations | attrset | { } | - |
enforce | null | null | Pod Security Standard level that rejects pods: privileged, baseline, or restricted |
warn | string | "restricted" | level reported back to kubectl as warnings |
audit | unknown | warn | level recorded in the API server audit log |
podSecurityVersion | null | null | pin the standard to a Kubernetes minor version like v1.33; null tracks latest |
defaultDeny | list | [ ] | policy types denied for every pod: [ "Ingress" ], [ "Egress" ], or both |
dns | attrset | { } | services.policies.egress.dns args kept open when Egress is denied; null blocks DNS too |
quota | attrset | { } | ResourceQuota spec.hard, e.g. |
limits | null | null | LimitRange Container entry: default, defaultRequest, max, min, maxLimitRequestRatio |