Changed mysqlDatabase from "hadesdb" to "hades_db" to match what the migration scripts expect. The 004_hades.sql migration references hades_db database. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
93 lines
2.2 KiB
YAML
93 lines
2.2 KiB
YAML
# Development/Testing values for Hades
|
|
# Override default values for ephemeral test environments
|
|
|
|
replicaCount: 1
|
|
|
|
# Common labels for Backstage Kubernetes plugin discovery
|
|
commonLabels:
|
|
backstage.io/kubernetes-id: "hades-service"
|
|
|
|
image:
|
|
repository: localhost:5001/europe-west1-docker.pkg.dev/os-docker-images/onlinesales/prod/services/java/hadesv2
|
|
pullPolicy: IfNotPresent
|
|
tag: "1764243003606"
|
|
|
|
# Reduced resources for test environments
|
|
resources:
|
|
limits:
|
|
cpu: 1000m
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 250m
|
|
memory: 256Mi
|
|
|
|
# Faster health checks for development
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /schedulerService/jobTrigger?jsonQuery=%7B%22application%22%3A%22nagios%22%2C%22jobName%22%3A%22monitoring_scheduler_svc%22%7D
|
|
port: http
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 20
|
|
timeoutSeconds: 5
|
|
failureThreshold: 3
|
|
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /schedulerService/jobTrigger?jsonQuery=%7B%22application%22%3A%22nagios%22%2C%22jobName%22%3A%22monitoring_scheduler_svc%22%7D
|
|
port: http
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 10
|
|
timeoutSeconds: 3
|
|
failureThreshold: 3
|
|
|
|
# Development environment variables
|
|
env:
|
|
- name: JAVA_OPTS
|
|
value: "-Djava.security.egd=file:/dev/./urandom -Xms256m -Xmx1024m -XX:+UseG1GC"
|
|
- name: CATALINA_OPTS
|
|
value: "-Dconfig.path=/app/config -Denv=development"
|
|
- name: TZ
|
|
value: "UTC"
|
|
- name: LOG_LEVEL
|
|
value: "DEBUG"
|
|
|
|
# No autoscaling in dev
|
|
autoscaling:
|
|
enabled: false
|
|
|
|
# Disable ingress in test environments
|
|
ingress:
|
|
enabled: false
|
|
|
|
# Simple service configuration
|
|
service:
|
|
type: ClusterIP
|
|
port: 8080
|
|
targetPort: 8080
|
|
|
|
# MySQL configuration for dev environments
|
|
# Uses WSO2 MySQL chart (flat structure, not Bitnami nested structure)
|
|
mysql:
|
|
enabled: true
|
|
image: "bitnamilegacy/mysql"
|
|
imageTag: "5.7"
|
|
mysqlRootPassword: "dev-root-password"
|
|
mysqlDatabase: "hades_db"
|
|
mysqlUser: "hades_user"
|
|
mysqlPassword: "dev-hades-password"
|
|
persistence:
|
|
enabled: true
|
|
size: 5Gi
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
requests:
|
|
cpu: 250m
|
|
memory: 256Mi
|
|
|
|
# Database initialization - disabled by default in dev
|
|
# Enable to run SQL migrations from sql/ directory
|
|
dbInit:
|
|
enabled: false
|