Some checks failed
Build / Code Quality Checks (push) Successful in 15m11s
Build / Build & Push Docker Images (worker) (push) Successful in 13m44s
Build / Build & Push Docker Images (frontend) (push) Successful in 5m8s
Build / Build & Push Docker Images (chat) (push) Failing after 30m7s
Build / Build & Push Docker Images (api) (push) Failing after 21m39s
266 lines
5.1 KiB
YAML
266 lines
5.1 KiB
YAML
# Default values for datacenter-docs
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
global:
|
|
imagePullPolicy: IfNotPresent
|
|
storageClass: ""
|
|
|
|
# MongoDB configuration
|
|
mongodb:
|
|
enabled: true
|
|
image:
|
|
repository: mongo
|
|
tag: "7"
|
|
pullPolicy: IfNotPresent
|
|
service:
|
|
type: ClusterIP
|
|
port: 27017
|
|
auth:
|
|
enabled: true
|
|
rootUsername: admin
|
|
rootPassword: admin123
|
|
database: datacenter_docs
|
|
persistence:
|
|
enabled: true
|
|
size: 10Gi
|
|
storageClass: ""
|
|
resources:
|
|
requests:
|
|
memory: "512Mi"
|
|
cpu: "250m"
|
|
limits:
|
|
memory: "2Gi"
|
|
cpu: "1000m"
|
|
|
|
# Redis configuration
|
|
redis:
|
|
enabled: true
|
|
image:
|
|
repository: redis
|
|
tag: "7-alpine"
|
|
pullPolicy: IfNotPresent
|
|
service:
|
|
type: ClusterIP
|
|
port: 6379
|
|
resources:
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "512Mi"
|
|
cpu: "500m"
|
|
|
|
# API service configuration
|
|
api:
|
|
enabled: true
|
|
replicaCount: 2
|
|
image:
|
|
repository: datacenter-docs-api
|
|
tag: "latest"
|
|
pullPolicy: Always
|
|
service:
|
|
type: ClusterIP
|
|
port: 8000
|
|
targetPort: 8000
|
|
resources:
|
|
requests:
|
|
memory: "512Mi"
|
|
cpu: "250m"
|
|
limits:
|
|
memory: "2Gi"
|
|
cpu: "1000m"
|
|
autoscaling:
|
|
enabled: true
|
|
minReplicas: 2
|
|
maxReplicas: 10
|
|
targetCPUUtilizationPercentage: 80
|
|
targetMemoryUtilizationPercentage: 80
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 8000
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 10
|
|
timeoutSeconds: 5
|
|
failureThreshold: 3
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 8000
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 5
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
|
|
# Chat service configuration
|
|
chat:
|
|
enabled: false # Not yet implemented
|
|
replicaCount: 1
|
|
image:
|
|
repository: datacenter-docs-chat
|
|
tag: "latest"
|
|
pullPolicy: Always
|
|
service:
|
|
type: ClusterIP
|
|
port: 8001
|
|
targetPort: 8001
|
|
resources:
|
|
requests:
|
|
memory: "256Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "1Gi"
|
|
cpu: "500m"
|
|
|
|
# Worker service configuration
|
|
worker:
|
|
enabled: false # Not yet implemented
|
|
replicaCount: 3
|
|
image:
|
|
repository: datacenter-docs-worker
|
|
tag: "latest"
|
|
pullPolicy: Always
|
|
resources:
|
|
requests:
|
|
memory: "512Mi"
|
|
cpu: "250m"
|
|
limits:
|
|
memory: "2Gi"
|
|
cpu: "1000m"
|
|
autoscaling:
|
|
enabled: true
|
|
minReplicas: 1
|
|
maxReplicas: 10
|
|
targetCPUUtilizationPercentage: 80
|
|
|
|
# Frontend service configuration
|
|
frontend:
|
|
enabled: true
|
|
replicaCount: 2
|
|
image:
|
|
repository: datacenter-docs-frontend
|
|
tag: "latest"
|
|
pullPolicy: Always
|
|
service:
|
|
type: ClusterIP
|
|
port: 80
|
|
targetPort: 80
|
|
resources:
|
|
requests:
|
|
memory: "128Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "256Mi"
|
|
cpu: "200m"
|
|
|
|
# Ingress configuration
|
|
ingress:
|
|
enabled: true
|
|
className: "nginx"
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "50m"
|
|
hosts:
|
|
- host: datacenter-docs.example.com
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
service: frontend
|
|
- path: /api
|
|
pathType: Prefix
|
|
service: api
|
|
- path: /ws
|
|
pathType: Prefix
|
|
service: chat
|
|
tls:
|
|
- secretName: datacenter-docs-tls
|
|
hosts:
|
|
- datacenter-docs.example.com
|
|
|
|
# Application configuration
|
|
config:
|
|
# MongoDB connection
|
|
mongodbUrl: "mongodb://admin:admin123@{{ include \"datacenter-docs.mongodb.fullname\" . }}:27017/datacenter_docs?authSource=admin"
|
|
|
|
# Redis connection
|
|
redisUrl: "redis://{{ include \"datacenter-docs.redis.fullname\" . }}:6379/0"
|
|
|
|
# LLM Provider configuration
|
|
llm:
|
|
baseUrl: "https://api.openai.com/v1"
|
|
model: "gpt-4-turbo-preview"
|
|
maxTokens: 4096
|
|
temperature: 0.7
|
|
|
|
# MCP configuration
|
|
mcp:
|
|
baseUrl: "http://mcp-server:8080"
|
|
timeout: 30
|
|
|
|
# Auto-remediation configuration
|
|
autoRemediation:
|
|
enabled: true
|
|
minReliabilityScore: 85.0
|
|
requireApprovalThreshold: 90.0
|
|
maxActionsPerHour: 100
|
|
dryRun: false
|
|
|
|
# Security
|
|
apiKeyEnabled: true
|
|
corsOrigins:
|
|
- "http://localhost:3000"
|
|
- "https://datacenter-docs.example.com"
|
|
|
|
# Logging
|
|
logLevel: "INFO"
|
|
logFormat: "json"
|
|
|
|
# Secrets (should be overridden in production)
|
|
secrets:
|
|
# LLM API Key
|
|
llmApiKey: "sk-your-openai-api-key-here"
|
|
|
|
# API authentication
|
|
apiSecretKey: "your-secret-key-here-change-in-production"
|
|
|
|
# MongoDB credentials (override mongodb.auth if using external DB)
|
|
mongodbUsername: "admin"
|
|
mongodbPassword: "admin123"
|
|
|
|
# ServiceAccount configuration
|
|
serviceAccount:
|
|
create: true
|
|
annotations: {}
|
|
name: ""
|
|
|
|
# Pod annotations
|
|
podAnnotations: {}
|
|
|
|
# Pod security context
|
|
podSecurityContext:
|
|
fsGroup: 1000
|
|
runAsNonRoot: true
|
|
runAsUser: 1000
|
|
|
|
# Container security context
|
|
securityContext:
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
readOnlyRootFilesystem: false
|
|
|
|
# Node selector
|
|
nodeSelector: {}
|
|
|
|
# Tolerations
|
|
tolerations: []
|
|
|
|
# Affinity rules
|
|
affinity: {}
|
|
|
|
# Priority class
|
|
priorityClassName: ""
|