Skip to content

Commit

Permalink
Per-app pid-file for multiple containers (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock authored May 14, 2024
1 parent 6701fc6 commit 0d0767b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/webservice/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: webservice
description: OSC webservice bootstrap Helm Chart
type: application
version: 0.34.3
version: 0.34.4
appVersion: "0.1.0"
maintainers:
- name: treydock
Expand Down
2 changes: 1 addition & 1 deletion charts/webservice/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ tpl $container.name $root }}
name: {{ include "webservice.name" $root }}-{{ tpl $container.name $root }}
labels:
{{- include "webservice.labels" $root | nindent 4 }}
{{- if (include "webservice.alert.receiver" $root) }}
Expand Down
4 changes: 2 additions & 2 deletions charts/webservice/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ defaultArgs:
- "--disable-security-update-check"
- "--disable-anonymous-telemetry"
- "--log-file=/dev/stdout"
- "--pid-file=/tmp/passenger.pid"
- "--pid-file=/tmp/passenger-{{ .name }}.pid"
rshiny:
# Set by PASSENGER_PORT env var
# - "--port={{ .Values.service.port }}"
Expand All @@ -37,7 +37,7 @@ defaultArgs:
- "--disable-security-update-check"
- "--disable-anonymous-telemetry"
- "--log-file=/dev/stdout"
- "--pid-file=/tmp/passenger.pid"
- "--pid-file=/tmp/passenger-{{ .name }}.pid"
- "--app-start-command"
- '{{ index .startCommand | default "R --no-save --slave -f /app/entrypoint.R --args $$PORT" }}'
none: []
Expand Down

0 comments on commit 0d0767b

Please sign in to comment.