- Remove KCL ecosystem (~220 files deleted) - Migrate all infrastructure to Nickel schema system - Consolidate documentation: legacy docs → provisioning/docs/src/ - Add CI/CD workflows (.github/) and Rust build config (.cargo/) - Update core system for Nickel schema parsing - Update README.md and CHANGES.md for v5.0.0 release - Fix pre-commit hooks: end-of-file, trailing-whitespace - Breaking changes: KCL workspaces require migration - Migration bridge available in docs/src/development/
26 lines
759 B
Plaintext
26 lines
759 B
Plaintext
# Kubernetes Namespace with Resource Quotas and Network Policies
|
|
# Supports 4 deployment modes: solo, multiuser, cicd, enterprise
|
|
# Includes RBAC setup, resource limits, and network isolation
|
|
#
|
|
# Usage:
|
|
# nickel eval --format json namespace.yaml.ncl | yq -P > namespace.yaml
|
|
# kubectl apply -f namespace.yaml
|
|
|
|
{
|
|
apiVersion = "v1",
|
|
kind = "Namespace",
|
|
metadata = {
|
|
name = "provisioning",
|
|
labels = {
|
|
name = "provisioning",
|
|
component = "provisioning-platform",
|
|
"pod-security.kubernetes.io/enforce" = "baseline",
|
|
"pod-security.kubernetes.io/audit" = "baseline",
|
|
"pod-security.kubernetes.io/warn" = "baseline",
|
|
},
|
|
annotations = {
|
|
description = "Provisioning platform services namespace",
|
|
},
|
|
},
|
|
}
|