Migrate config to cameleer.server.* naming convention
Move all configuration properties under the cameleer.server.* namespace with all-lowercase dot-separated names and mechanical env var mapping (dots→underscores, uppercase). This aligns with the agent's convention (cameleer.agent.*) and establishes a predictable pattern across all components. Changes: - Move 6 config prefixes under cameleer.server.*: agent-registry, ingestion, security, license, clickhouse, and cameleer.tenant/runtime/indexer - Rename all kebab-case properties to concatenated lowercase (e.g., bootstrap-token → bootstraptoken, jar-storage-path → jarstoragepath) - Update all env vars to CAMELEER_SERVER_* mechanical mapping - Fix container-cpu-request/container-cpu-shares mismatch bug - Remove displayName from AgentRegistrationRequest (redundant with instanceId) - Update agent container env vars to CAMELEER_AGENT_* convention - Update K8s manifests and CI workflow for new env var names - Update CLAUDE.md, HOWTO.md, SERVER-CAPABILITIES.md documentation Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -23,7 +23,7 @@ spec:
|
||||
ports:
|
||||
- containerPort: 8081
|
||||
env:
|
||||
- name: CAMELEER_TENANT_ID
|
||||
- name: CAMELEER_SERVER_TENANT_ID
|
||||
value: "default"
|
||||
- name: SPRING_DATASOURCE_USERNAME
|
||||
valueFrom:
|
||||
@@ -45,61 +45,45 @@ spec:
|
||||
secretKeyRef:
|
||||
name: postgres-credentials
|
||||
key: POSTGRES_PASSWORD
|
||||
- name: CAMELEER_AUTH_TOKEN
|
||||
- name: CAMELEER_SERVER_SECURITY_BOOTSTRAPTOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: cameleer-auth
|
||||
key: CAMELEER_AUTH_TOKEN
|
||||
- name: CAMELEER_UI_USER
|
||||
key: CAMELEER_SERVER_SECURITY_BOOTSTRAPTOKEN
|
||||
- name: CAMELEER_SERVER_SECURITY_UIUSER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: cameleer-auth
|
||||
key: CAMELEER_UI_USER
|
||||
key: CAMELEER_SERVER_SECURITY_UIUSER
|
||||
optional: true
|
||||
- name: CAMELEER_UI_PASSWORD
|
||||
- name: CAMELEER_SERVER_SECURITY_UIPASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: cameleer-auth
|
||||
key: CAMELEER_UI_PASSWORD
|
||||
key: CAMELEER_SERVER_SECURITY_UIPASSWORD
|
||||
optional: true
|
||||
- name: CAMELEER_UI_ORIGIN
|
||||
- name: CAMELEER_SERVER_SECURITY_UIORIGIN
|
||||
value: "http://localhost:5173"
|
||||
- name: CAMELEER_JWT_SECRET
|
||||
- name: CAMELEER_SERVER_SECURITY_JWTSECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: cameleer-auth
|
||||
key: CAMELEER_JWT_SECRET
|
||||
key: CAMELEER_SERVER_SECURITY_JWTSECRET
|
||||
optional: true
|
||||
- name: CLICKHOUSE_ENABLED
|
||||
- name: CAMELEER_SERVER_CLICKHOUSE_ENABLED
|
||||
value: "true"
|
||||
- name: CLICKHOUSE_URL
|
||||
- name: CAMELEER_SERVER_CLICKHOUSE_URL
|
||||
value: "jdbc:clickhouse://clickhouse.cameleer.svc.cluster.local:8123/cameleer"
|
||||
- name: CLICKHOUSE_USERNAME
|
||||
- name: CAMELEER_SERVER_CLICKHOUSE_USERNAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: clickhouse-credentials
|
||||
key: CLICKHOUSE_USER
|
||||
- name: CLICKHOUSE_PASSWORD
|
||||
- name: CAMELEER_SERVER_CLICKHOUSE_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: clickhouse-credentials
|
||||
key: CLICKHOUSE_PASSWORD
|
||||
- name: CAMELEER_STORAGE_METRICS
|
||||
value: "clickhouse"
|
||||
- name: CAMELEER_STORAGE_SEARCH
|
||||
value: "clickhouse"
|
||||
- name: CAMELEER_STORAGE_STATS
|
||||
value: "clickhouse"
|
||||
- name: CAMELEER_STORAGE_DIAGRAMS
|
||||
value: "clickhouse"
|
||||
- name: CAMELEER_STORAGE_EVENTS
|
||||
value: "clickhouse"
|
||||
- name: CAMELEER_STORAGE_LOGS
|
||||
value: "clickhouse"
|
||||
- name: CAMELEER_STORAGE_EXECUTIONS
|
||||
value: "clickhouse"
|
||||
- name: CAMELEER_TENANT_ID
|
||||
value: "default"
|
||||
|
||||
resources:
|
||||
requests:
|
||||
|
||||
Reference in New Issue
Block a user