helm-charts
helm-charts copied to clipboard
Unexpected behavior when using arbitrary elasticsearch visibility index
Expected Behavior
Current temporal helm chart expose elasticsearch visibility index name as a configurable option, see. Expected behavior for user is they can specify arbitrary index name.
Actual Behavior
This setting only works if visibility index starts with temporal_visibility_v1_dev, as shown here
Steps to Reproduce the Problem
- Use random visibilityIndex name in elasticsearch block when starting temporal server
- Start the temporal server along with its dependencies
- Start some random workflow
- Temporal ui workflow list page is empty
Specifications
- Version: v1.25.1
- Platform: darwin arm64
Looks like the code wants temporal_visibility_v1*. This is by design, we should enforce this in the helm chart.
There's a way to validate chart values as shown here: https://www.arthurkoziel.com/validate-helm-chart-values-with-json-schemas/.
Yes i also think that the helm chart is the go to place for deployment value validation. This will resolve this https://github.com/temporalio/temporal/issues/5475 too, i think.