Skip to content

Commit

Permalink
Use httpGet probe for emt-api (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock authored Jun 17, 2024
1 parent e0ec48e commit 49a1bb0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts-private/emt-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions charts-private/emt-api/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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($|/.*)"
Expand Down

0 comments on commit 49a1bb0

Please sign in to comment.