fix opensearch readiness probes to use https

This commit is contained in:
Alexander Rogov
2026-07-12 17:42:32 +03:00
parent 951bf4f21a
commit 288e9ff25a

View File

@@ -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'