feat(elasticsearch): add common.readinessProbe for shared nodeSet probe override
General MR
Summary
Adds an opt-in elasticsearch.common.readinessProbe value. Set it once and the same probe applies to every nodeSet (master, data, ingest, ml, coord). A per-nodeSet readinessProbe still wins if defined.
Default is {}, so nothing renders unless you opt in. Existing users see no diff on upgrade.
Background and full reasoning are in the linked issue below. Short version: ECK's default probe uses exec + nc, which is not portable to hardened images and generates noise in container runtime security tooling. The chart had no clean way to override the probe across all nodeSet types. The only option was per-index post-render kustomize patches, which break when nodeSets are added or reordered.
This puts the override in the chart where it belongs: values-driven, covered by helm unittest, in the README.
Relevant logs/screenshots
helm unittest chart for the elasticsearch suite (now includes three new tests for the readinessProbe injection):
PASS test elasticsearch.yaml chart/tests/elasticsearch_test.yaml
New test cases in chart/tests/elasticsearch_test.yaml:
should not render readinessProbe when both common and per-node are emptyshould apply common.readinessProbe to every nodeSetper-nodeSet readinessProbe should override common.readinessProbe
Downstream consumption replaces a post-render kustomize block that was only patching nodeSets[0] and nodeSets[1]:
elasticsearch:
common:
readinessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 5
failureThreshold: 3
Linked Issue
Upgrade Notices
N/A