Anubhav Jindal created IMPALA-15028:
---------------------------------------
Summary: Add automated tests for Impala Helm chart configuration
defaults
Key: IMPALA-15028
URL: https://issues.apache.org/jira/browse/IMPALA-15028
Project: IMPALA
Issue Type: Task
Reporter: Anubhav Jindal
Assignee: Anubhav Jindal
*Problem*
The new Impala Helm chart currently relies on manual validation for several key
behaviors (for example image defaults, port exposure, and config-driven daemon
flags). We need automated coverage to prevent regressions and to make
review/verification repeatable.
*Proposed Change*
Add automated tests for the Helm chart that validate rendered manifests and key
runtime-oriented configuration behavior.
Initial coverage should include:
* Default image prefix renders {{apache/impala:4.5.0-...}} component images.
* Deprecated Beeswax port is not exposed in {{impalad}} deployment/service.
* {{{}catalogd.v{}}}, {{{}impalad.v{}}}, and {{statestored.v}} values
correctly render daemon {{-v}} args (default {{{}1{}}}, overrideable).
* {{catalogd.hmsEventPollingIntervalS}} is rendered correctly, including
compatibility value {{{}0{}}}.
* {{hms.securityContext}} values (e.g. {{{}runAsUser{}}}, {{{}runAsGroup{}}})
render correctly when set.
* Chart lint/template checks are exercised in CI-friendly scripts.
Implementation can use a lightweight chart test framework (or script-based
golden checks) that runs with {{helm lint}} + {{helm template}} assertions.
*Testing*
* Add automated test cases for default and override values.
* Verify tests fail on intentional regressions (e.g., reintroducing Beeswax
port).
* Run tests in local/dev CI environment and include invocation steps in docs.
*Compatibility / Risk*
Low risk. This change adds test coverage only and does not alter runtime
behavior of existing chart defaults.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)