From 288e9ff25a8b95d36d48abacf07c96c280609719 Mon Sep 17 00:00:00 2001 From: Alexander Rogov Date: Sun, 12 Jul 2026 17:42:32 +0300 Subject: [PATCH] fix opensearch readiness probes to use https --- manifests/opensearch/cluster.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/manifests/opensearch/cluster.yaml b/manifests/opensearch/cluster.yaml index ca579ee..f4b0543 100644 --- a/manifests/opensearch/cluster.yaml +++ b/manifests/opensearch/cluster.yaml @@ -34,3 +34,14 @@ spec: limits: cpu: 500m memory: 1Gi + probes: + readiness: + command: + - /bin/bash + - -c + - curl -k -u "$(cat /mnt/admin-credentials/username):$(cat /mnt/admin-credentials/password)" --silent --fail 'https://localhost:9200' + startup: + command: + - /bin/bash + - -c + - curl -k -u "$(cat /mnt/admin-credentials/username):$(cat /mnt/admin-credentials/password)" --silent --fail 'https://localhost:9200'