gcp-hockey-results/motm_app/helm-chart/motm-app/values-development.yaml
2025-10-10 21:10:53 +08:00

130 lines
2.5 KiB
YAML

# Development values for MOTM App
# Use this file for development/staging environments
# Application Configuration
app:
name: motm-app-dev
version: "dev"
# Image Configuration
image:
repository: your-registry/motm-app
tag: "dev" # Use dev tag for development
pullPolicy: Always # Always pull latest dev image
# Resource Limits for Development (lighter)
resources:
limits:
cpu: 200m
memory: 256Mi
requests:
cpu: 50m
memory: 128Mi
# No autoscaling for development
autoscaling:
enabled: false
# Pod Disruption Budget
podDisruptionBudget:
enabled: false
# Security Context (more permissive for development)
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: false # Allow writing for development
runAsNonRoot: true
runAsUser: 1000
# Service Configuration
service:
type: ClusterIP
port: 80
targetPort: 5000
# Ingress Configuration for Development
ingress:
enabled: true
className: "nginx"
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/ssl-redirect: "false" # No SSL for dev
cert-manager.io/cluster-issuer: "letsencrypt-staging"
hosts:
- host: motm-dev.yourdomain.com
paths:
- path: /
pathType: Prefix
tls:
- secretName: motm-app-dev-tls
hosts:
- motm-dev.yourdomain.com
# Database Configuration for Development
database:
type: "postgresql"
host: "postgresql-dev-service"
port: 5432
name: "motm_dev"
username: "motm_user"
# S3 Configuration for Development
s3:
enabled: true
endpoint: "https://s3.amazonaws.com"
region: "us-east-1"
bucket: "motm-assets-dev"
# Environment Variables for Development
env:
FLASK_ENV: "development"
FLASK_APP: "main.py"
FLASK_RUN_HOST: "0.0.0.0"
FLASK_RUN_PORT: "5000"
PYTHONUNBUFFERED: "1"
PYTHONDONTWRITEBYTECODE: "1"
FLASK_DEBUG: "1" # Enable debug mode for development
# Health Checks
healthCheck:
enabled: true
path: "/"
initialDelaySeconds: 10
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 5
# Persistence for Development
persistence:
enabled: true
storageClass: "standard" # Use standard storage class
accessMode: ReadWriteOnce
size: 1Gi
# Monitoring (disabled for development)
monitoring:
enabled: false
# Logging
logging:
level: "DEBUG"
format: "text"
# Labels and Annotations
labels:
environment: "development"
team: "development"
annotations:
deployment.kubernetes.io/revision: "dev"
podLabels:
environment: "development"
podAnnotations:
debug: "true"