hades-chart/hades/values.yaml
Vaibhav Pathak df359d052c Restructure repo: move chart to hades/ and include MySQL subchart
- Moved helm/hades/* to hades/ to match ArgoCD path: hades
- Included mysql-1.6.9.tgz subchart for ArgoCD dependency resolution
- Fixed sync wave ordering: dbinit wave 0, deployment wave 1
2026-01-05 17:59:13 +05:30

167 lines
3.7 KiB
YAML

# Default values for hades
# Allow non-Bitnami images in MySQL subchart
global:
security:
allowInsecureImages: true
replicaCount: 1
# Common labels to add to all resources
# These labels will be applied to all hades resources and MySQL pods
commonLabels: {}
# Example usage:
# backstage.io/kubernetes-id: "hades-service"
image:
repository: localhost:5001/prj-onlinesales-prod-01/os-docker-images/onlinesales/prod/services/java/hadesv2
pullPolicy: IfNotPresent
tag: "1764590200722"
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
create: true
annotations: {}
name: ""
podAnnotations: {}
podSecurityContext:
fsGroup: 1000
securityContext:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: false
runAsNonRoot: true
runAsUser: 1000
service:
type: ClusterIP
port: 8080
targetPort: 8080
annotations: {}
ingress:
enabled: false
className: ""
annotations: {}
hosts:
- host: hades.local
paths:
- path: /
pathType: Prefix
tls: []
resources:
limits:
cpu: 2000m
memory: 2Gi
requests:
cpu: 500m
memory: 512Mi
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
livenessProbe:
httpGet:
path: /schedulerService/jobTrigger?jsonQuery=%7B%22application%22%3A%22nagios%22%2C%22jobName%22%3A%22monitoring_scheduler_svc%22%7D
port: http
initialDelaySeconds: 60
periodSeconds: 30
timeoutSeconds: 10
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: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
env:
- name: JAVA_OPTS
value: "-Djava.security.egd=file:/dev/./urandom -XX:+UnlockExperimentalVMOptions -Xms512m -Xmx2048m -XX:+UseG1GC"
- name: CATALINA_OPTS
value: "-Dconfig.path=/app/config"
- name: TZ
value: "UTC"
# Database configuration
database:
# Use internal MySQL (deployed as subchart) or external database
# If mysql.enabled=true, these values are auto-configured
host: "" # Will be set to mysql.fullname if mysql.enabled=true
port: "3306"
name: "hades_db"
username: "hades_user"
password: "" # Leave empty to auto-generate
# For external database, set mysql.enabled=false and configure above values
# MySQL subchart configuration (WSO2 Helm Chart)
mysql:
enabled: true
image: "mysql"
imageTag: "8.0"
mysqlRootPassword: "" # Auto-generated if empty
mysqlDatabase: "hades_db"
mysqlUser: "hades_user"
mysqlPassword: "" # Auto-generated if empty
fullnameOverride: "hades-mysql-db-service"
# Pod labels for MySQL pods (used to pass commonLabels to MySQL subchart)
podLabels: {}
persistence:
enabled: true
size: 8Gi
resources:
limits:
cpu: 1000m
memory: 1Gi
requests:
cpu: 250m
memory: 512Mi
livenessProbe:
initialDelaySeconds: 120
readinessProbe:
initialDelaySeconds: 120
configurationFiles:
mysql.cnf: |-
[mysqld]
max_connections = 200
character-set-server=utf8mb4
collation-server=utf8mb4_unicode_ci
default_authentication_plugin=mysql_native_password
log-bin-trust-function-creators=1
# Database initialization
# Automatically runs all SQL migration files from sql/ directory in alphabetical order
dbInit:
enabled: true
# ConfigMap for application configuration files
config:
enabled: true
# Add your configuration files here
# files:
# hades.cfg: |
# # Hades configuration
# hibernate.cfg.xml: |
# <!-- Hibernate configuration -->
nodeSelector: {}
tolerations: []
affinity: {}