12 Commits

Author SHA1 Message Date
91b0f32c79 fix: use correct external DB username and allow dbinit for shared MySQL
- Change database.username from "hades_user" to "mysql_user" to match
  the shared MySQL user created by Backstage environment provisioning
- Remove mysql.enabled=true condition from dbinit job so SQL migrations
  run against external/shared MySQL databases too

Without these fixes, deploying hades with mysql.enabled=false (Backstage
shared MySQL) causes access denied because hades_user doesn't exist in
the shared MySQL, and dbinit is skipped so no tables are created.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-28 14:00:13 +05:30
ca2e78769e fix: run container as root to fix Tomcat directory permission errors
Test-framework pods need write access to Tomcat dirs like webapps,
conf/Catalina, work. Running as root (user 0) permanently fixes this.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 17:20:08 +05:30
4a8d031c87 fix: add configurable tomcatWritableDirs for non-root pod support
hadesV3 runs as non-root user (1000) and can't write to Tomcat dirs.
Added tomcatWritableDirs config to mount emptyDir volumes at paths
like /usr/local/tomcat/conf/Catalina and /usr/local/tomcat/work.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 17:02:47 +05:30
e7899972e2 fix: make config mountPaths configurable to resolve path mismatch
App looks for config at /etc/onlinesales/db/hadesV2/ but was only
mounted at /etc/onlinesales/config/hades/. Now mountPaths is a list
in values.yaml so both paths can be served.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 16:31:56 +05:30
Vaibhav Pathak
3b1918978a init job fix -4 2026-02-24 12:06:42 +05:30
Vaibhav Pathak
e7760fbc42 CR issue fix 2026-02-17 13:40:04 +05:30
Vaibhav Pathak
9a7e4bc8e9 label updated 2026-02-17 11:56:26 +05:30
Vaibhav Pathak
96efc1f62a nginx removed 2026-02-12 17:07:09 +05:30
Vaibhav Pathak
fd05a38585 Updated flow for allhost entry 2026-01-21 15:03:15 +05:30
Vaibhav Pathak
08f2ff746c lable issue fixed 2026-01-19 14:33:56 +05:30
Vaibhav Pathak
8381d4db83 Add ssl-redirect annotation to ingress defaults 2026-01-06 14:06:21 +05:30
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