- 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/
51 lines
1008 B
Plaintext
51 lines
1008 B
Plaintext
# Control Center Kubernetes Service
|
|
# Exposes Control Center API and UI
|
|
#
|
|
# Usage:
|
|
# nickel eval --format json control-center-service.yaml.ncl | yq -P > control-center-service.yaml
|
|
# kubectl apply -f control-center-service.yaml
|
|
|
|
{
|
|
apiVersion = "v1",
|
|
kind = "Service",
|
|
metadata = {
|
|
name = "control-center",
|
|
labels = {
|
|
app = "control-center",
|
|
component = "provisioning-platform",
|
|
},
|
|
annotations = {
|
|
"description" = "Control Center service for policy and RBAC management",
|
|
},
|
|
},
|
|
spec = {
|
|
type = "ClusterIP",
|
|
|
|
sessionAffinity = "ClientIP",
|
|
sessionAffinityConfig = {
|
|
clientIP = {
|
|
timeoutSeconds = 10800,
|
|
},
|
|
},
|
|
|
|
selector = {
|
|
app = "control-center",
|
|
},
|
|
|
|
ports = [
|
|
{
|
|
name = "http",
|
|
protocol = "TCP",
|
|
port = 8080,
|
|
targetPort = 8080,
|
|
},
|
|
{
|
|
name = "metrics",
|
|
protocol = "TCP",
|
|
port = 8081,
|
|
targetPort = 8081,
|
|
},
|
|
],
|
|
},
|
|
}
|