provisioning/schemas/platform/configs/extension-registry.multiuser.ncl
Jesús Pérez 44648e3206
chore: complete nickel migration and consolidate legacy configs
- 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/
2026-01-08 09:55:37 +00:00

63 lines
1.7 KiB
Plaintext

# Extension Registry - Multiuser Mode
# Shared team environment with multiple sources and registries
let registry_schema = import "../schemas/extension-registry.ncl" in
{
extension_registry | registry_schema.RegistryConfig = {
server = {
host = "0.0.0.0",
port = 8081,
workers = 4,
enable_cors = true,
enable_compression = true,
},
sources = {
# Team Gitea instance
gitea = [
{
id = "team-gitea",
url = "http://gitea.provisioning.local:3000",
organization = "provisioning-team",
token_path = "/etc/secrets/gitea-team-token.txt",
timeout_seconds = 30,
verify_ssl = false,
},
],
# GitHub for open-source integrations
github = [
{
id = "team-github",
organization = "company-provisioning-team",
token_path = "/etc/secrets/github-team-token.txt",
timeout_seconds = 30,
verify_ssl = true,
},
],
},
distributions = {
# Local OCI registry for shared team use
oci = [
{
id = "team-registry",
registry = "registry.provisioning.local:5000",
namespace = "provisioning-team",
timeout_seconds = 30,
verify_ssl = false,
},
{
id = "backup-registry",
registry = "backup-registry.provisioning.local:5000",
namespace = "provisioning-team",
timeout_seconds = 30,
verify_ssl = false,
},
],
},
cache = {
capacity = 1000,
ttl_seconds = 300,
enable_metadata_cache = true,
enable_list_cache = true,
},
},
}