[Suggestion] - Set Validationquery for Oracle
Zarrewitch opened this issue · comments
Suggestion
Currently the validationQuery for database connections is set to select 1 by default. But when configuring Oracle this leads to database Log-Errors because Oracle needs select 1 from dual as validation Query. https://confluence.atlassian.com/conf76/surviving-database-connection-closures-1018769693.html
By extending the helm Charts e.g. _helpers.tpl this could be avoided/auto-detected.
`{{ if eq .Values.database.type "oracle" }}
- name: ATL_DB_VALIDATIONQUERY
value: select 1 from dual
{{ end }}`
Product
Confluence
Code of Conduct
- I agree to follow this project's Code of Conduct
hi @AlexanderOeser it's a known issue and currently the workaround is to set additional env var in value.yaml (which you know already). I think it'll be addressed soon, or else you're welcome to contribute as well.
@AlexanderOeser We created an internal ticket to handle this suggestion