This commit is contained in:
2026-02-19 15:57:19 +00:00
commit 4299febec3
11 changed files with 289 additions and 0 deletions
+92
View File
@@ -0,0 +1,92 @@
# FleetDM Stack - Values for FleetDM Server, MySQL, and Redis
# Deploy with: helm install fleetdm-stack . -n fleetdm -f values.yaml
global:
namespace: fleetdm
# MySQL configuration
mysql:
enabled: true
auth:
username: fleet
database: fleet
# Override for production: --set mysql.auth.password=YOUR_SECURE_PASSWORD
password: "fleetdm-local-dev"
image:
# Use bitnamilegacy for compatibility (Bitnami free tier moved)
repository: bitnamilegacy/mysql
tag: "8.0.35-debian-12-r2"
primary:
persistence:
enabled: true
size: 8Gi
# Redis configuration
redis:
enabled: true
architecture: standalone
auth:
enabled: false
master:
persistence:
enabled: true
size: 1Gi
image:
repository: bitnamilegacy/redis
tag: "7.2.4-debian-12-r12"
commonConfiguration: |
maxmemory 256mb
maxmemory-policy allkeys-lru
# FleetDM configuration
fleet:
enabled: true
hostName: fleet.localhost
replicas: 1
imageRepository: fleetdm/fleet
imageTag: v4.80.1
# Run fleet prepare db on fresh install (autoApplySQLMigrations)
fleet:
autoApplySQLMigrations: true
mysql:
enabled: false
redis:
enabled: false
# Disable TLS for local dev (ingress can terminate TLS if needed)
tls:
enabled: false
# Connect to our MySQL and Redis subcharts
database:
secretName: fleetdm-stack-mysql
address: fleetdm-stack-mysql:3306
database: fleet
username: fleet
passwordKey: mysql-password
maxOpenConns: 50
maxIdleConns: 50
cache:
address: fleetdm-stack-redis-master:6379
database: "0"
usePassword: false
secretName: ""
passwordKey: ""
# Expose Fleet UI and agent endpoints (reachable by agents)
ingress:
enabled: true
className: nginx
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "10m"
hosts:
- host: fleet.localhost
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# Reduce resources for local dev
resources:
limits:
cpu: 500m
memory: 1Gi
requests:
cpu: 100m
memory: 128Mi