From 49a1bb0bb7f7e31ca7efde72bf3f83d54e7eaff0 Mon Sep 17 00:00:00 2001 From: treydock Date: Mon, 17 Jun 2024 15:19:49 -0400 Subject: [PATCH] Use httpGet probe for emt-api (#264) --- charts-private/emt-api/Chart.yaml | 4 ++-- charts-private/emt-api/values.yaml | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/charts-private/emt-api/Chart.yaml b/charts-private/emt-api/Chart.yaml index fc11c38..eeec394 100644 --- a/charts-private/emt-api/Chart.yaml +++ b/charts-private/emt-api/Chart.yaml @@ -2,12 +2,12 @@ apiVersion: v2 name: emt-api description: OSC emt-api web service type: application -version: 0.3.4 +version: 0.4.0 appVersion: v0.1.0 maintainers: - name: treydock dependencies: - name: webservice - version: 0.36.3 + version: 0.37.0 repository: https://osc.github.io/osc-helm-charts/ # repository: file://../../charts/webservice diff --git a/charts-private/emt-api/values.yaml b/charts-private/emt-api/values.yaml index 2f2fa3d..df1b583 100644 --- a/charts-private/emt-api/values.yaml +++ b/charts-private/emt-api/values.yaml @@ -30,11 +30,15 @@ webservice: containers: - name: web startCommand: 'R --no-save --slave -f /app/entrypoint_web.R --args $$PORT' + probePath: / ingressPath: / - name: api startCommand: 'R --no-save --slave -f /app/entrypoint_api.R --args $$PORT' + probePath: /api/healthz ingressPath: /api auth: false + probes: + type: httpGet auth: enable: true skipAuthRoute: "^/api($|/.*)"