From 7245887ab336abd9393feb124c07d52bf76dcc6f Mon Sep 17 00:00:00 2001 From: Ali Behjati Date: Fri, 13 Oct 2023 17:24:48 +0200 Subject: [PATCH] feat(hermes): change liveness to use liveness probe We no longer need to restart when the service is not raedy as the dependencies are going to have proper probes and if they fail hermes will reconnect to them. --- charts/hermes/Chart.yaml | 2 +- charts/hermes/README.md | 2 +- charts/hermes/templates/deployment.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/hermes/Chart.yaml b/charts/hermes/Chart.yaml index 27bcc54..8b2f6b6 100644 --- a/charts/hermes/Chart.yaml +++ b/charts/hermes/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: hermes description: Pyth cross-chain server type: application -version: 0.3.1 +version: 0.3.2 appVersion: v0.3.3 diff --git a/charts/hermes/README.md b/charts/hermes/README.md index da09075..839b985 100644 --- a/charts/hermes/README.md +++ b/charts/hermes/README.md @@ -1,6 +1,6 @@ # hermes -![Version: 0.3.1](https://img.shields.io/badge/Version-0.3.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.3.3](https://img.shields.io/badge/AppVersion-v0.3.3-informational?style=flat-square) +![Version: 0.3.2](https://img.shields.io/badge/Version-0.3.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.3.3](https://img.shields.io/badge/AppVersion-v0.3.3-informational?style=flat-square) Pyth cross-chain server diff --git a/charts/hermes/templates/deployment.yaml b/charts/hermes/templates/deployment.yaml index 39261c2..ee83fbd 100644 --- a/charts/hermes/templates/deployment.yaml +++ b/charts/hermes/templates/deployment.yaml @@ -60,7 +60,7 @@ spec: protocol: TCP livenessProbe: httpGet: - path: /ready + path: /live port: 8080 initialDelaySeconds: 30 periodSeconds: 5