44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
|
|
// Settings Schema Reference
|
||
|
|
// This file will reference the existing settings implementation
|
||
|
|
|
||
|
|
// Current Implementation: /Users/Akasha/repo-cnz/src/provisioning/kcl/settings.k
|
||
|
|
// This is a placeholder that will be populated during the migration phase
|
||
|
|
|
||
|
|
// The settings schema defines system-wide configuration including:
|
||
|
|
// - Environment settings
|
||
|
|
// - Feature flags
|
||
|
|
// - Performance tuning
|
||
|
|
// - Security configuration
|
||
|
|
|
||
|
|
// Example structure (to be migrated from existing implementation):
|
||
|
|
/*
|
||
|
|
import kcl.lib as lib
|
||
|
|
|
||
|
|
schema Settings {
|
||
|
|
environment: str = "dev"
|
||
|
|
features: FeatureFlags
|
||
|
|
performance: PerformanceConfig
|
||
|
|
security: SecurityConfig
|
||
|
|
}
|
||
|
|
|
||
|
|
schema FeatureFlags {
|
||
|
|
orchestrator_enabled: bool = true
|
||
|
|
workflow_system: bool = true
|
||
|
|
batch_operations: bool = true
|
||
|
|
}
|
||
|
|
|
||
|
|
schema PerformanceConfig {
|
||
|
|
parallel_limit: int = 5
|
||
|
|
timeout_seconds: int = 300
|
||
|
|
retry_attempts: int = 3
|
||
|
|
}
|
||
|
|
|
||
|
|
schema SecurityConfig {
|
||
|
|
encryption_enabled: bool = true
|
||
|
|
sops_key_path: str
|
||
|
|
age_recipient: str
|
||
|
|
}
|
||
|
|
*/
|
||
|
|
|
||
|
|
// Migration Status: Reference created, implementation to follow
|
||
|
|
// See REFERENCE.md for current implementation location
|