Skip to content

hex.k8s.namespaces ​

  • Source: module
  • Function count: 1

hex.k8s.namespaces.build ​

Copy Call Skeleton ​

nix
(hex.k8s.namespaces.build {
  name = "build";
})

Required Args ​

ArgTypeNotes
nameunknown-

Optional Args ​

ArgTypeDefaultNotes
labelsattrset{ }-
annotationsattrset{ }-
enforcenullnullPod Security Standard level that rejects pods: privileged, baseline, or restricted
warnstring"restricted"level reported back to kubectl as warnings
auditunknownwarnlevel recorded in the API server audit log
podSecurityVersionnullnullpin the standard to a Kubernetes minor version like v1.33; null tracks latest
defaultDenylist[ ]policy types denied for every pod: [ "Ingress" ], [ "Egress" ], or both
dnsattrset{ }services.policies.egress.dns args kept open when Egress is denied; null blocks DNS too
quotaattrset{ }ResourceQuota spec.hard, e.g.
limitsnullnullLimitRange Container entry: default, defaultRequest, max, min, maxLimitRequestRatio

Back to Helper Index