Skip to content

Commit

Permalink
Send logs generated by plugins to stdout (#134)
Browse files Browse the repository at this point in the history
send logs generated by plugins to stdout
  • Loading branch information
fxusyd authored Dec 12, 2023
1 parent 89e7d7d commit 58b6ce6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions releases/xnat/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.1.8
version: 1.1.9

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand All @@ -28,5 +28,5 @@ dependencies:
repository: "https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami"
condition: postgresql.enabled
- name: xnat-web
version: 1.1.8
version: 1.1.9
condition: xnat-web.enabled
2 changes: 1 addition & 1 deletion releases/xnat/charts/xnat-web/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.1.8
version: 1.1.9

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
7 changes: 7 additions & 0 deletions releases/xnat/charts/xnat-web/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,13 @@ spec:
{{- end }}
{{- end }}
{{- end }}
- name: {{ .Chart.Name }}-pluginlogs
image: debian:bullseye-slim
imagePullPolicy: {{ .Values.image.pullPolicy }}
args: ["/bin/bash", "-c", "sleep 60 && tail -f /data/xnat/home/logs/*.log"]
volumeMounts:
- name: xnat-home
mountPath: /data/xnat/home
initContainers:
- name: home-init
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
Expand Down

0 comments on commit 58b6ce6

Please sign in to comment.